[PATCH 0/3] drm/i915, agp/intel-ggt: clean up includes

Jani Nikula jani.nikula at intel.com
Mon Nov 15 11:55:32 UTC 2021


On Mon, 15 Nov 2021, Jani Nikula <jani.nikula at 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.shevchenko@linux.intel.com
>
> Cc: Andy Shevchenko <andriy.shevchenko at 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(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dri-devel mailing list