]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: only init tap_delay ucode when it's included in ucode binary
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 30 Aug 2022 07:47:47 +0000 (15:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2022 21:10:18 +0000 (17:10 -0400)
commit71a32f58f9a3d3072fd42e5099606bfd90945d1e
tree365ca5a76b5a55d2712f3f5ddca79403470b6324
parent22addc546ad9592e9b01b1b9b54bb9220adc3b60
drm/amdgpu: only init tap_delay ucode when it's included in ucode binary

Not all the gfx10 variants need to integrate
global tap_delay and per se tap_delay firmwares

Only init tap_delay ucode when it does include in
rlc ucode binary so driver doesn't send a null buffer
to psp for firmware loading

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c