diff options
| author | Lei Guo <[email protected]> | 2020-06-16 14:03:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 05:59:22 +0000 |
| commit | 74a353ffa0d49827fe19d71b2d6b18d11325806a (patch) | |
| tree | 8389588967780760ed46f5572704bde2ddcd604a /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: fix documentation around busy_percentage (diff) | |
| download | kernel-74a353ffa0d49827fe19d71b2d6b18d11325806a.tar.gz kernel-74a353ffa0d49827fe19d71b2d6b18d11325806a.zip | |
drm/amdgpu/gfx9: Fix incorrect firmware size calculation
[WHY]
The memcpy() function copies n bytes from memory area src to memory area
dest. So specify the firmware size in bytes.
[How]
Correct the calculation.
Acked-by: Evan Quan <[email protected]>
Signed-off-by: Lei Guo <[email protected]>
Reviewed-by: Junwei Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
