Map UMD priority level to properly to drm sched priorrity. Signed-off-by: Satyajit Sahu <satyajit.sahu@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index b7d861ed5284..6ae0b723ffd7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -37,7 +37,7 @@ int amdgpu_to_sched_priority(int amdgpu_priority, { switch (amdgpu_priority) { case AMDGPU_CTX_PRIORITY_VERY_HIGH: - *prio = DRM_SCHED_PRIORITY_HIGH; + *prio = DRM_SCHED_PRIORITY_VERY_HIGH; break; case AMDGPU_CTX_PRIORITY_HIGH: *prio = DRM_SCHED_PRIORITY_HIGH; -- 2.25.1