]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/amdgpu_smu: convert to IP version checking
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 20:26:31 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:59 +0000 (15:22 -0400)
commit342641a45376c631c11a20b89045d5352938cdaf
tree8ae585cbb91e229b5bdd45cc12998ddd32bea0b8
parentfcdc78adec52e3ed2341fb13ac6f2e7754753252
drm/amdgpu/amdgpu_smu: convert to IP version checking

Use IP versions rather than asic_type to differentiate
IP version specific features.

v2: rebase
v3: switch some if statements to switch statements
v4: add yellow carp fix (Yifan)
v5: squash in fixes for YC and GS (Alex)

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c