drm: extract drm_modes.h for drm_crtc.h functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Jan 2014 14:52:20 +0000 (15:52 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Mar 2014 11:48:41 +0000 (12:48 +0100)
commit55310008684309985110fdb99fa7b61c649778b2
treedcffa70036a49228aede596ac0da5c7162f3830b
parent8bd441b27e85834533df26a7f1c2c9289303c5ef
drm: extract drm_modes.h for drm_crtc.h functions

I want to also include kerneldoc from the header (for static inline
functions and structs), but fishing the right pieces out of a giant
header is a real pain. So split things out.

Note that it's not a really clean header with sane include orders, but
given's drm historical knack for giant headers detangling this is a
major task.

v2: Also extract struct drm_cmdline_mode.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_modes.c
include/drm/drmP.h
include/drm/drm_crtc.h
include/drm/drm_modes.h [new file with mode: 0644]