|
没设备,但你可以试试
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++) {
/*
|
|