aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorHaohui Mai <[email protected]>2022-04-25 08:56:05 +0000
committerAlex Deucher <[email protected]>2022-04-26 15:44:09 +0000
commit428f273cbb3f1349d27716bce0d7bd4dbfb4837f (patch)
treeba017013f67ce2a8b471e2306b707649eb4d23ef /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu/sdma: Remove redundant lower_32_bits() calls when settings SDMA do... (diff)
downloadkernel-428f273cbb3f1349d27716bce0d7bd4dbfb4837f.tar.gz
kernel-428f273cbb3f1349d27716bce0d7bd4dbfb4837f.zip
drm/amdgpu: Fix out-of-bound access for gfx_v10_0_ring_test_ib()
The gfx_v10_0_ring_test_ib() function uses 20 bytes instead of 16 bytes during the test. The patch sets the size of the allocation to be 4-byte larger to match the actual usage. Reviewed-by: Christian König <[email protected]> Signed-off-by: Haohui Mai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions