View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003489 | fsimx_Linux | HDMI | public | 2018-09-28 13:07 | 2019-01-30 11:29 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | fsimx6-V3.1 | ||||
Target Version | fsimx6-B2019.08 | Fixed in Version | fsimx6-B2019.08 | ||
Summary | 0003489: hdmi color mapping not configurable over devicetree | ||||
Description | The 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 Reproduce | Switch it to... #define CONFIG_QBLISSA9R2_HDMI_PIX_FMT "BGR24" | ||||
Forum Link | |||||
|
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; |