]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pat: Differentiate between primary and media for PTA
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 6 Feb 2026 18:35:59 +0000 (15:35 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Tue, 10 Feb 2026 13:08:54 +0000 (10:08 -0300)
commita08104551d08cf5c1542ba552bd7d1cf9d4ecd23
tree99a4544e811ac1ffc3cff1a1a118d30c746ab6c4
parent835cd6cbb0d0e44c3fc4efc1ba6c79ffb2e2f751
drm/xe/pat: Differentiate between primary and media for PTA

Differently from currently supported platforms, in upcoming changes we
will need to have different PAT entries for PTA based on the GT type. As
such, let's prepare the code to support that by having two separate
PTA-specific members in the pat struct, one for each type of GT.

While at it, also fix the kerneldoc for pat_ats.

Co-developed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20260206-nvl-p-upstreaming-v3-3-636e1ad32688@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_pat.c