From 4936e097028b91f4bdc2d9101dc49f6fe586e718 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 4 Mar 2008 08:52:40 -0800 Subject: [PATCH] Change FBC idle mode back to default Use the "immediate idle" mode for FBC. Rather than waiting for the current compression pass to finish before signalling to the CPU that it's idle, this mode should stop any current compression pass and tell the CPU that the GPU is idle right away. Seems to fix #13326. --- src/i830_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_display.c b/src/i830_display.c index d5c2dea0..86992acb 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -580,7 +580,7 @@ i830_enable_fb_compression_8xx(xf86CrtcPtr crtc) i830WaitForVblank(pScrn); OUTREG(FBC_CFB_BASE, pI830->compressed_front_buffer->bus_addr); OUTREG(FBC_LL_BASE, pI830->compressed_ll_buffer->bus_addr + 6); - OUTREG(FBC_CONTROL2, FBC_CTL_FENCE_DBL | FBC_CTL_IDLE_FULL | + OUTREG(FBC_CONTROL2, FBC_CTL_FENCE_DBL | FBC_CTL_IDLE_IMM | FBC_CTL_CPU_FENCE | plane); OUTREG(FBC_FENCE_OFF, crtc->y);