i965: remove local vblank_mode option
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 7 Jul 2017 17:43:35 +0000 (18:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Jul 2017 12:06:50 +0000 (13:06 +0100)
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@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/mesa/drivers/dri/i965/intel_screen.c

index 7ccc1d34f0d265caae79e69149ca83961e0a1b9a..391e9319bdcdc54267f213fbf11bdacfe7c33bb6 100644 (file)
@@ -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
        */