summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-11-01 02:52:23 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-11-01 02:52:23 +0000
commit6b681c4ff3994597b4425f11d5aa2b07ea67b22c (patch)
tree4fa985ce4a3e262f6268cbfbe1b24f85c2bc3ccd /sys/dev/pci/drm
parent40153ed89ef7922d1b945a02a198e2bc0027d49d (diff)
drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
From Mario Limonciello c79e0a18e4b301401bb745702830be9041cfbf04 in linux-6.6.y/6.6.59 ba1959f71117b27f3099ee789e0815360b4081dd in mainline linux
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/amd/display/modules/power/power_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/amd/display/modules/power/power_helpers.c b/sys/dev/pci/drm/amd/display/modules/power/power_helpers.c
index 2b3d5183818..4887a360ead 100644
--- a/sys/dev/pci/drm/amd/display/modules/power/power_helpers.c
+++ b/sys/dev/pci/drm/amd/display/modules/power/power_helpers.c
@@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_link *link)
isPSRSUSupported = false;
else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03)
isPSRSUSupported = false;
+ else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x01)
+ isPSRSUSupported = false;
else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1)
isPSRSUSupported = true;
}