drm: Extract drm_color_mgmt.[hc]
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Sep 2016 08:59:28 +0000 (10:59 +0200)
committerSean Paul <seanpaul@chromium.org>
Thu, 22 Sep 2016 07:04:02 +0000 (00:04 -0700)
commitf1e2f66ce2d9f732fec184ab885fba4b53c06016
tree5881a515e6cd2e94a14d17ca36a40eeed0e9d023
parent1e4d84c6589e9e9d19884e705085fe4a1885b012
drm: Extract drm_color_mgmt.[hc]

For both the new degamm/lut/gamma atomic combo, and the old legacy
gamma tables.

Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1474448370-32227-5-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_color_mgmt.c [new file with mode: 0644]
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_internal.h
include/drm/drm_color_mgmt.h [new file with mode: 0644]
include/drm/drm_crtc.h