drm/amdkfd: Walk through list with dqm lock hold
authorxinhui pan <xinhui.pan@amd.com>
Tue, 15 Jun 2021 07:11:07 +0000 (15:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Jun 2021 21:14:13 +0000 (17:14 -0400)
commit56f221b6389e7ab99c30bbf01c71998ae92fc584
tree65f2996f920421af7a4faf6ee1ff032950bdf6ea
parent376002f4b028504a07868f7ee96ad41e0f69ae09
drm/amdkfd: Walk through list with dqm lock hold

To avoid any list corruption.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c