drm/i915: Use HAS_L3_GPU_CACHE in i915_gem_l3_remap
Subsystems (2)
PATCH 1/1 drm/i915: Use HAS_L3_GPU_CACHE in i915_gem_l3_remap
Yet another remnant ... this might explain why l3 remapping didn't really work on HSW.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57441
Spotted-by Ville Syrjälä <[email protected]>
Signed-off-by Daniel Vetter <[email protected]>
--- drivers/gpu/drm/i915/i915_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_gem.c +1 -1
@@ -3872,7 +3872,7 @@ void i915_gem_l3_remap(struct drm_device *dev)u32 misccpctl;int i; -if (!IS_IVYBRIDGE (dev)) +if (!HAS_L3_GPU_CACHE (dev))return ;if (!dev_priv->l3_parity.remap_info)
Signature · 1 line
1.7.10.4
Quoted 7 lines · Daniel Vetter
Yet another remnant ... this might explain why l3 remapping didn't really work on HSW.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57441
Spotted-by Ville Syrjälä <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Reviewed-by Ben Widawsky <[email protected]>
[snip]
Signature · 5 lines
Ben Widawsky, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 9 lines · Ben Widawsky
Quoted 7 lines · Daniel Vetter
Yet another remnant ... this might explain why l3 remapping didn't really work on HSW.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57441
Spotted-by Ville Syrjälä <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Reviewed-by Ben Widawsky <[email protected]>
Queued for -next, thanks for the review.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch