Commit 58829aa6 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/cz: store the forced dpm level



So the selected forced level shows up properly in sysfs.

Reviewed-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 85cfe096
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1717,6 +1717,8 @@ static int cz_dpm_force_dpm_level(struct amdgpu_device *adev,
		break;
	}

	adev->pm.dpm.forced_level = level;

	return ret;
}