[Bug 101691] gfx corruption on windowed 3d-apps running on dGPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 40 on bug 101691 from
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux