OSDN Git Service

drm: Replace kernel.h with the necessary inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Nov 2021 10:24:23 +0000 (12:24 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 9 Dec 2021 12:46:13 +0000 (13:46 +0100)
commitae710a458f0af6ba2b991ebdddffc66e8dbd765a
tree30ea7d804348f6ad18297746279c931ff670fe87
parent03848335b5b1faa4a4641fcf30b7c233579a45aa
drm: 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: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110102423.54282-1-andriy.shevchenko@linux.intel.com
include/drm/drm_gem_ttm_helper.h
include/drm/drm_gem_vram_helper.h
include/drm/drm_mm.h