drm/radeon: fix runtime suspend breaking secondary GPUs
authorDave Airlie <airlied@redhat.com>
Thu, 27 Mar 2014 04:09:18 +0000 (14:09 +1000)
committerChristian König <christian.koenig@amd.com>
Thu, 3 Apr 2014 10:35:41 +0000 (12:35 +0200)
commit1d8eec8ba4a38fcee9d30e4fb5b3d67a9bff9db3
tree158b103ad2f7e5e5026eb4a4619545963450cea1
parent06a139f7a0885fa2c84962300edd181821ddc2c9
drm/radeon: fix runtime suspend breaking secondary GPUs

Same fix as for nouveau, when we fail with EINVAL, subsequent
gets fail hard, causing the device not to open.

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