]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/pat: Determine ATS / PTA programming during early sw init
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 13 Jun 2025 21:47:52 +0000 (14:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 16 Jun 2025 15:58:59 +0000 (08:58 -0700)
commit564e1a82fb3722ca27a821fd39b4479595a7b1fb
treeea642f75e48f1e51361d52516ddd539f066ca940
parent3ee9f2058ab202fd29d6a4adbf520d8878530520
drm/xe/pat: Determine ATS / PTA programming during early sw init

Decide whether programming of the special ATS and PTA PAT entries is
necessary (and which entries should be programmed) during early software
initialization rather than hardcoding this into the 'program' functions.
Future platforms may want to re-use the same functions but utilize
different special entry values.  Consolidating all of the decisions
into one place keeps things simple.

Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://lore.kernel.org/r/20250613214751.792066-3-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_pat.c