drm/i915: fix subslice mask array size
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 6 Nov 2018 18:29:18 +0000 (10:29 -0800)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 9 Nov 2018 19:41:43 +0000 (11:41 -0800)
commitcf303a41d97e3fd5c70c5d8a61a11ce7db7e559f
treeab99e12a4a56b4e602d897c865124d73d74d1e63
parent2ee936e3a2f020b04d53c7ac5c3cd64933dfc975
drm/i915: fix subslice mask array size

We have a subslice mask per slice, not per subslice.
MAX_SUBSLICES > MAX_SLICES, so the wrong size didn't cause any issue
apart from using extra memory.

Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106182918.5748-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_device_info.h