drm/amd/display: Disable PSR-SU on eDP panels
authorTom Chung <chiahsuan.chung@amd.com>
Thu, 6 Feb 2025 03:31:23 +0000 (11:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 16:44:01 +0000 (11:44 -0500)
[Why]
PSR-SU may cause some glitching randomly on several panels.

[How]
Temporarily disable the PSR-SU and fallback to PSR1 for
all eDP panels.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3388
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Sun peng Li <sunpeng.li@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c

index 45858bf1523d8f6e8922aa087d98e310e02cd129..e140b7a04d7246952d7b4512ad267113449bd642 100644 (file)
@@ -54,7 +54,8 @@ static bool link_supports_psrsu(struct dc_link *link)
        if (amdgpu_dc_debug_mask & DC_DISABLE_PSR_SU)
                return false;
 
-       return dc_dmub_check_min_version(dc->ctx->dmub_srv->dmub);
+       /* Temporarily disable PSR-SU to avoid glitches */
+       return false;
 }
 
 /*