xf86-video-intel: src/i830_video.c
Eric Anholt
anholt at kemper.freedesktop.org
Fri Aug 18 02:02:12 EEST 2006
src/i830_video.c | 9 +++++++++
1 files changed, 9 insertions(+)
New commits:
diff-tree 43daaec63929c1f0e54a5125375d8147629da4b9 (from cdcc6f23e8cad797e6cfd57e2ff454ec8509b5ba)
Author: Eric Anholt <anholt at FreeBSD.org>
Date: Thu Aug 17 15:57:31 2006 -0700
Bug #7905: Mark DRI state as dirty in 965 textured video, fixing hangs with 3d.
diff --git a/src/i830_video.c b/src/i830_video.c
index 693c703..7f6eb80 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -2288,6 +2288,15 @@ BroadwaterDisplayVideoTextured(ScrnInfoP
*/
*pI830->used3D |= 1 << 30;
+#ifdef XF86DRI
+ /* Tell the DRI that we're smashing its state. */
+ if (pI830->directRenderingEnabled) {
+ drmI830Sarea *pSAREAPriv = DRIGetSAREAPrivate(pScrn->pScreen);
+
+ pSAREAPriv->ctxOwner = DRIGetContext(pScrn->pScreen);
+ }
+#endif /* XF86DRI */
+
next_offset = 0;
/* Set up our layout of state in framebuffer. First the general state: */
More information about the xorg-commit
mailing list