https://bugs.freedesktop.org/show_bug.cgi?id=101691
--- Comment #40 from Ethan Hsieh <ethan.hs...@canonical.com> ---
Cannot reproduce corruption issue with SNA_POWERSAVE enabled.
(Have to re-plug AC adapter to make the workaround work)
xserver-xorg-video-intel-2.99.917+git20160325/src/sna/sna_acpi.c
@@ -123,10 +123,14 @@ void _sna_acpi_wakeup(struct sna *sna)
state = atoi(space + 1);
DBG(("%s: ac_adapter event new state=%d\n", __FUNCTION__, state));
+#if 0
if (state)
sna->flags &= ~SNA_POWERSAVE;
else
sna->flags |= SNA_POWERSAVE;
+#endif
+ DBG(("%s: enable SNA_POWERSAVE\n", __FUNCTION__));
+ sna->flags |= SNA_POWERSAVE;
}
Xorg.0.org:
$ grep -r -i -e "ac_ad" -e "enable SNA" /var/log/Xorg.0.log
[ 112.044] _sna_acpi_wakeup: event string [41]: 'ac_adapter ACPI0003:00
00000080 00000000
[ 112.044] _sna_acpi_wakeup: ac_adapter event new state=0
[ 112.044] _sna_acpi_wakeup: enable SNA_POWERSAVE
[ 123.003] _sna_acpi_wakeup: event string [41]: 'ac_adapter ACPI0003:00
00000080 00000001
[ 123.003] _sna_acpi_wakeup: ac_adapter event new state=1
[ 123.003] _sna_acpi_wakeup: enable SNA_POWERSAVE
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel