mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue