drm/komeda: Enable color-encoding (YUV format) support
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>
Thu, 16 May 2019 06:13:13 +0000 (07:13 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 19 Jun 2019 10:42:17 +0000 (11:42 +0100)
commit9682dee9822246c4ea3d320ff8c96afc54163c89
treedd02f8e75743db0dcf0ef29bc2e3b30d32ecdefd
parent97e659d4670fc78ef7e0d2e7500d54a402c0a0be
drm/komeda: Enable color-encoding (YUV format) support

Adds color-encoding properties if layer can support YUV format.
Updates HW YUV-RGB matrix state according to the color-encoding
properties.

Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/Makefile
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c [new file with mode: 0644]
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.h [new file with mode: 0644]
drivers/gpu/drm/arm/display/komeda/komeda_plane.c