drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
authorSergei Lopatin <magist3r@gmail.com>
Wed, 26 Jun 2019 09:56:59 +0000 (14:56 +0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 21:01:38 +0000 (17:01 -0400)
commit8c7f0a44b4b4ef16df8f44fbaee6d1f5d1593c83
treef67ada747096550926516a1da14ae8ba560889ff
parentbfa5807d4db98dd58ce6b69607e8655dcdbbabbd
drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled

Should prevent flicker if PP_OVERDRIVE_MASK is set.

bug: https://bugs.freedesktop.org/show_bug.cgi?id=102646
bug: https://bugs.freedesktop.org/show_bug.cgi?id=108941
bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1088
bug: https://gitlab.freedesktop.org/drm/amd/-/issues/628

Signed-off-by: Sergei Lopatin <magist3r@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c