AnsweredAssumed Answered

i.MX6Q HDMI can only support these modes?

Question asked by zhiyan cao on Feb 8, 2014
Latest reply on Feb 10, 2014 by zhiyan cao

At /drivers/video/mxc/mxc_edid.c,

const struct fb_videomode mxc_cea_mode[64] = {

  /* #1: 640x480p@59.94/60Hz 4:3 */

  [1] = {

  NULL, 60, 640, 480, 39722, 48, 16, 33, 10, 96, 2, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, 0,

  },

  /* #2: 720x480p@59.94/60Hz 4:3 */

  [2] = {

  NULL, 60, 720, 480, 37037, 60, 16, 30, 9, 62, 6, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, 0,

  },

  /* #3: 720x480p@59.94/60Hz 16:9 */

  [3] = {

  NULL, 60, 720, 480, 37037, 60, 16, 30, 9, 62, 6, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #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

  },

  /* #5: 1920x1080i@59.94/60Hz 16:9 */

  [5] = {

  NULL, 60, 1920, 1080, 13763, 148, 88, 15, 2, 44, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_INTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #6: 720(1440)x480iH@59.94/60Hz 4:3 */

  [6] = {

  NULL, 60, 1440, 480, 18554/*37108*/, 114, 38, 15, 4, 124, 3, 0,

  FB_VMODE_INTERLACED | FB_VMODE_ASPECT_4_3, 0,

  },

  /* #7: 720(1440)x480iH@59.94/60Hz 16:9 */

  [7] = {

  NULL, 60, 1440, 480, 18554/*37108*/, 114, 38, 15, 4, 124, 3, 0,

  FB_VMODE_INTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #8: 720(1440)x240pH@59.94/60Hz 4:3 */

  [8] = {

  NULL, 60, 1440, 240, 18554, 114, 38, 16, 4, 124, 3, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #9: 720(1440)x240pH@59.94/60Hz 16:9 */

  [9] = {

  NULL, 60, 1440, 240, 18554, 114, 38, 16, 4, 124, 3, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #16: 1920x1080p@60Hz 16:9 */

  [16] = {

  NULL, 60, 1920, 1080, 6734, 148, 88, 36, 4, 44, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #17: 720x576pH@50Hz 4:3 */

  [17] = {

  NULL, 50, 720, 576, 37037, 68, 12, 39, 5, 64, 5, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, 0,

  },

  /* #18: 720x576pH@50Hz 16:9 */

  [18] = {

  NULL, 50, 720, 576, 37037, 68, 12, 39, 5, 64, 5, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #19: 1280x720p@50Hz */

  [19] = {

  NULL, 50, 1280, 720, 13468, 220, 440, 20, 5, 40, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #20: 1920x1080i@50Hz */

  [20] = {

  NULL, 50, 1920, 1080, 13480, 148, 528, 15, 5, 528, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_INTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #31: 1920x1080p@50Hz */

  [31] = {

  NULL, 50, 1920, 1080, 6734, 148, 528, 36, 4, 44, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #32: 1920x1080p@23.98/24Hz */

  [32] = {

  NULL, 24, 1920, 1080, 13468, 148, 638, 36, 4, 44, 5,

  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_16_9, 0,

  },

  /* #35: (2880)x480p4x@59.94/60Hz */

  [35] = {

  NULL, 60, 2880, 480, 9250, 240, 64, 30, 9, 248, 6, 0,

  FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, 0,

  };

 

my hdmi display monitor have 20 mode, but it only match the  first item in mxc_cea_mode, so at last, my hdmi only work on 640*480.

the array can add other mode by myself?

Outcomes