diff options
| author | Matt Roper <matthew.d.roper@intel.com> | 2026-01-14 19:28:02 -0800 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2026-01-15 07:05:04 -0800 |
| commit | 83675851547e835c15252c601f41acf269c351d9 (patch) | |
| tree | 209a7651a8de607c76bc05fb5f929b17d877fe74 /include/linux/memory | |
| parent | def675cf3f107ba8da78ca0b8650997fdf667538 (diff) | |
drm/xe: Cleanup unused header includes
clangd reports many "unused header" warnings throughout the Xe driver.
Start working to clean this up by removing unnecessary includes in our
.c files and/or replacing them with explicit includes of other headers
that were previously being included indirectly.
By far the most common offender here was unnecessary inclusion of
xe_gt.h. That likely originates from the early days of xe.ko when
xe_mmio did not exist and all register accesses, including those
unrelated to GTs, were done with GT functions.
There's still a lot of additional #include cleanup that can be done in
the headers themselves; that will come as a followup series.
v2:
- Squash the 79-patch series down to a single patch. (MattB)
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260115032803.4067824-2-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'include/linux/memory')
0 files changed, 0 insertions, 0 deletions
