]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf8ed34ac7b453296cf36d6eb7ae911de353e1351
treef06b3786f36450df962791939f489b8634b3d51a
parenta1dec226a686077a9822013e601327b189f419df
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