提交 51450501 编写于 作者: L Likun Gao 提交者: Alex Deucher

drm/amdgpu: skip GPU scheduler setup for KIQ and MES ring

Fix the coding error to skip GPU scheduler setup for KIQ and MES ring.
Signed-off-by: NLikun Gao <Likun.Gao@amd.com>
Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 fc17cd3f
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册