drm/amdgpu: add generic func to check if ta fw is applicable
authorLe Ma <le.ma@amd.com>
Fri, 25 Oct 2024 09:43:57 +0000 (17:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2024 20:41:13 +0000 (16:41 -0400)
commitea9d8863daa93f2bfd39ce820254a788b1fe0c1f
tree5592f3b1409749bc2a8a68c0350e18e384f26eb8
parentd5e3d8a2a6cb8b8c8678e60ae8067c18ffbc2da2
drm/amdgpu: add generic func to check if ta fw is applicable

Separated xgmi ta is required for specific APU, and driver needs
parse the ta binary properly with aux xgmi ta packed.

v2: make the check function more generic (Lijo)

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@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_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h