From: Emil Velikov Date: Fri, 7 Jul 2017 17:43:35 +0000 (+0100) Subject: i965: remove local vblank_mode option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b655205ff24e22bee8348eeed37fbb1a811306d7;p=mesa.git 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 Reviewed-by: Alex Deucher --- diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 7ccc1d34f0d..391e9319bdc 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 */