drm/i915: include some drm headers only where needed
authorJani Nikula <jani.nikula@intel.com>
Thu, 10 Feb 2022 15:45:50 +0000 (17:45 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 14 Feb 2022 11:39:54 +0000 (13:39 +0200)
commit01b94a9361680d6582dcc2a73a9eb464e0e40888
tree845d417fa30a3991cf9f0e75f29240b1de350a75
parent82508de228bafb2ea8f048f7bf11bb5547354d62
drm/i915: include some drm headers only where needed

Include drm_fourcc.h, drm_plane.h, and drm_color_mgmt.h where needed, so
we can drop the includes for drm_atomic.h and drm_fourcc.h from
i915_drv.h, reducing the build dependencies.

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b03711b2286396b2e9d5822f6adef4e7a6dc0f7b.1644507885.git.jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_create.c
drivers/gpu/drm/i915/gvt/dmabuf.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c