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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,924 Views
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

Tags (1)
3 Replies

1,651 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,651 Views
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,651 Views
satoshishimoda
Senior Contributor I

Could you give me a advice about this issue?

0 Kudos
Reply