]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix one list corruption when create queue fails
authorxinhui pan <xinhui.pan@amd.com>
Thu, 7 Jul 2022 10:20:00 +0000 (18:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2022 19:55:56 +0000 (15:55 -0400)
commit3131bb5541e6a664d1d82e7be90631b671e9c5fe
tree388b13be90a6f8e978e7806b8fa21627c6f745ac
parent34f45aefe827b42da2a969cf476bd8cb2e5a40a2
drm/amdgpu: Fix one list corruption when create queue fails

Queue would be freed when create_queue_cpsch fails
So lets do queue cleanup otherwise various list and memory issues
happen.

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