projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e1faa
)
drm/i915: Use HAS_L3_GPU_CACHE in i915_gem_l3_remap
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 14 Feb 2013 18:46:07 +0000
(19:46 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 23:21:47 +0000
(
00:21
+0100)
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ä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index a3678018af369216ca59569f2e7059efc46cb948..8413ffced81573c0144aafeac992218755b71cc9 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-3872,7
+3872,7
@@
void i915_gem_l3_remap(struct drm_device *dev)
u32 misccpctl;
int i;
- if (!
IS_IVYBRIDG
E(dev))
+ if (!
HAS_L3_GPU_CACH
E(dev))
return;
if (!dev_priv->l3_parity.remap_info)