Mesa (master): intel: Drop backwards compat code for not having libdrm with the LLC check.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Apr 12 01:14:50 UTC 2012
Module: Mesa
Branch: master
Commit: e3df28337b6b45f5b3444a9d6d4e1f6988d2de1b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3df28337b6b45f5b3444a9d6d4e1f6988d2de1b
Author: Eric Anholt <eric at anholt.net>
Date: Wed Mar 21 14:31:53 2012 -0700
intel: Drop backwards compat code for not having libdrm with the LLC check.
---
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 3fc1d3c..6344d98 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);
More information about the mesa-commit
mailing list