drm/radeon: clean up atpx power control handling
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2016 16:47:38 +0000 (12:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:04 +0000 (14:51 -0400)
commit305e12d0e24b942044cbb6f0f67a860635c597d3
treedccb8dd5f661b8758c900316a8b7115127a481fe
parentcf26f9081fd7412f19a836af47567e680fcd269d
drm/radeon: clean up atpx power control handling

The presence of the power control method should be determined
via the presence of the method in function 0.  However, some
sbioses only set the appropriate bits in function 1 so use
then to override a missing power control function.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c