OSDN Git Service

drm/amd: Convert SDMA to use `amdgpu_ucode_ip_version_decode`
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 28 Dec 2022 07:24:19 +0000 (01:24 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Jan 2023 22:02:17 +0000 (17:02 -0500)
commit1336b4e72c4c402ca31436e4fff6c085da26057a
tree7f8d3b5a7b195d5c24aa3820a0c78f36cde521ff
parente43229824d5bdd8dc0c2ea5b16f79b01ed2cd843
drm/amd: Convert SDMA to use `amdgpu_ucode_ip_version_decode`

Simplifies the code so that all SDMA versions will get the firmware
name from `amdgpu_ucode_ip_version_decode`.

v2: squash in fix from Srinivasan

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c