mirror of
https://github.com/torvalds/linux.git
synced 2026-08-02 05:12:01 +02:00
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: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fc17cd3f71
commit
514505014c
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user