]> 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)
commit394d9d5fbea90b9786c01a97aa286eadd06e0eee
treef06b3786f36450df962791939f489b8634b3d51a
parentefd53673ee83141a87f546282f449a05a2c6dcf6
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