]> git.baikalelectronics.ru Git - kernel.git/commit
drm: drm_helper_crtc_enable_color_mgmt() => drm_crtc_enable_color_mgmt()
authorJyri Sarha <jsarha@ti.com>
Tue, 7 Jun 2016 12:09:14 +0000 (15:09 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 7 Jun 2016 14:10:49 +0000 (17:10 +0300)
commitb3625557364f69add9519cc31361987d2957e458
treef06b3786f36450df962791939f489b8634b3d51a
parent65cb594bbd91606757e117afbc4efa67b54515a5
drm: drm_helper_crtc_enable_color_mgmt() => drm_crtc_enable_color_mgmt()

Add drm_crtc_enable_color_mgmt(), remove drm_helper_crtc_enable_color_mgmt()
and update drm/i915-driver (the only user of the old function).

The new function is more flexible. It allows driver to enable only the
features it has without forcing to enable all three color management
properties: degamma lut, csc matrix (ctm), and gamma lut.

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/i915/intel_color.c
include/drm/drm_crtc.h
include/drm/drm_crtc_helper.h