AnsweredAssumed Answered

Android driver not support 5:4 resolution only support 4:3 and 16:9 resolution

Question asked by tsung li wang on Aug 27, 2018
Latest reply on Aug 27, 2018 by igorpadykov

Hi Community,

I'm working on i.MX6 Quad sabreSD platform and build Android 6.0 as my image.

 

Here is the situation that I can not solve now.

Android kernel driver will set HDMI resolution parameter in mxc_edid.c.

Take the one setting for instance.

Below is 1280*720 resolution settings.

/* #4: 1280x720p@59.94/60Hz 16:9 */
[4] = {
NULL, 60, 1280, 720, 13468, 220, 110, 20, 5, 40, 5,
FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0
},

For 1280x720p resolution it support FB_VMODE_ASPECT_16_9.

And for other resolution such as 720x480p resolution it suport FB_VMODE_ASPECT_4_3.

 

But today I need to set a resolution for 1280x1024, this resolution would need support FB_VMODE_ASPECT_5_4.

But Android kernel driver seems not support this kind of mode, it means that there is no FB_VMODE_ASPECT_5_4 that I could defined.

 

For this situation how can I display 1280x1024?

 

Please help!

 

Thanks in Advanced!

Outcomes