Commit 030daa0f authored by Dan Carpenter's avatar Dan Carpenter Committed by Mika Kuoppala

drm/i915/mocs: || vs | typo in get_mocs_settings()

It seems pretty clear that bitwise OR was intended here and not logical
OR.

Fixes: 6fc29133 ('drm/i915/gen9: Add WaDisableSkipCaching')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
parent 2ce0004c
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment