aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorLikun Gao <[email protected]>2022-04-12 20:57:45 +0000
committerAlex Deucher <[email protected]>2022-05-04 14:43:54 +0000
commitaca670e41f9fe52176040553f174d517cbd69da9 (patch)
treef7849140a346ee01cca698324aebfe6200984b87 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amd/amdgpu: add more fw load type to fit new ASICs (diff)
downloadkernel-aca670e41f9fe52176040553f174d517cbd69da9.tar.gz
kernel-aca670e41f9fe52176040553f174d517cbd69da9.zip
drm/amdgpu: fix the fw size for sdma
For SDMA, if use the total size of SDMA TH0 and TH1 to allocate fw BO may result to the ucode data overflow when copy ucode to BO as the PAGE alignment. IMU have the same issue. Fix the above issue by alignment the fw size per fw ID. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions