aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorShiwu Zhang <[email protected]>2022-11-11 15:54:52 +0800
committerAlex Deucher <[email protected]>2023-06-09 09:48:52 -0400
commit37dd9d58a595f4cda5a7f01703592cc4e00f69b4 (patch)
treef1ce988e8b5439309207f8515c2b97b52851ac9e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parentcbd442ce91bdeb8f618511d65e674894a80e4c31 (diff)
drm/amdgpu: fix kcq mqd_backup buffer double free for multi-XCD
For gfx_v9_4_3 and beyond, struct kiq has its own mqd_backup pointer rather than using the last pointer from mec struct. Then the kfree operation on the pointer from the mec struct should be removed otherwise it will cause double free on the first kcq's mqd_backup buffer on XCD1. Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Le Ma <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
0 files changed, 0 insertions, 0 deletions