diff options
| author | 2020-06-16 10:03:27 -0400 | |
|---|---|---|
| committer | 2020-07-01 01:59:22 -0400 | |
| commit | 74a353ffa0d49827fe19d71b2d6b18d11325806a (patch) | |
| tree | 8389588967780760ed46f5572704bde2ddcd604a /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amdgpu: fix documentation around busy_percentage (diff) | |
| download | wireguard-linux-74a353ffa0d49827fe19d71b2d6b18d11325806a.tar.xz wireguard-linux-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 <evan.quan@amd.com>
Signed-off-by: Lei Guo <raykwok1150@163.com>
Reviewed-by: Junwei Zhang <zjunweihit@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
