From 4938b1eeafa277f999686b97d8a1e259e69629d3 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 12 Sep 2008 07:24:14 +0000 Subject: [PATCH] - intel stop vbl default for now --- intel-revert-vbl.patch | 21 +++++++++++++++++++++ mesa.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 intel-revert-vbl.patch diff --git a/intel-revert-vbl.patch b/intel-revert-vbl.patch new file mode 100644 index 0000000..0394414 --- /dev/null +++ b/intel-revert-vbl.patch @@ -0,0 +1,21 @@ +commit 532d2051245a1d8afe7ca236f1d966d555bb121a +Author: Dave Airlie +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 + */ diff --git a/mesa.spec b/mesa.spec index a4c7f18..1e60726 100644 --- a/mesa.spec +++ b/mesa.spec @@ -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 7.2-0.2 +- intel stop vbl default for now + * Fri Sep 05 2008 Dave Airlie 7.2-0.1 - latest snapshot - r300 bufmgr code - stop building mach64, patch around some intel issues