drm/amdkfd: Fix MEC pipe interrupt enablement
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 29 May 2023 13:48:54 +0000 (19:18 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:31:35 +0000 (12:31 -0400)
commitb695c97b580a1949d0dd96aa17b01d4de738eda3
treeca165aedd89ba7a332eaf47670f32a0ea986f64c
parent07a1475279244cd8eea81bec44fd5f0a9d6871f8
drm/amdkfd: Fix MEC pipe interrupt enablement

for_each_inst modifies xcc_mask and therefore the loop doesn't
initialize properly interrupts on all pipes. Keep looping through xcc as
the outer loop to fix this issue.

Fixes: c4050ff1a43e ("drm/amdkfd: Use xcc mask for identifying xcc")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c