[Mesa-dev] [PATCH 1/2] intel: Drop backwards compat code for not having libdrm with the LLC check.
Eric Anholt
eric at anholt.net
Wed Mar 21 15:22:19 PDT 2012
---
src/mesa/drivers/dri/intel/intel_screen.c | 4 ----
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 3c57c5b..e99b358 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -764,13 +764,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);
--
1.7.9.1
More information about the mesa-dev
mailing list