From: Alvin Lee <[email protected]>

[Description]
- Alt-Ch cannot be enabled until all dependncies are ready (SMU needs
  to support double p-state + IFWI needs to support G7 regions
  enabled).
- If PMFW enables UCLK DPM without double p-state support and alt-ch
  is enabled then hangs could occur

Reviewed-by: Dillon Varone <[email protected]>
Signed-off-by: Alvin Lee <[email protected]>
Signed-off-by: Ivan Lipsi <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c 
b/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
index 7171b237c4278..d7947105af223 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
@@ -671,6 +671,8 @@ static const struct dc_debug_options debug_defaults_drv = {
                }
        },
        .force_cositing = CHROMA_COSITING_NONE + 1,
+       .dml21_disable_pstate_method_mask = 0x20, // disable alt-ch 
unconditionally until dependencies are ready
+
 };
 
 static const struct dc_check_config config_defaults = {
-- 
2.43.0

Reply via email to