Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d85555f8 authored by Alex Deucher's avatar Alex Deucher
Browse files

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



Now that we handle this correctly, there is no need to force
it.

Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7e32aa61
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -195,11 +195,6 @@ static int amdgpu_atpx_validate(struct amdgpu_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;