commit | 90c4cde9d5a2bb6239cb3e253bb3832ed89dc75c | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Thu Apr 10 22:29:01 2014 -0400 |
committer | Christian König <christian.koenig@amd.com> | Thu Apr 17 13:59:38 2014 +0200 |
tree | b4a0f87eee618de1fb021e8019a9cda9f1b64b2a | |
parent | 57700ad1f2f21d5d7ab7ee0e58d11b5954852434 [diff] [blame] |
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
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index fa9a9c0..dedea72 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@ -59,7 +59,7 @@ u16 mux; } __packed; -bool radeon_is_px(void) { +bool radeon_has_atpx(void) { return radeon_atpx_priv.atpx_detected; }