summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
diff options
context:
space:
mode:
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>2019-10-15 09:10:36 +0000
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>2019-10-16 17:54:49 +0800
commitf61714cd5bd3610794c1eb76fc96a7041b76a3a4 (patch)
tree464b59b2cc1456805092ba7d08b9dede2dae0561 /drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
parentf9204ad9cd8ed83e2d10ab3294df62e03ddad1f3 (diff)
downloadlwn-f61714cd5bd3610794c1eb76fc96a7041b76a3a4.tar.gz
lwn-f61714cd5bd3610794c1eb76fc96a7041b76a3a4.zip
drm/komeda: Adds output-color format support
Sets output color format according to the connector formats and display supported formats. Default value is RGB444 and only force YUV format which must be YUV. 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: james qian wang (Arm Technology China) <james.qian.wang@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191015091019.26021-1-lowry.li@arm.com
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h')
-rw-r--r--drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
index 467e891500a9..bd6ca7c87037 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h
@@ -325,7 +325,7 @@ struct komeda_improc {
struct komeda_improc_state {
struct komeda_component_state base;
- u8 color_depth;
+ u8 color_format, color_depth;
u16 hsize, vsize;
};