drm/i915: fix broadwell EU computation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 12 Nov 2018 12:39:31 +0000 (12:39 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 14 Nov 2018 11:17:33 +0000 (13:17 +0200)
commit6a67a20366f894c172734f28c5646bdbe48a46e3
tree4b2d1bcb5686d2b2aaf857653eeb896246c6304d
parent44a7276b30c3c15f2b7790a5729640597fb6a1df
drm/i915: fix broadwell EU computation

subslice_mask is an array indexed by slice, not subslice.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 8cc7669355136f ("drm/i915: store all subslice masks")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108712
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181112123931.2815-1-lionel.g.landwerlin@intel.com
(cherry picked from commit 63ac3328f0d1d37f286e397b14d9596ed09d7ca5)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_device_info.c