drm/amdgpu: disable runtime pm on PX laptops without dGPU power control

commit bedf2a65c1 upstream.

Some PX laptops don't provide an ACPI method to control dGPU power.  On
those systems, the driver is responsible for handling the dGPU power
state.  Disable runtime PM on them until support for this is implemented.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alex Deucher 2016-03-02 12:10:20 -05:00 • committed by Greg Kroah-Hartman
commit 5b5abb9b85
2 changed files with 11 additions and 5 deletions