summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorDibin Moolakadan Subrahmanian <dibin.moolakadan.subrahmanian@intel.com>2026-09-22 19:05:38 +0530
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2026-10-14 17:54:53 +0300
commit7dedc5bb11f95e96fe80757c924d8d9aa7327759 (patch)
tree90c11645374d5b9f29f9c3984bf71cbda4fe87f6 /scripts/basic/split-include.c
parent8bb1858db453cd4250e3b633f5d2d09206024ca6 (diff)
downloadlinux-7dedc5bb11f95e96fe80757c924d8d9aa7327759.tar.gz
linux-7dedc5bb11f95e96fe80757c924d8d9aa7327759.zip
drm/i915/dmc: Add sanity check for DMC load address
For DMC firmware header version 3, the firmware load address is stored in dmc_info->start_mmioaddr and later used by dmc_load_program(). Unlike the MMIO address table, the firmware load address is not validated. Add a sanity check to ensure it is within the valid range. BSpec: 69671, 68378 Fixes: 3d5928a168a9 ("drm/i915/xelpd: Pipe A DMC plugging") Cc: stable@vger.kernel.org Assisted-by: Claude-Code:Sonnet-5 Signed-off-by: Dibin Moolakadan Subrahmanian <dibin.moolakadan.subrahmanian@intel.com> Reviewed-by: Mitul Golani<mitulkumar.ajitkumar.golani@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/20260922133535.3180973-6-dibin.moolakadan.subrahmanian@intel.com (cherry picked from commit 5e47ee5c76ca9becde8df4ad5202845b7ffcbc4c) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions