intel: Drop backwards compat code for not having libdrm with the LLC check.
authorEric Anholt <eric@anholt.net>
Wed, 21 Mar 2012 21:31:53 +0000 (14:31 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Apr 2012 01:12:12 +0000 (18:12 -0700)
src/mesa/drivers/dri/intel/intel_screen.c

index 3fc1d3c630b2e19d84184dffcfa3b0a3b6325efc..6344d98a31997b112cc432c26940870d694c5f9d 100644 (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);