drm/xe/pat: Move PAT setup to a dedicated file
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 24 Mar 2023 21:04:10 +0000 (14:04 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:30:25 +0000 (18:30 -0500)
commit576c6380da47592dc793669c6738742385f1bbf1
treec3b7cc6e7eab3940997b18fb692b84618b0179e8
parentcf667aec0abeda839937cbd92884799b19df1ab7
drm/xe/pat: Move PAT setup to a dedicated file

PAT handling is growing in complexity and will continue to do so in
upcoming platforms.  Separate it out to a dedicated file to keep things
tidy.

The code is moved as-is here (aside from a few unused #define's that are
just dropped); further changes will come in future patches.

Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://lore.kernel.org/r/20230324210415.2434992-2-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/Makefile
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_pat.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_pat.h [new file with mode: 0644]