]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: correct the memcpy size for ip discovery firmware
authorLe Ma <le.ma@amd.com>
Tue, 6 Sep 2022 07:07:53 +0000 (15:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:44:02 +0000 (09:44 -0400)
commit04b3cf187bf43a227be01d227117bbd82661cda5
treec102251ee451c04e5809644d6dcaa01542713001
parentee91dcc21af1e7d71094702f2a4eae3bb0f95cab
drm/amdgpu: correct the memcpy size for ip discovery firmware

Use fw->size instead of discovery_tmr_size for fallback path.

Signed-off-by: Le Ma <le.ma@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c