]> 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)
commit910ab9eee0f61a243126d70e932e1301b5437583
tree365ca5a76b5a55d2712f3f5ddca79403470b6324
parent7b471c32e4cbfdd7a673b79321f6a26abecbf33b
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