提交 410ca8d1 编写于 作者: A Alex Deucher

drm/radeon/atpx: drop forcing of dGPU power control

Now that we handle this correctly, there is no need to force
it.
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Acked-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 f7ea4189
...@@ -193,11 +193,6 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx) ...@@ -193,11 +193,6 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx)
if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) { if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) {
printk("Hybrid Graphics, ATPX dGPU power cntl disabled\n"); printk("Hybrid Graphics, ATPX dGPU power cntl disabled\n");
atpx->functions.power_cntl = false; 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; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册