drm/radeon: fix runpm handling on APUs (v4)
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 11 Apr 2014 02:29:01 +0000 (22:29 -0400)
committerChristian König <christian.koenig@amd.com>
Thu, 17 Apr 2014 11:59:38 +0000 (13:59 +0200)
commit90c4cde9d5a2bb6239cb3e253bb3832ed89dc75c
treeb4a0f87eee618de1fb021e8019a9cda9f1b64b2a
parent57700ad1f2f21d5d7ab7ee0e58d11b5954852434
drm/radeon: fix runpm handling on APUs (v4)

Don't try and runtime suspend the APU in PX systems.  We
only want to power down the dGPU.

v2: fix harder
v3: fix stupid typo
v4: consolidate runpm enablement to a single flag

bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=75127
https://bugzilla.kernel.org/show_bug.cgi?id=72701

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_atpx_handler.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_family.h
drivers/gpu/drm/radeon/radeon_kms.c