Skip to content

Commit ab72d59

Browse files
superm1alexdeucher
authored andcommitted
drm/amd/display: Disable panel replay by default for now
Panel replay was enabled by default in commit 5950efe ("drm/amd/display: Enable Panel Replay for static screen use case"), but it isn't working properly at least on some BOE and AUO panels. Instead of being static the screen is solid black when active. As it's a new feature that was just introduced that regressed VRR disable it for now so that problem can be properly root caused. Cc: Tom Chung <[email protected]> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3344 Fixes: 5950efe ("drm/amd/display: Enable Panel Replay for static screen use case") Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 705d048 commit ab72d59

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4537,15 +4537,18 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
45374537
/* Determine whether to enable Replay support by default. */
45384538
if (!(amdgpu_dc_debug_mask & DC_DISABLE_REPLAY)) {
45394539
switch (amdgpu_ip_version(adev, DCE_HWIP, 0)) {
4540-
case IP_VERSION(3, 1, 4):
4541-
case IP_VERSION(3, 1, 5):
4542-
case IP_VERSION(3, 1, 6):
4543-
case IP_VERSION(3, 2, 0):
4544-
case IP_VERSION(3, 2, 1):
4545-
case IP_VERSION(3, 5, 0):
4546-
case IP_VERSION(3, 5, 1):
4547-
replay_feature_enabled = true;
4548-
break;
4540+
/*
4541+
* Disabled by default due to https://gitlab.freedesktop.org/drm/amd/-/issues/3344
4542+
* case IP_VERSION(3, 1, 4):
4543+
* case IP_VERSION(3, 1, 5):
4544+
* case IP_VERSION(3, 1, 6):
4545+
* case IP_VERSION(3, 2, 0):
4546+
* case IP_VERSION(3, 2, 1):
4547+
* case IP_VERSION(3, 5, 0):
4548+
* case IP_VERSION(3, 5, 1):
4549+
* replay_feature_enabled = true;
4550+
* break;
4551+
*/
45494552
default:
45504553
replay_feature_enabled = amdgpu_dc_feature_mask & DC_REPLAY_MASK;
45514554
break;

0 commit comments

Comments
 (0)