drm/amdgpu: add asd fw check before loading asd
authorTao Zhou <tao.zhou1@amd.com>
Tue, 28 Jul 2020 04:44:59 +0000 (12:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:19 +0000 (16:40 -0400)
commitc56c90f41343c0ec9606d7d297110ecc84c7f891
treefc7d55afae639d02db6779446dca3a462eb40572
parent9ddcbf1f4c2d8dadd577c7ee5ae3a5168ebfae96
drm/amdgpu: add asd fw check before loading asd

asd is not ready for some ASICs in early stage, and psp->asd_fw is more generic than ASIC name in the check.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c