Comment 3 for bug 390917

Revision history for this message
In , Jesse Barnes (jbarnes-virtuousgeek) wrote :

Can you give this patch a try? I *think* I've been seeing the same issue since the tearing fix went in, and this could be the cause.

diff --git a/src/i830_video.c b/src/i830_video.c
index 1ff80a0..a34d945 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1733,6 +1733,9 @@ i830_covering_crtc (ScrnInfoPtr pScrn,
     crtc_box_ret->y2 = 0;
     for (c = 0; c < xf86_config->num_crtc; c++)
     {
+ if (!crtc->enabled)
+ continue;
+
        crtc = xf86_config->crtc[c];
        i830_crtc_box (crtc, &crtc_box);
        i830_box_intersect (&cover_box, &crtc_box, box);