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 20:36:07 +0000 (16:36 -0400)
commitd5f476edc5b58916d05a7a5b87fa8ecc9d847f71
tree01761f929c1e41937ca79c75c6595c18d171e7be
parentb3235e8635e1dd7ac1a27a73330e9880dfe05154
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