]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe3833a155701bc67e8561b7d0f549a42cf1a2cc
treedd02f8e75743db0dcf0ef29bc2e3b30d32ecdefd
parent2a8312e0f71c428e52e166d83bfa43ae108d3719
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