drm/amdgpu/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>
This commit is contained in:
parent
7e32aa611b
commit
d85555f885
1 changed files with 0 additions and 5 deletions
|
@ -195,11 +195,6 @@ static int amdgpu_atpx_validate(struct amdgpu_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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue