Skip to content
Commit 74a353ff authored by Lei Guo's avatar Lei Guo Committed by Alex Deucher
Browse files

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: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarLei Guo <raykwok1150@163.com>
Reviewed-by: default avatarJunwei Zhang <zjunweihit@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f503fe69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment