drm/amd/display: Clear FAMS flag if FAMS doesn't reduce vlevel
authorAlvin Lee <Alvin.Lee2@amd.com>
Tue, 21 Mar 2023 17:35:44 +0000 (13:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:35 +0000 (18:03 -0400)
commitabaeafb1b1fbeeb9e18638c6edbe9db31750c163
treec0e2e915bda10aa0d1f4cf79887b29fc8e524d8c
parent9eb28ac1a25a2117ea5544ffcce59fcc1f128e1f
drm/amd/display: Clear FAMS flag if FAMS doesn't reduce vlevel

[Description]
- If we find that applying FAMS doesn't reduce the voltage level,
  we will not use it
- Ensure to clear the stream flags indicating FAMS if we hit this
  case

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c