diff options
| author | Philip Yang <[email protected]> | 2021-12-16 15:59:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-03-02 23:40:05 +0000 |
| commit | 38abd56bed580c98e4284a578380f5f70634a0fd (patch) | |
| tree | 99ee5a849ab2eb9b133870dc0d83c978b254afd5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | Revert "drm/amdkfd: process_info lock not needed for svm" (diff) | |
| download | kernel-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
