]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/nvlp: Bump maximum WOPCM size
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 6 Feb 2026 18:36:11 +0000 (15:36 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Tue, 10 Feb 2026 13:09:25 +0000 (10:09 -0300)
commitd2e0540a62693f324d8e1f5ad7440994350cd998
treea2d16af03b8dfa36a8588915e4cded1befc9a94d
parentd59d94f91f056f007bffb27d2689d82a14448889
drm/xe/nvlp: Bump maximum WOPCM size

On NVL-P, the primary GT's WOPCM gained an extra 8MiB for the Memory
URB.  As such, we need to bump the maximum size in the driver so that
the driver is able to load without erroring out thinking that the WOPCM
is too small.

FIXME: The wopcm code in xe driver is a bit confusing.  For the case
where the offsets for GUC WOPCM are already locked, it appears we are
using the maximum overall WOPCM size instead of the sizes relative to
each type of GT.  The function __check_layout() should be checking
against the latter.

Bspec: 67090
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Link: https://patch.msgid.link/20260206-nvl-p-upstreaming-v3-15-636e1ad32688@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/xe_wopcm.c