drm/radeon/atpx: drop forcing of dGPU power control
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2016 19:13:24 +0000 (15:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:06 +0000 (14:51 -0400)
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>
drivers/gpu/drm/radeon/radeon_atpx_handler.c

index 51da319db14a434b153c32be90e8653bdea9fac3..6996b316d5c5fc4eab39eddefc48fa03071ef2f6 100644 (file)
@@ -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;