aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
index accc908bdc88..4656ad697154 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -1135,7 +1135,7 @@ void amdgpu_dpm_enable_vce(struct amdgpu_device *adev, bool enable)
1135 mutex_lock(&adev->pm.mutex); 1135 mutex_lock(&adev->pm.mutex);
1136 adev->pm.dpm.vce_active = true; 1136 adev->pm.dpm.vce_active = true;
1137 /* XXX select vce level based on ring/task */ 1137 /* XXX select vce level based on ring/task */
1138 adev->pm.dpm.vce_level = AMDGPU_VCE_LEVEL_AC_ALL; 1138 adev->pm.dpm.vce_level = AMD_VCE_LEVEL_AC_ALL;
1139 mutex_unlock(&adev->pm.mutex); 1139 mutex_unlock(&adev->pm.mutex);
1140 } else { 1140 } else {
1141 mutex_lock(&adev->pm.mutex); 1141 mutex_lock(&adev->pm.mutex);