drm/radeon: don't allow device to be opened if powered down
authorDave Airlie <airlied@redhat.com>
Wed, 22 Sep 2010 02:31:46 +0000 (12:31 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 22 Sep 2010 02:32:46 +0000 (12:32 +1000)
commit5222454cf941b09205d502242dd1e44fd62aa551
tree9d172d1e6e98ada8c1fc52383e0c9aac1ab7b34d
parent1ce1e41c1b61a992077bd1c45c6c3fd6a8b10c02
drm/radeon: don't allow device to be opened if powered down

If the switcheroo has switched the device off, don't let X open it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_kms.c