commit | adbbdbac04f093c0abf946b1e93e4e5291808491 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Wed Mar 26 14:09:37 2014 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Thu Mar 27 02:20:37 2014 +0000 |
tree | 8c54c687948f03ff4a261550c9e5bd454fe6aab0 | |
parent | 347cf10aed1657a2b385a95f92763a67062c5ad3 [diff] |
drm/nouveau: fail runtime pm properly. If we were on a non-optimus device, we'd return -EINVAL, this would lead to the over engineered runtime pm system to go into an error state, subsequent get_sync's would fail, so we'd never be able to open the device again. (like really get_sync shouldn't fail if the device isn't powered down). Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>