AnsweredAssumed Answered

Programmatically change HDMI resolution on i.MX.6Q

Question asked by Allen Wang on Jun 17, 2013
Latest reply on Jun 24, 2013 by Daiane Angolini
Branched to a new discussion

Does anyone know how to change HDMI resolution by C/C++ program?

I'd like to achieve the same result as right click on the "Windows Desktop" and adjust the resolution.


Right now I can change HDMI resolution only by setting the u-boot environment variable (bootargs_base=setenv bootargs console=ttymxc0,115200 enable_wait_mode=off video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 dmfc=3), but I can't freely choose the resolution I want.


By using cat /sys/devices/platform/mxc_sdc_fb.0/graphics/fb0/modes , it shows





I guess the HDMI resolution can only be changed to 640x480/1920x1080, but what does the initial V/D/U means?


Another question is how to cut the HDMI output signal on demand to achieve something like screen(energy) saving?


Can someone help me out please, thanks a lot!!