summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-06-01 15:13:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 14:51:06 -0400
commit410ca8d13b89761cac3cb637ea7670377c620538 (patch)
tree5de7a4f27ce800e3e8794b3ce860aae17cb65162
parentf7ea4189725b5e1ba00f31441944bf6910dfbbf5 (diff)
downloadlinux-410ca8d13b89761cac3cb637ea7670377c620538.tar.bz2
drm/radeon/atpx: drop forcing of dGPU power control
Now that we handle this correctly, there is no need to force it. 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>
-rw-r--r--drivers/gpu/drm/radeon/radeon_atpx_handler.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index 51da319db14a..6996b316d5c5 100644
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@ -193,11 +193,6 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx)
if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) {
printk("Hybrid Graphics, ATPX dGPU power cntl disabled\n");
atpx->functions.power_cntl = false;
- } else if (atpx->functions.power_cntl == false) {
- /* make sure required functions are enabled */
- /* dGPU power control is required */
- printk("ATPX dGPU power cntl not present, forcing\n");
- atpx->functions.power_cntl = true;
}
return 0;