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:
2ce0004
)
drm/i915/mocs: || vs | typo in get_mocs_settings()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 13 Jun 2016 06:54:22 +0000
(09:54 +0300)
committer
Mika Kuoppala
<mika.kuoppala@intel.com>
Mon, 13 Jun 2016 14:38:01 +0000
(17:38 +0300)
It seems pretty clear that bitwise OR was intended here and not logical
OR.
Fixes: 6fc29133eafb ('drm/i915/gen9: Add WaDisableSkipCaching')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_mocs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_mocs.c
b/drivers/gpu/drm/i915/intel_mocs.c
index 8f96c40e415c7239e976caf47d751ee3232e5090..3c1482b8f2f44a2f187b0af692520cc1d0fb7a7e 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_mocs.c
+++ b/
drivers/gpu/drm/i915/intel_mocs.c
@@
-162,7
+162,7
@@
static bool get_mocs_settings(struct drm_i915_private *dev_priv,
for (i = 0; i < table->size; i++)
if (WARN_ON(table->table[i].l3cc_value &
- (L3_ESC(1) |
|
L3_SCC(0x7))))
+ (L3_ESC(1) | L3_SCC(0x7))))
return false;
}