From 6d8af9fd50cffae4a30a1f19a9c7927fc1c4d442 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 3 Aug 2017 01:26:03 -0700 Subject: [PATCH] i965: Drop unnecessary I915_PARAM_HAS_EXEC_CAPTURE defines These were only here to keep building without needing to update libdrm. Now that we include i915_drm.h in Mesa, we don't need this - our copy is new enough and has the #define. Trivial. --- src/mesa/drivers/dri/i965/intel_screen.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 8ec3e03963f..dd6bc68ded6 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -2263,9 +2263,6 @@ __DRIconfig **intelInitScreen2(__DRIscreen *dri_screen) } /* Kernel 4.13 retuired for exec object capture */ -#ifndef I915_PARAM_HAS_EXEC_CAPTURE -#define I915_PARAM_HAS_EXEC_CAPTURE 45 -#endif if (intel_get_boolean(screen, I915_PARAM_HAS_EXEC_CAPTURE)) { screen->kernel_features |= KERNEL_ALLOWS_EXEC_CAPTURE; } -- 2.30.2