From 9e88da3ec8f1a5b67c0b8f380d0056e20caf42d2 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 28 Mar 2023 04:01:47 +0000 Subject: [PATCH] drm/i915/sseu: fix max_subslices array-index-out-of-bounds access From Andrea Righi 1a1682abf7399318ac074b1f2ac6a8c992b5b3da in linux-6.1.y/6.1.21 193c41926d152761764894f46e23b53c00186a82 in mainline linux --- sys/dev/pci/drm/i915/gt/intel_sseu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915/gt/intel_sseu.h b/sys/dev/pci/drm/i915/gt/intel_sseu.h index aa87d3832d6..d7e8c374f15 100644 --- a/sys/dev/pci/drm/i915/gt/intel_sseu.h +++ b/sys/dev/pci/drm/i915/gt/intel_sseu.h @@ -27,7 +27,7 @@ struct drm_printer; * is only relevant to pre-Xe_HP platforms (Xe_HP and beyond use the * I915_MAX_SS_FUSE_BITS value below). */ -#define GEN_MAX_SS_PER_HSW_SLICE 6 +#define GEN_MAX_SS_PER_HSW_SLICE 8 /* * Maximum number of 32-bit registers used by hardware to express the -- 2.20.1