drm/mode: Unstatic kernel-userspace mode conversion
authorDaniel Stone <daniels@collabora.com>
Fri, 22 May 2015 12:34:48 +0000 (13:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 14:18:21 +0000 (16:18 +0200)
commit934a8a899a7275ed187810fe9a15a93397e88c6b
treebd85d29fc2eb0bd6a5ec899efea361245e55e35d
parent7dec9a9648f825a0698fd875d2834b597f122bd6
drm/mode: Unstatic kernel-userspace mode conversion

Move the drm_display_mode <-> drm_mode_modeinfo conversion functions
from drm_crtc.c to drm_modes.c, and make them non-static so that others
can use them.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_modes.c
include/drm/drm_modes.h