agp/intel-gtt: Replace kernel.h with the necessary inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Nov 2021 11:53:12 +0000 (13:53 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 15 Nov 2021 17:20:05 +0000 (19:20 +0200)
commitce6838afc9244171cd07620bbb82e18695c491e9
tree5c8b9e1d2e6db26fcd663d40d9d9c864dc126c44
parentdd54575a83d85c031d9c1c4a78607ec3c95696ac
agp/intel-gtt: Replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/4d6a976459547407979f4b4c05a52785523e6bd8.1636977089.git.jani.nikula@intel.com
include/drm/intel-gtt.h