How to get 1366x768, 800x600 output over HDMI?

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

How to get 1366x768, 800x600 output over HDMI?

1,547 Views
jiangshao
Contributor V

Dear FAE

I have a imx6dl sabre-sd board(with PMIC)(not fsl original).

The OS is JB4.2.2.

I want to know how to get 1366x768, 800x600 output over HDMI?

BTW,

According to this patch, HDMI can output 1024*768 correctly.

----------------

diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c

index c5069aa..ed1e084 100644

--- a/drivers/video/mxc_hdmi.c

+++ b/drivers/video/mxc_hdmi.c

@@ -101,7 +101,7 @@ static const struct fb_videomode vga_mode = {

static const struct fb_videomode xga_mode = {

  /* 13 1024x768-60 VESA */

  NULL, 60, 1024, 768, 15384, 160, 24, 29, 3, 136, 6,

- 0, FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA

+ 0, FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_4_3, FB_MODE_IS_VESA

};

static const struct fb_videomode sxga_mode = {

@@ -1796,6 +1796,7 @@ static void mxc_hdmi_edid_rebuild_modelist(struct mxc_hdmi *hdmi)

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

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

+ fb_add_videomode(&xga_mode, &hdmi->fbi->modelist);

  for (i = 0; i < hdmi->fbi->monspecs.modedb_len; i++) {

  /*

0 Kudos
3 Replies

781 Views
igorpadykov
NXP Employee
NXP Employee

Hi jiang

hdmi supports only modes which are found in  struct fb_videomode,

so one can add timings for 1366x768, 800x600 modes based on datasheet

of these monitors. One can use mentioned 1024*768 fb_videomode as example.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

781 Views
jiangshao
Contributor V

Thank you for your reply.

I think you are right.

But I don't have the datasheet of these monitors.

I just want to know where can get the values like

"15384, 160, 24, 29, 3, 136, 6,"

Are there typical values?

0 Kudos

781 Views
igorpadykov
NXP Employee
NXP Employee

these values should be provided in the datasheet of these monitors.

One can try to find similar monitor datasheets and use them just for luck.

~igor

0 Kudos