Only apply enable_psr=0 to xps oled machines

This commit is contained in:
David Heinemeier Hansson
2026-04-15 16:17:14 +02:00
parent bf802df8bd
commit 7bfd848c93
3 changed files with 9 additions and 5 deletions
@@ -1,9 +1,6 @@
# Fix display issues on Dell XPS 2026+ with LG OLED panel and Intel Panther Lake (Xe3) GPU.
# Power-saving features (PSR and Panel Replay) cause freezes and display glitches.
if omarchy-hw-match "XPS" \
&& omarchy-hw-intel-ptl \
&& test "$(od -An -tx1 -j8 -N2 /sys/class/drm/card*-eDP-*/edid 2>/dev/null | tr -d ' \n')" = "30e4"; then
if omarchy-hw-dell-xps-oled; then
echo "Detected Dell XPS with LG OLED panel on Panther Lake, applying display power-saving fix..."
CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0"'