From ac912354818ca256c23a1a12e7b64817a29c78b8 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Fri, 23 Mar 2018 07:48:13 -0500 Subject: [PATCH] MLK-17703-5: drm: imx: dcss: ignore the 8 bit for input pipe Since the input of HDR10 is always 10-bit, ignore 8-bit flags when setting up the output pipe. Signed-off-by: Laurentiu Palcu --- drivers/gpu/imx/dcss/dcss-hdr10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/imx/dcss/dcss-hdr10.c b/drivers/gpu/imx/dcss/dcss-hdr10.c index 6f2a9ffd5342..d5888936034f 100644 --- a/drivers/gpu/imx/dcss/dcss-hdr10.c +++ b/drivers/gpu/imx/dcss/dcss-hdr10.c @@ -651,6 +651,6 @@ void dcss_hdr10_setup(struct dcss_soc *dcss, int ch_num, * Input pipe configuration doesn't matter for configuring the output * pipe. So, will just mask off the input part of the descriptor. */ - dcss_hdr10_pipe_setup(dcss, OPIPE_CH_NO, desc | 0xffff); + dcss_hdr10_pipe_setup(dcss, OPIPE_CH_NO, desc | 0xfffe); } EXPORT_SYMBOL(dcss_hdr10_setup); -- 2.17.1