xf86-video-intel: src/i830_memory.c
Keith Packard
keithp at kemper.freedesktop.org
Wed Jul 15 09:52:39 PDT 2009
src/i830_memory.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e386e7b14b139f15205e14b173e8222bf38d9e18
Author: Keith Packard <keithp at keithp.com>
Date: Wed Jul 15 09:43:04 2009 -0700
Reset framebuffer offset when rebinding aperture (22760).
scrn->fbOffset may be changed when binding objects to the aperture during
server initialization or VT enter. This was accidentally removed when the
NoAlloc option was eliminated.
Signed-off-by: Keith Packard <keithp at keithp.com>
diff --git a/src/i830_memory.c b/src/i830_memory.c
index f2f3966..cc9d376 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1581,6 +1581,9 @@ i830_bind_all_memory(ScrnInfoPtr pScrn)
i830_update_cursor_offsets(pScrn);
i830_set_max_gtt_map_size(pScrn);
+ if (pI830->front_buffer)
+ pScrn->fbOffset = pI830->front_buffer->offset;
+
return TRUE;
}
More information about the xorg-commit
mailing list