On Mon, Nov 15, 2021 at 01:55:32PM +0200, Jani Nikula wrote: > On Mon, 15 Nov 2021, Jani Nikula <jani.nikula@xxxxxxxxx> 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.shevchenko@xxxxxxxxxxxxxxx > > > > Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > > > 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. Acked-by: Daniel Vetter <daniel.vetter@xxxxxxxx> Also feel free to push through drm-intel.git just in case you wondered about that. -Daniel > > > > > 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(-) > > -- > Jani Nikula, Intel Open Source Graphics Center -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch