Mesa (master): i965: remove local vblank_mode option

Emil Velikov evelikov at kemper.freedesktop.org
Wed Jul 19 12:10:13 UTC 2017


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

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Fri Jul  7 18:43:35 2017 +0100

i965: remove local vblank_mode option

The option is only queried from the loader, which has access to the
dri common code in src/mesa/drivers/dri/common/.

One could grant the loader access to brw_config_options but even
then, having the same option in both places is not a good idea.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/mesa/drivers/dri/i965/intel_screen.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 7ccc1d34f0..391e9319bd 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -56,7 +56,6 @@ static const __DRIconfigOptionsExtension brw_config_options = {
    .xml =
 DRI_CONF_BEGIN
    DRI_CONF_SECTION_PERFORMANCE
-      DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_ALWAYS_SYNC)
       /* Options correspond to DRI_CONF_BO_REUSE_DISABLED,
        * DRI_CONF_BO_REUSE_ALL
        */




More information about the mesa-commit mailing list