drm/i915: Expand DPF support to Haswell
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 25 Jul 2012 03:47:32 +0000 (20:47 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:57 +0000 (18:23 +0200)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h

index 35a90da641496edca456d3a2db8ef23ef6b7e724..e6e63c1aee68c5c357aa5bdaadad8ba7ab42f1f8 100644 (file)
@@ -1114,7 +1114,7 @@ struct drm_i915_file_private {
 
 #define HAS_FORCE_WAKE(dev) (INTEL_INFO(dev)->has_force_wake)
 
-#define HAS_L3_GPU_CACHE(dev) (IS_IVYBRIDGE(dev))
+#define HAS_L3_GPU_CACHE(dev) (IS_IVYBRIDGE(dev) || IS_HASWELL(dev))
 
 #include "i915_trace.h"