How to add HDMI resolution to i.MX6 Yocto BSP.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add HDMI resolution to i.MX6 Yocto BSP.

2,925 次查看
satoshishimoda
Senior Contributor I

Hi community,

Our partner want to output WXGA or WUXGA screen via HDMI.

They added the tables for WXGA and WUXGA in drivers/video/mxc/mxc_hdmi.c in L3.10.17-ga BSP similar as vga_mode (line 96).

However, it was not work well when video playback.

Actually, video playback speed was 1.2 times.

So we want to know how to add a new resolution to HDMI display.

Could you let me know correct procedure?

Best Regards,

Satoshi Shimoda

标记 (1)
3 回复数

1,652 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls send the detailed modified source code to me, and what uboot command did you use?

0 项奖励
回复

1,652 次查看
satoshishimoda
Senior Contributor I

Hi Guanqion Xie,

We modified mxc_hdmi_edid_rebuild_modelist function in drivers/video/mxc/mxc_hdmi.c as following.

fb_destroy_modelist(&hdmi->fbi->modelist);

fb_add_videomode(&vga_mode, &hdmi->fbi->modelist);

fb_add_videomode(&wxga_mode, &hdmi->fbi->modelist);    <- add

fb_add_videomode(&wuxga_mode, &hdmi->fbi->modelist);  <- add

After adding the above code, user will be able to change HDMI resolation to 1280x800 by the following command after Linux BSP boot.

xrandr.png

Best Regards,

Satoshi Shimoda

1,652 次查看
satoshishimoda
Senior Contributor I

Could you give me a advice about this issue?

0 项奖励
回复