From: Eric Anholt Date: Wed, 21 Mar 2012 21:31:53 +0000 (-0700) Subject: intel: Drop backwards compat code for not having libdrm with the LLC check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3df28337b6b45f5b3444a9d6d4e1f6988d2de1b;p=mesa.git intel: Drop backwards compat code for not having libdrm with the LLC check. --- 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);