i965: Add intel_screen::has_fence_fd

This bool maps to I915_PARAM_HAS_EXEC_FENCE_FD.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Chad Versace 2017-01-13 10:46:48 -08:00
parent b8acb6b179
commit 358661c794
2 changed files with 4 additions and 1 deletions

View file

@ -1817,6 +1817,9 @@ __DRIconfig **intelInitScreen2(__DRIscreen *dri_screen)
intel_get_boolean(screen, I915_PARAM_HAS_RESOURCE_STREAMER);
}
screen->has_exec_fence =
intel_get_boolean(screen, I915_PARAM_HAS_EXEC_FENCE);
return (const __DRIconfig**) intel_screen_make_configs(dri_screen);
}

View file

@ -47,8 +47,8 @@ struct intel_screen
uint64_t max_gtt_map_object_size;
bool no_hw;
bool hw_has_swizzling;
bool has_exec_fence; /**< I915_PARAM_HAS_EXEC_FENCE */
int hw_has_timestamp;