New kernel patches mean we don't need to turn off the display features

This commit is contained in:
David Heinemeier Hansson
2026-04-21 16:41:07 +02:00
parent 9306f5ef29
commit a70b05e8f3
4 changed files with 8 additions and 29 deletions
-8
View File
@@ -1,8 +0,0 @@
echo "Ensure xe.enable_psr=0 is set in CMDLINE for XPS Panther Lake systems"
if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl && [[ -f /etc/default/limine ]]; then
if ! grep -Fq 'xe.enable_psr=0' /etc/default/limine; then
echo 'KERNEL_CMDLINE[default]+=" xe.enable_psr=0"' | sudo tee -a /etc/default/limine >/dev/null
sudo limine-mkinitcpio
fi
fi
+8
View File
@@ -0,0 +1,8 @@
echo "Dell XPS Panther Lake display kernel cmdline drop-in is no longer necessary"
DROP_IN="/etc/limine-entry-tool.d/dell-xps-ptl-display.conf"
if [[ -f $DROP_IN ]]; then
sudo rm -f "$DROP_IN"
sudo limine-update
fi