drm/xe/pat: Use table-based programming of PAT settings
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 24 Mar 2023 21:04:11 +0000 (14:04 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:30:25 +0000 (18:30 -0500)
commit4f843703133970c852cf4661e584bdea55fd1a7a
treefecd67fa10b23c5f744fe39982bd488330efee28
parent576c6380da47592dc793669c6738742385f1bbf1
drm/xe/pat: Use table-based programming of PAT settings

Provide per-platform tables of PAT values rather than per-platform
functions.  This will simplify the handling of unicast vs MCR registers
in the upcoming patches.

Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://lore.kernel.org/r/20230324210415.2434992-3-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pat.c