summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXin Wang <x.wang@intel.com>2026-04-16 07:55:26 +0300
committerMatt Roper <matthew.d.roper@intel.com>2026-04-21 20:20:17 +0300
commitdc9ccf14dc2ad44e3df4928015923735f0101bfd (patch)
tree30267ee07b5456daf3b2f610e60976b8bd1f0382 /include
parent369738a43a62c6ee46033ed1a26ed7d08c0e4b68 (diff)
downloadlinux-dc9ccf14dc2ad44e3df4928015923735f0101bfd.tar.xz
drm/xe/pat: Introduce xe_cache_pat_idx() macro helper
Wrap pat.idx[] reads with xe_cache_pat_idx() so invalid PAT index use is caught by xe_assert() in debug builds. Suggested-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Xin Wang <x.wang@intel.com> Link: https://patch.msgid.link/20260416045526.536497-4-x.wang@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions