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:
44a7276
)
drm/i915: fix broadwell EU computation
author
Lionel Landwerlin
<
[email protected]
>
Mon, 12 Nov 2018 12:39:31 +0000
(12:39 +0000)
committer
Joonas Lahtinen
<
[email protected]
>
Wed, 14 Nov 2018 11:17:33 +0000
(13:17 +0200)
subslice_mask is an array indexed by slice, not subslice.
Signed-off-by: Lionel Landwerlin <
[email protected]
>
Fixes: 8cc7669355136f ("drm/i915: store all subslice masks")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108712
Reviewed-by: Chris Wilson <
[email protected]
>
Reviewed-by: Tvrtko Ursulin <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
(cherry picked from commit
63ac3328f0d1d37f286e397b14d9596ed09d7ca5
)
Signed-off-by: Joonas Lahtinen <
[email protected]
>
drivers/gpu/drm/i915/intel_device_info.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_device_info.c
b/drivers/gpu/drm/i915/intel_device_info.c
index 0ef0c6448d53a835fbdf5319a8010c64d613bd0f..01fa98299bae65a125862e57c307cdbce07c3d32 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_device_info.c
+++ b/
drivers/gpu/drm/i915/intel_device_info.c
@@
-474,7
+474,7
@@
static void broadwell_sseu_info_init(struct drm_i915_private *dev_priv)
u8 eu_disabled_mask;
u32 n_disabled;
- if (!(sseu->subslice_mask[s
s
] & BIT(ss)))
+ if (!(sseu->subslice_mask[s] & BIT(ss)))
/* skip disabled subslice */
continue;