commit | 5bcf719b7db0f9366cedaf102b081f99b1c325ae | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Tue Dec 07 09:20:40 2010 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Jan 05 13:45:30 2011 +1000 |
tree | 6929d42e1d61a3b1bd7b130a37a80b99718e14aa | |
parent | 8d608aa6295242fe4c4b6105b8c59c6a5b232d89 [diff] |
drm/switcheroo: track state of switch in drivers. We need to track the state of the switch in drivers, so that after s/r we don't resume the card we've explicitly switched off before. Also don't allow a userspace open to occur if we've switched the gpu off. Signed-off-by: Dave Airlie <airlied@redhat.com>