MLK-17225 gpu: imx: imx8_dprc: Directly map color component for 32bit RGB pixels
authorLiu Ying <victor.liu@nxp.com>
Fri, 15 Dec 2017 08:51:39 +0000 (16:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:45 +0000 (14:51 -0500)
commit30f6d2b599fdd6a12528bd7280f5ead69976acbf
tree29203455aba475305e3e85bf74dd9df13a943b82
parent4432d206c357b02d6a94880f91f36164b2528a47
MLK-17225 gpu: imx: imx8_dprc: Directly map color component for 32bit RGB pixels

The DPR prefetch engine has the A/R/G/B_COMP_SEL fields in the
MODE_CTRL0 register to control the color component position
mapping from input to output.  We may choose to use direct mapping
and leave the pixel format to be handled by the display controllers.

Fixes: a0a3a82f90e9 ("MLK-15110-3 gpu: imx: Add i.MX8 DPR(Display Prefetch Resolve) support")
Reported-by: Richard Liu <xuegang.liu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/imx/imx8_dprc.c