diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-11-21 16:39:08 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-12-03 14:42:14 +0800 |
commit | 4f972f7f972e88802c848b930e83824360801484 (patch) | |
tree | 6855e7d76e945f50b32b78f8030f7d50bb2991f9 /include | |
parent | c642d473befea9f435c4e6fd36b6ac212168c48d (diff) |
ENGR00290361-1 IPUv3 IC:Add check for a IDMAC errata
The IPUv3 IDMAC has a bug to read 32bpp pixels from a
graphics plane whose alpha component is at the most
significant 8 bits. The bug only impacts on cases in which
the relevant separate alpha channel is enabled.
This patch adds check for the errata so that the bad
cases won't be triggered.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipu-v3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipu-v3.h b/include/linux/ipu-v3.h index b3a9954e71d9..c57d7ded4f6a 100644 --- a/include/linux/ipu-v3.h +++ b/include/linux/ipu-v3.h @@ -728,6 +728,8 @@ void ipu_csi_set_window_pos(struct ipu_soc *ipu, uint32_t left, uint32_t top, ui uint32_t bytes_per_pixel(uint32_t fmt); +bool ipu_ch_param_bad_alpha_pos(uint32_t fmt); + struct ipuv3_fb_platform_data { char disp_dev[32]; u32 interface_pix_fmt; |