]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/smu: Increace dpm level count only for smu v13.0.2
authorLikun Gao <Likun.Gao@amd.com>
Fri, 29 Apr 2022 04:03:53 +0000 (12:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:53:02 +0000 (09:53 -0400)
commit7cc179441ca644e17e6a896c50a2479b86926d5b
tree24ed2b522c55dc4bf362d08b90dfa3c8620dc187
parent26ad85eb679ee41a11709d9a825b9b4b122a1c48
drm/amd/smu: Increace dpm level count only for smu v13.0.2

Only V13.0.2 on SMU v13 will get 0 based max level from fw and
increment by one, other ASIC will not need for this.
V2: replace the asic_type check with ip versioning check.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c