drm: move drm_mode_legacy_fb_format to drm_fourcc.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Aug 2016 08:27:54 +0000 (10:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Aug 2016 13:37:28 +0000 (15:37 +0200)
commitec5e304747241823435b160d3eabf1295c06d2e3
tree297118f523b290d8e37f37bb829ea599a146c95c
parenta2511a557eb868dc5fb28808ef58bd8af2e51f3b
drm: move drm_mode_legacy_fb_format to drm_fourcc.c

It's part of the drm fourcc handling code, mapping the old depth/bpp
values to new fourcc codes.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160829082757.17913-6-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_fourcc.c
include/drm/drm_crtc.h
include/drm/drm_fourcc.h