On Mon, 15 Nov 2021, Jani Nikula jani.nikula@intel.com wrote:
Took Andy's patch [1] and expanded on it a bit.
BR, Jani.
[1] https://patchwork.freedesktop.org/patch/msgid/20211110102857.59604-1-andriy....
Cc: Andy Shevchenko andriy.shevchenko@linux.intel.com
Andy Shevchenko (1): agp/intel-gtt: Replace kernel.h with the necessary inclusions
Forgot to mention, I replaced the drm/i915 prefix with agp/intel-gtt here, no other changes to Andy's patch.
Jani Nikula (2): drm/i915: include intel-gtt.h only where needed agp/intel-gtt: reduce intel-gtt dependencies more
drivers/char/agp/intel-gtt.c | 1 + drivers/gpu/drm/i915/gt/intel_ggtt.c | 2 ++ drivers/gpu/drm/i915/gt/intel_gt.c | 2 ++ drivers/gpu/drm/i915/i915_drv.h | 1 - include/drm/intel-gtt.h | 8 +++++--- 5 files changed, 10 insertions(+), 4 deletions(-)