[PATCH v6 1/4] drm: drm_helper_crtc_enable_color_mgmt() => drm_crtc_enable_color_mgmt()

Tomi Valkeinen tomi.valkeinen at ti.com
Tue Jun 7 16:54:35 UTC 2016


On 07/06/16 15:09, Jyri Sarha wrote:
> 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 at ffwll.ch>
> Signed-off-by: Jyri Sarha <jsarha at ti.com>
> ---
>  drivers/gpu/drm/drm_crtc.c         | 45 ++++++++++++++++++++++++++++++++++++++
>  drivers/gpu/drm/drm_crtc_helper.c  | 33 ----------------------------
>  drivers/gpu/drm/i915/intel_color.c |  3 ++-
>  include/drm/drm_crtc.h             |  5 ++++-
>  include/drm/drm_crtc_helper.h      |  3 ---
>  5 files changed, 51 insertions(+), 38 deletions(-)

Looks good to me. I can queue this up with the omapdrm patches in this
series, if no one complains.

 Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160607/0670ef8b/attachment.sig>


More information about the dri-devel mailing list