aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorDong Chenchen <[email protected]>2022-11-10 14:33:14 +0000
committerAlex Deucher <[email protected]>2022-11-10 20:30:34 +0000
commit2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 (patch)
treeb69907b675ff94bd38fa8478db2187e931ffdeee /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/amd/display: delete the duplicate .set_odm_bypass initialization in dcn31... (diff)
downloadkernel-2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3.tar.gz
kernel-2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3.zip
drm/amdgpu: Fix memory leak in amdgpu_cs_pass1
When p->gang_size equals 0, amdgpu_cs_pass1() will return directly without freeing chunk_array, which will cause a memory leak issue, this patch fixes it. Fixes: 4624459c84d7 ("drm/amdgpu: add gang submit frontend v6") Reviewed-by: Luben Tuikov <[email protected]> Signed-off-by: Dong Chenchen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions