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 19:27:52 +0000 (15:27 -0400)
commit14e4f3bd818a216dc85ab5ec9a33c49357a6369b
tree0eabfa72e3830d2db7d20c82e14436f96e3be5c3
parentcba4b52e431e5de3d8012281cfe194f1c39a9052
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