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)
commit02fc146748a2c73279298513a629214d3947022e
treefd4cf0f31eac6e70ebe18372d6c2f1d3128170e3
parentb9ed69e6fd664d88cf6d8f9623eb3a0d08387b7c
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