summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-08-03 01:26:03 -0700
committerKenneth Graunke <[email protected]>2017-08-03 01:31:08 -0700
commit6d8af9fd50cffae4a30a1f19a9c7927fc1c4d442 (patch)
tree33f84264334b7c22646dff2fd96ba44450427dfe
parent06ab6ce6126dfce4df18bf5d2f25fcb70a6c595b (diff)
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.
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c3
1 files changed, 0 insertions, 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;
}