aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2021-12-16 15:59:29 +0000
committerAlex Deucher <[email protected]>2022-03-02 23:40:05 +0000
commit38abd56bed580c98e4284a578380f5f70634a0fd (patch)
tree99ee5a849ab2eb9b133870dc0d83c978b254afd5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentRevert "drm/amdkfd: process_info lock not needed for svm" (diff)
downloadkernel-38abd56bed580c98e4284a578380f5f70634a0fd.tar.gz
kernel-38abd56bed580c98e4284a578380f5f70634a0fd.zip
drm/amdkfd: Correct SMI event read size
sizeof(buf) is 8 bytes because it is defined as unsigned char *buf, each SMI event read only copy max 8 bytes to user buffer. Correct this by using the buf allocate size. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions