projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ecb8f
)
intel: Drop backwards compat code for not having libdrm with the LLC check.
author
Eric Anholt
<eric@anholt.net>
Wed, 21 Mar 2012 21:31:53 +0000
(14:31 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 12 Apr 2012 01:12:12 +0000
(18:12 -0700)
src/mesa/drivers/dri/intel/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index 3fc1d3c630b2e19d84184dffcfa3b0a3b6325efc..6344d98a31997b112cc432c26940870d694c5f9d 100644
(file)
--- 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);