From: | "Remi Cardona (remi)" <remi@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-intel/files: 2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch |
Date: | Sat, 28 Feb 2009 10:38:37 |
Message-Id: | E1LdMaZ-0003KT-6e@stork.gentoo.org |
1 | remi 09/02/28 10:38:35 |
2 | |
3 | Added: |
4 | 2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch |
5 | Log: |
6 | x11-drivers/xf86-video-intel: add patch to fix bug on DRI1-only servers (fdo bug #20325) |
7 | (Portage version: 2.2_rc23/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-intel/files/2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 2.6.2-0002-Disable-fb-resizing-for-DRI1-only-server-so-that-DRI.patch |
16 | =================================================================== |
17 | From 70e0261208654c6c875ad462da2734c6aa9eeb96 Mon Sep 17 00:00:00 2001 |
18 | From: Eric Anholt <eric@××××××.net> |
19 | Date: Tue, 24 Feb 2009 20:54:05 -0800 |
20 | Subject: [PATCH] Disable fb resizing for DRI1-only server so that DRI1 can initialize. |
21 | |
22 | --- |
23 | src/i830_driver.c | 4 ++++ |
24 | 1 files changed, 4 insertions(+), 0 deletions(-) |
25 | |
26 | diff --git a/src/i830_driver.c b/src/i830_driver.c |
27 | index 2461e8a..1506ea7 100644 |
28 | --- a/src/i830_driver.c |
29 | +++ b/src/i830_driver.c |
30 | @@ -1684,6 +1684,10 @@ I830AccelMethodInit(ScrnInfoPtr pScrn) |
31 | pI830->can_resize = FALSE; |
32 | if (pI830->accel == ACCEL_UXA && pI830->directRenderingType != DRI_XF86DRI) |
33 | pI830->can_resize = TRUE; |
34 | +#if !defined(DRI2) && defined(XF86DRI) |
35 | + /* Disable resizing so that DRI1 can initialize and give us GEM support. */ |
36 | + pI830->can_resize = FALSE; |
37 | +#endif |
38 | |
39 | xf86DrvMsg(pScrn->scrnIndex, X_INFO, |
40 | "Resizable framebuffer: %s (%d %d)\n", |
41 | -- |
42 | 1.6.1.3 |