Mesa (9.2): st/dri: remove more unused driconf options

Ian Romanick idr at kemper.freedesktop.org
Tue Aug 6 17:30:22 UTC 2013


Module: Mesa
Branch: 9.2
Commit: a19bc8438064aaf4c041cf14210cf164af52f13e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a19bc8438064aaf4c041cf14210cf164af52f13e

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jul 30 22:29:19 2013 +0200

st/dri: remove more unused driconf options

vblank_mode is read by dri_util.c and falls under the "dri2" driver name,
which is not connected to the actual Mesa/Gallium driver in any way.

Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 772070527f6a6db72505575d6571470280a131ab)

---

 src/gallium/state_trackers/dri/common/dri_screen.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
index ca17742..f19998b 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -49,11 +49,6 @@
 
 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_DEF_INTERVAL_0)
-      DRI_CONF_SECTION_END
-
       DRI_CONF_SECTION_QUALITY
          DRI_CONF_FORCE_S3TC_ENABLE("false")
          DRI_CONF_PP_CELSHADE(0)
@@ -77,7 +72,7 @@ PUBLIC const char __driConfigOptions[] =
 
 #define false 0
 
-static const uint __driNConfigOptions = 13;
+static const uint __driNConfigOptions = 11;
 
 static const __DRIconfig **
 dri_fill_in_modes(struct dri_screen *screen)




More information about the mesa-commit mailing list