From: Chad Versace <chad.versace@xxxxxxxxx> This bool maps to I915_PARAM_HAS_EXEC_FENCE_FD. TODO: The i915 param is not yet upstream. Wait for the kernel interface before committing. --- src/mesa/drivers/dri/i965/intel_screen.c | 4 ++++ src/mesa/drivers/dri/i965/intel_screen.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 9df888d..1a32295 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1637,6 +1637,10 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp) intel_get_boolean(intelScreen, I915_PARAM_HAS_RESOURCE_STREAMER); } +#define I915_PARAM_HAS_EXEC_FENCE 42 + intelScreen->has_fence_fd = + intel_get_boolean(intelScreen, I915_PARAM_HAS_EXEC_FENCE); + return (const __DRIconfig**) intel_screen_make_configs(psp); } diff --git a/src/mesa/drivers/dri/i965/intel_screen.h b/src/mesa/drivers/dri/i965/intel_screen.h index 98f9d24..d167758 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.h +++ b/src/mesa/drivers/dri/i965/intel_screen.h @@ -45,8 +45,8 @@ struct intel_screen __DRIscreen *driScrnPriv; bool no_hw; - bool hw_has_swizzling; + bool has_fence_fd; int hw_has_timestamp; -- 2.9.3 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx