intel: Drop backwards compat code for not having libdrm with the LLC check.

This commit is contained in:
Eric Anholt 2012-03-21 14:31:53 -07:00
parent 80ecb8f15b
commit e3df28337b

View file

@ -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);