drm/xe/wopcm: fix WOPCM size for LNL+
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 13 Jul 2026 22:17:59 +0000 (15:17 -0700)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 16 Jul 2026 14:32:51 +0000 (16:32 +0200)
commitad87e2476b3b246580f407afc8ffa91d621bc849
treefed897963c8a35f7e667cc9f62504ee37c4e2d1f
parent56441f9e08ad68697295b8835266d2bc48ab59b5
drm/xe/wopcm: fix WOPCM size for LNL+

Starting on LNL the WOPCM size is 8MB instead of 4, so we need to avoid
using the [0, 8MB) range of the GGTT as that can be unaccessible from
the microcontrollers.

Note that the proper long-term fix here is to read the WOPCM size from
the HW, but that is a more serious rework that would be difficult to
backport, so we can do that as a follow-up.

Fixes: 9c57bc08652a ("drm/xe/lnl: Drop force_probe requirement")
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Shuicheng Lin <shuicheng.lin@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://patch.msgid.link/20260713221758.3285744-2-daniele.ceraolospurio@intel.com
(cherry picked from commit 3033b0b24ed0e2f5e56bdd4d9c183417c365a45b)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_wopcm.c