projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fada4c
)
drm/i915/skl: i915_swizzle_info gen9 fix
author
Robert Beckett
<robert.beckett@intel.com>
Thu, 23 Jan 2014 14:23:14 +0000
(14:23 +0000)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:35:55 +0000
(14:35 +0200)
Fix ARB_MODE register read for gen >= 8 in i915_swizzle_info
Reviewed-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Robert Beckett <robert.beckett@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 2cbc85f3b237b91bc8d6ac41daa32a167ea9829c..707eddd1825f89d177f1cf06ca711e48e05d7d98 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_debugfs.c
+++ b/
drivers/gpu/drm/i915/i915_debugfs.c
@@
-1986,7
+1986,7
@@
static int i915_swizzle_info(struct seq_file *m, void *data)
I915_READ(MAD_DIMM_C2));
seq_printf(m, "TILECTL = 0x%08x\n",
I915_READ(TILECTL));
- if (I
S_GEN8(dev)
)
+ if (I
NTEL_INFO(dev)->gen >= 8
)
seq_printf(m, "GAMTARBMODE = 0x%08x\n",
I915_READ(GAMTARBMODE));
else