diff options
| author | Xin Wang <x.wang@intel.com> | 2026-04-15 21:55:26 -0700 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2026-04-21 10:20:17 -0700 |
| commit | dc9ccf14dc2ad44e3df4928015923735f0101bfd (patch) | |
| tree | 30267ee07b5456daf3b2f610e60976b8bd1f0382 /include/linux | |
| parent | 369738a43a62c6ee46033ed1a26ed7d08c0e4b68 (diff) | |
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/linux')
0 files changed, 0 insertions, 0 deletions
