]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: fix typo in mvdd table setup
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Oct 2019 21:10:24 +0000 (16:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:35:41 +0000 (19:35 -0500)
commit4b54c665d3d19942ed00de74a242a08e9ad18866
treefd4cf0f31eac6e70ebe18372d6c2f1d3128170e3
parent48c17c851fea61fdc8d8e63e6818e95b34a4776a
drm/amdgpu/powerplay: fix typo in mvdd table setup

Polaris and vegam use count for the value rather than
level.  This looks like a copy paste typo from when
the code was adapted from previous asics.

I'm not sure that the SMU actually uses this value, so
I don't know that it actually is a bug per se.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=108609
Reported-by: Robert Strube <rstrube@gmail.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c