]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pat: Consolidate PAT programming logic for pre-Xe2 and post-Xe2
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 13 Jun 2025 21:47:53 +0000 (14:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 16 Jun 2025 15:58:59 +0000 (08:58 -0700)
commit3091bd44cdf3bfd506a25d8bdba5a2bd1d59574b
tree6fbe0296be1d8055f64602cb81745f863067dfd5
parent564e1a82fb3722ca27a821fd39b4479595a7b1fb
drm/xe/pat: Consolidate PAT programming logic for pre-Xe2 and post-Xe2

Now that the PAT settings for the new special entries introduced by Xe2
are decided during early software init and left NULL on platforms they
don't apply to, there's no need to keep separate programming functions
for pre-Xe2 and post-Xe2 platforms.  Consolidate down to a single pair
of programming functions (mcr and non-mcr) that can be used on any
platform.

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