drm/radeon: don't allow runpm=1 on systems with out ATPX
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 15 Apr 2014 16:44:35 +0000 (12:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:14 +0000 (10:28 -0700)
commit58ae7e523bd6bfb185518ad4171225ef8c1cb930
tree393b25be7e65325b72655a5b08f26dffdc63492b
parentc530d3e43f61db68b29e9c2e6d5aa8fd073ca79d
drm/radeon: don't allow runpm=1 on systems with out ATPX

commit 73acacc7397fe854ed2ab75f1c940fa00faaf15e upstream.

vgaswitcheroo and the ATPX ACPI methods are required to
power down the dGPU.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=73901

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_kms.c