xf86-video-intel: src/sna/sna_display.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Sep 25 07:54:54 PDT 2012
src/sna/sna_display.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 74f930fd80c3f97a1b6213e9e79e02f8f51c64b9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Sep 25 15:41:51 2012 +0100
sna: Make sure the batch is flushed before setting DPMS
Just in case on the off-chance that the kernel modifies the pipe and we
had a pipe-dependent operation in the batch.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index d7b131f..3c41a2a 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1817,6 +1817,9 @@ sna_output_dpms(xf86OutputPtr output, int dpms)
DBG(("%s: dpms=%d\n", __FUNCTION__, dpms));
+ if (dpms != DPMSModeOn)
+ kgem_submit(&sna->kgem);
+
for (i = 0; i < koutput->count_props; i++) {
struct drm_mode_get_property prop;
More information about the xorg-commit
mailing list