MLK-17703-5: drm: imx: dcss: ignore the 8 bit for input pipe
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 23 Mar 2018 12:48:13 +0000 (07:48 -0500)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:00 +0000 (18:46 +0800)
Since the input of HDR10 is always 10-bit, ignore 8-bit flags when
setting up the output pipe.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-hdr10.c

index 6f2a9ff..d588893 100644 (file)
@@ -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);