summaryrefslogtreecommitdiff
path: root/src/i830_display.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2008-03-04 08:52:40 -0800
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2008-03-04 08:59:23 -0800
commit4936e097028b91f4bdc2d9101dc49f6fe586e718 (patch)
tree92b52e8e1a93e8131fa74b378e24c0323d4f6a14 /src/i830_display.c
parent02a3b80ee8341968dbce5b7cb871b187db5ff805 (diff)
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.
Diffstat (limited to 'src/i830_display.c')
-rw-r--r--src/i830_display.c2
1 files changed, 1 insertions, 1 deletions
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);