drm/amdgpu: fix sdma instance fw version and feature version init
authorStanley.Yang <Stanley.Yang@amd.com>
Mon, 7 Dec 2020 06:38:33 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:05:29 +0000 (23:05 -0500)
commit92c415a3e2abe0830b1395dc27c0c4edf95c76b0
tree54467f9b075b88c18b707bcf51a85d2c2ff7d5e7
parent3755ff54c5339140662e4c71b1e4e083e40ff5d4
drm/amdgpu: fix sdma instance fw version and feature version init

each sdma instance fw_version and feature_version
should be set right value when asic type isn't
between SIENNA_CICHILD and CHIP_DIMGREY_CAVEFISH

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c