drm/radeon: disable runtime pm on PX laptops without dGPU power control
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:47:29 +0000 (11:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Mar 2016 18:03:19 +0000 (13:03 -0500)
commite64c952efb8e0c15ae82cec8e455ab4910690ef1
tree02c5e48e7925e0cf8ff6e307279ef56d756a820f
parent92821c261d1f0ca250b7cff4e4bbcc58d8530f90
drm/radeon: disable runtime pm on PX laptops without dGPU power control

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_atpx_handler.c
drivers/gpu/drm/radeon/radeon_device.c