summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-12-19 11:45:19 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:38 +0100
commit59bb610922257de60e3ece5c0f699bd929c4f1f6 (patch)
tree90ed88ec5f76c3c9c65940b23228d13d531e7f2d
parent92a88c33f0b063f0a6a6beff9d67506b5adcc242 (diff)
downloadu-boot-imx-59bb610922257de60e3ece5c0f699bd929c4f1f6.zip
u-boot-imx-59bb610922257de60e3ece5c0f699bd929c4f1f6.tar.gz
u-boot-imx-59bb610922257de60e3ece5c0f699bd929c4f1f6.tar.bz2
videomodes: Add a bunch of high res modes
Add modes useful for hd-tvs and modern monitors. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--drivers/video/videomodes.c4
-rw-r--r--drivers/video/videomodes.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/video/videomodes.c b/drivers/video/videomodes.c
index e8a0f2e..245917f 100644
--- a/drivers/video/videomodes.c
+++ b/drivers/video/videomodes.c
@@ -100,6 +100,10 @@ const struct ctfb_res_modes res_mode_init[RES_MODES_COUNT] = {
{1152, 864, 75, 9259, 108000, 256, 64, 32, 1, 128, 3, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED},
{1280, 1024, 60, 9259, 108000, 248, 48, 38, 1, 112, 3, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED},
#endif
+ {1280, 720, 60, 13468, 74250, 220, 110, 20, 5, 40, 5, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED},
+ {1360, 768, 60, 11696, 85500, 256, 64, 17, 3, 112, 7, 0, FB_VMODE_NONINTERLACED},
+ {1920, 1080, 60, 6734, 148500, 148, 88, 36, 4, 44, 5, FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED},
+ {1920, 1200, 60, 6494, 154000, 80, 48, 26, 3, 32, 6, FB_SYNC_HOR_HIGH_ACT, FB_VMODE_NONINTERLACED},
};
/************************************************************************
diff --git a/drivers/video/videomodes.h b/drivers/video/videomodes.h
index 94b13e6..579c685 100644
--- a/drivers/video/videomodes.h
+++ b/drivers/video/videomodes.h
@@ -64,7 +64,11 @@ struct ctfb_vesa_modes {
#define RES_MODE_960_720 3
#define RES_MODE_1152x864 4
#define RES_MODE_1280x1024 5
-#define RES_MODES_COUNT 6
+#define RES_MODE_1280x720 6
+#define RES_MODE_1360x768 7
+#define RES_MODE_1920x1080 8
+#define RES_MODE_1920x1200 9
+#define RES_MODES_COUNT 10
#define VESA_MODES_COUNT 19