i965: Drop unnecessary I915_PARAM_HAS_EXEC_CAPTURE defines
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 3 Aug 2017 08:26:03 +0000 (01:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 3 Aug 2017 08:31:08 +0000 (01:31 -0700)
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

index 8ec3e03963f37160b46a198a35d3d585a8712676..dd6bc68ded61261b393f6da9ee5968ea9570f030 100644 (file)
@@ -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;
    }