diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c index 7b11af1d8c4f..90dfedc5a5ca 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | |||
@@ -195,11 +195,6 @@ static int amdgpu_atpx_validate(struct amdgpu_atpx *atpx) | |||
195 | if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) { | 195 | if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) { |
196 | printk("Hybrid Graphics, ATPX dGPU power cntl disabled\n"); | 196 | printk("Hybrid Graphics, ATPX dGPU power cntl disabled\n"); |
197 | atpx->functions.power_cntl = false; | 197 | atpx->functions.power_cntl = false; |
198 | } else if (atpx->functions.power_cntl == false) { | ||
199 | /* make sure required functions are enabled */ | ||
200 | /* dGPU power control is required */ | ||
201 | printk("ATPX dGPU power cntl not present, forcing\n"); | ||
202 | atpx->functions.power_cntl = true; | ||
203 | } | 198 | } |
204 | 199 | ||
205 | return 0; | 200 | return 0; |