]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Refactor PAT dump to use shared helpers
authorXin Wang <x.wang@intel.com>
Fri, 5 Dec 2025 07:02:19 +0000 (07:02 +0000)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 5 Dec 2025 16:15:28 +0000 (08:15 -0800)
commit624f494ee6e9c6b1bd16289c0de34e399950baa8
treeb2ed5a7c288b22d8967c5fdc2db03e9187acd199
parentc7ea291be0866ca562bb7d32d1646c08b2c3064d
drm/xe: Refactor PAT dump to use shared helpers

Move the PAT entry formatting into shared helper functions to ensure
consistency and enable code reuse.

This preparation is necessary for a follow-up patch that introduces a
software-based PAT dump, which is required for debugging on VFs where
hardware access is limited.

V2: (Matt)
- Xe3p XPC doesn’t define COMP_EN; omit it to match bspec and avoid
confusion.

Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Xin Wang <x.wang@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20251205070220.27859-1-x.wang@intel.com
drivers/gpu/drm/xe/xe_pat.c