xf86-video-intel: src/i830_memory.c
Kristian Høgsberg
krh at kemper.freedesktop.org
Mon Feb 2 09:05:52 PST 2009
src/i830_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5c370091620b38447172ebeffbc6ed3256e86c9d
Author: Kristian Høgsberg <krh at redhat.com>
Date: Mon Feb 2 12:02:00 2009 -0500
Fix front buffer memset() for non-KMS case.
Missed the pI830->FbBase condition when removing the KMS hook.
diff --git a/src/i830_memory.c b/src/i830_memory.c
index e5d70fa..23cc4c7 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1292,7 +1292,7 @@ i830_allocate_framebuffer(ScrnInfoPtr pScrn, I830Ptr pI830, BoxPtr FbMemBox,
return NULL;
}
- if (!pI830->use_drm_mode)
+ if (!pI830->use_drm_mode && pI830->FbBase)
memset (pI830->FbBase + front_buffer->offset, 0, size);
return front_buffer;
More information about the xorg-commit
mailing list