- intel stop vbl default for now

This commit is contained in:
Dave Airlie 2008-09-12 07:24:14 +00:00
parent eae71889b4
commit 4938b1eeaf
2 changed files with 27 additions and 1 deletions

21
intel-revert-vbl.patch Normal file
View File

@ -0,0 +1,21 @@
commit 532d2051245a1d8afe7ca236f1d966d555bb121a
Author: Dave Airlie <airlied@linux.ie>
Date: Fri Sep 12 17:21:25 2008 +1000
Revert "intel: sync to vblank by default"
This reverts commit e9bf3e4cc9a7e4bcd4c45bd707541d26ecdf0409.
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index c193830..f02192d 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -55,7 +55,7 @@ PUBLIC const char __driConfigOptions[] =
DRI_CONF_BEGIN
DRI_CONF_SECTION_PERFORMANCE
DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS)
- DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_ALWAYS_SYNC)
+ DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0)
/* Options correspond to DRI_CONF_BO_REUSE_DISABLED,
* DRI_CONF_BO_REUSE_ALL
*/

View File

@ -17,7 +17,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 7.2
Release: 0.1%{?dist}
Release: 0.2%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@ -37,6 +37,7 @@ Patch5: r300-bufmgr.patch
Patch7: mesa-7.1-link-shared.patch
Patch8: intel-mmio-fix.patch
Patch9: intel-revert-vbl.patch
Patch12: mesa-7.1-disable-intel-classic-warn.patch
@ -171,6 +172,7 @@ This package provides some demo applications for testing Mesa.
%patch5 -p1 -b .r300-bufmgr
%patch7 -p1 -b .dricore
%patch8 -p1 -b .intel-mmio
%patch9 -p1 -b .intel-vbl
%patch12 -p1 -b .intel-nowarn
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
@ -406,6 +408,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/mesa-demos-data
%changelog
* Fri Sep 12 2008 Dave Airlie <airlied@redhat.com> 7.2-0.2
- intel stop vbl default for now
* Fri Sep 05 2008 Dave Airlie <airlied@redhat.com> 7.2-0.1
- latest snapshot - r300 bufmgr code
- stop building mach64, patch around some intel issues