View Issue Details

IDProjectCategoryView StatusLast Update
0003489fsimx_LinuxHDMIpublic2019-01-30 11:29
ReporterrautenbergAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionfsimx6-V3.1 
Target Versionfsimx6-B2019.08Fixed in Versionfsimx6-B2019.08 
Summary0003489: hdmi color mapping not configurable over devicetree
DescriptionThe option in the devicetree for the hdmi color mapping doesn't set the map.

e.g.
#define CONFIG_QBLISSA9R2_HDMI_PIX_FMT "RGB24"
Steps To ReproduceSwitch it to...
#define CONFIG_QBLISSA9R2_HDMI_PIX_FMT "BGR24"
Forum Link

Relationships

related to 0003805 resolvedKeller Add swapped pixel format for QBlissA9/QBlissA9r2 to fix lane swapping bug 

Activities

rautenberg

2018-09-28 13:19

developer   ~0001921

Last edited: 2018-09-28 14:40

In the linux/drivers/video/fbdev/mxc/mxc_hdmi.c file is a function named mxc_hdmi_disp_init() where a hardcoded hdmi color mapping is set.

setting->if_fmt = IPU_PIX_FMT_RGB24;

This is not neccessary.
The setting is already available in setting->if_fmt.
Just delete it.

it is made already available by the following functions and can be found on the following locations:

linux/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
mxcfb_option_setup()
pdata->interface_pix_fmt = IPU_PIX_FMT_RGB24;

linux/drivers/video/fbdev/mxc/mxc_ipuv3_fb.c
mxcfb_dispdrv_init()
setting.if_fmt = plat_data->interface_pix_fmt;