diff options
author | Rémi Cardona <remi@gentoo.org> | 2009-02-28 10:38:35 +0000 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2009-02-28 10:38:35 +0000 |
commit | 3a09f43ad7b91951758e5ff1c052f83564ad3d78 (patch) | |
tree | 86794b7b29ad5bcd19f8984704e37c4b3f43437c /x11-drivers/xf86-video-intel/files | |
parent | semantic-desktop is a global USE-flag (diff) | |
download | gentoo-2-3a09f43ad7b91951758e5ff1c052f83564ad3d78.tar.gz gentoo-2-3a09f43ad7b91951758e5ff1c052f83564ad3d78.tar.bz2 gentoo-2-3a09f43ad7b91951758e5ff1c052f83564ad3d78.zip |
x11-drivers/xf86-video-intel: add patch to fix bug on DRI1-only servers (fdo bug #20325)
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'x11-drivers/xf86-video-intel/files')
-rw-r--r-- | x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch b/x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch new file mode 100644 index 000000000000..c1a9b3941060 --- /dev/null +++ b/x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch @@ -0,0 +1,27 @@ +From 70e0261208654c6c875ad462da2734c6aa9eeb96 Mon Sep 17 00:00:00 2001 +From: Eric Anholt <eric@anholt.net> +Date: Tue, 24 Feb 2009 20:54:05 -0800 +Subject: [PATCH] Disable fb resizing for DRI1-only server so that DRI1 can initialize. + +--- + src/i830_driver.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/src/i830_driver.c b/src/i830_driver.c +index 2461e8a..1506ea7 100644 +--- a/src/i830_driver.c ++++ b/src/i830_driver.c +@@ -1684,6 +1684,10 @@ I830AccelMethodInit(ScrnInfoPtr pScrn) + pI830->can_resize = FALSE; + if (pI830->accel == ACCEL_UXA && pI830->directRenderingType != DRI_XF86DRI) + pI830->can_resize = TRUE; ++#if !defined(DRI2) && defined(XF86DRI) ++ /* Disable resizing so that DRI1 can initialize and give us GEM support. */ ++ pI830->can_resize = FALSE; ++#endif + + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Resizable framebuffer: %s (%d %d)\n", +-- +1.6.1.3 + |