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
This commit is contained in:
Alex Deucher
2014-04-10 22:29:01 -04:00
committed by Christian König
parent 57700ad1f2
commit 90c4cde9d5
6 changed files with 27 additions and 34 deletions

View File

@@ -59,7 +59,7 @@ struct atpx_mux {
u16 mux;
} __packed;
bool radeon_is_px(void) {
bool radeon_has_atpx(void) {
return radeon_atpx_priv.atpx_detected;
}