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:
c7ae7e9
)
drm/i915/cnl: Cannonlake has same MOCS table than Skylake.
author
Rodrigo Vivi
<
[email protected]
>
Tue, 6 Jun 2017 20:30:37 +0000
(13:30 -0700)
committer
Rodrigo Vivi
<
[email protected]
>
Wed, 7 Jun 2017 14:29:51 +0000
(07:29 -0700)
All registers and default configuration are the same for Skylake
and Cannonlake.
v2: Don't apply Wa for platforms without MOCS. (Paulo)
v3: Removed WaDisableSkipCaching that Joonas noticed that
according to spec it is not applicable to CNL.
Cc: Paulo Zanoni <
[email protected]
>
Signed-off-by: Rodrigo Vivi <
[email protected]
>
Reviewed-by: Joonas Lahtinen <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
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 92e461c683850350e586c3c8af0bcb9b389037aa..f4c46b0b8f0aeb6d42ecb31031053bfd5182485f 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_mocs.c
+++ b/
drivers/gpu/drm/i915/intel_mocs.c
@@
-178,7
+178,7
@@
static bool get_mocs_settings(struct drm_i915_private *dev_priv,
{
bool result = false;
- if (IS_GEN9_BC(dev_priv)) {
+ if (IS_GEN9_BC(dev_priv)
|| IS_CANNONLAKE(dev_priv)
) {
table->size = ARRAY_SIZE(skylake_mocs_table);
table->table = skylake_mocs_table;
result = true;