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 15:06:39 +0000 (10:06 -0500)
commit6896887b8676d8fb445c85ea56333b9661a6a8aa
treec98a88cc835a062cbbd09421b8a7eec37fe1b223
parent369b7ebe1792b620b7a9404e7b71daaae13ebfd6
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c