drm/i915: prepare for drmP.h removal from drm_modeset_helper.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 26 Jan 2019 12:25:24 +0000 (13:25 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Feb 2019 20:47:51 +0000 (21:47 +0100)
commitd0e93599d396db606489104a1166c425f365696c
treefa5201a5eb25086653d90e7ea76fa078450f6815
parent96bae04347b249567a1f87b6ec9ba3bd3369e518
drm/i915: prepare for drmP.h removal from drm_modeset_helper.h

The use of drmP.h is discouraged and removal of it from
drm_modeset_helper.h caused i915 to fail to build.

This patch introduce the necessary fixes to prepare for the
drmP.h removal from drm_modeset_helper.h.

In the files touched the lists of include files was grouped
and sorted.

Build tested on x86 and arm allmodconfig / allyesconfig.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190126122527.11647-3-sam@ravnborg.org
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c