summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-03-21 14:31:53 -0700
committerEric Anholt <[email protected]>2012-04-11 18:12:12 -0700
commite3df28337b6b45f5b3444a9d6d4e1f6988d2de1b (patch)
tree1f7cfeaf5ce8b538440e01c46b93405a35ad3b44 /src/mesa
parent80ecb8f15b9ad7d6edcc85bd19f1867c368b09b6 (diff)
intel: Drop backwards compat code for not having libdrm with the LLC check.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 3fc1d3c630b..6344d98a319 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -770,13 +770,9 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
intelScreen->hw_must_use_separate_stencil = intelScreen->gen >= 7;
intelScreen->dri2_has_hiz = INTEL_DRI2_HAS_HIZ_UNKNOWN;
-#if defined(I915_PARAM_HAS_LLC)
intelScreen->hw_has_llc =
intel_get_boolean(intelScreen->driScrnPriv,
I915_PARAM_HAS_LLC);
-#else
- intelScreen->hw_has_llc = intelScreen->gen >= 6;
-#endif
intel_override_separate_stencil(intelScreen);