diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 8712a2e1b869feb98ac5028d5da1e685233094c4..0ce82686c983e638807b94b1c7e7b4a30b397560 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -470,7 +470,7 @@ int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring, return -ENOMEM; /* No need to setup the GPU scheduler for KIQ and MES ring */ - if (ring->funcs->type != AMDGPU_RING_TYPE_KIQ || + if (ring->funcs->type != AMDGPU_RING_TYPE_KIQ && ring->funcs->type != AMDGPU_RING_TYPE_MES) { switch (ring->funcs->type) { case AMDGPU_RING_TYPE_GFX: