How to set colorkey for IMX7D
Hello everyone,
My development board is the IMX7DSABRE board provided by the official website, the operating system version is Linux-4.9.88
I was reading the IMX7D official website manual (IMX7DRM) and found it in Section 13.7.3.27 Color Key Processing, page 4630. There is a use about colorkey. The manual introduces the need to set the corresponding registers, but I searched the entire manual and found no registers related to colorkey. Where is the description of colorkey related registers?
IMX7DRM document I added to the attachment
you can refer to the pxp device driver (drivers/dma/pxp/pxp_device.c) or the pxp v4l2 driver (drivers/media/platform/mxc/output/mxc_pxp_v4l2.c).
Hi 其东 刘 ,
Please check 13.7.13 PXP Memory Map/Register Definition in RM. You will find PS Color Key Low (PXP_HW_PXP_PS_CLRKEYLOW_0) & PS Color Key High (PXP_HW_PXP_PS_CLRKEYHIGH_0) and also Overlay Color Key Low (PXP_HW_PXP_AS_CLRKEYLOW_0) & Overlay Color Key High (PXP_HW_PXP_AS_CLRKEYHIGH_0) registers in that section.
Regards,
Karan Gajjar