]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Apr 2016 12:53:28 +0000 (06:53 -0600)
commit63948e6d8e53e4e7163d1578d034f62d63f30f56
treec6f1b1be6941f935df76ea13c30b1245923ff96b
parentaa9bae4f876bf221095fd9e75c62bcc3b7391312
drm/radeon: disable runtime pm on PX laptops without dGPU power control

BugLink: http://bugs.launchpad.net/bugs/1572722
commit e64c952efb8e0c15ae82cec8e455ab4910690ef1 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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c
drivers/gpu/drm/radeon/radeon_device.c