video: add 1920x1440(12) and 2048x1536(13) modes to standard resolutions.

This commit is contained in:
sorgelig
2020-05-27 02:49:11 +08:00
parent 1b9079ee6d
commit 5d80055955
2 changed files with 4 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ dvi_mode=0 ; set to 1 for DVI mode. Audio won't be transmitted throu
; 9 - 1920x1080@50
;10 - 1366x768@60
;11 - 1024x600@60
;12 - 1920x1440@60
;13 - 2048x1536@60
;
; custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz
; video_mode=1280,110,40,220,720,5,5,20,74250

View File

@@ -81,6 +81,8 @@ vmode_t vmodes[] =
{ { 1920, 528, 44, 148, 1080, 4, 5, 36 }, 148.5 }, //9
{ { 1366, 70, 143, 213, 768, 3, 3, 24 }, 85.5 }, //10
{ { 1024, 40, 104, 144, 600, 1, 3, 18 }, 48.96 }, //11
{ { 1920, 48, 32, 80, 1440, 2, 4, 38 }, 185.203 }, //12
{ { 2048, 48, 32, 80, 1536, 2, 4, 38 }, 209.318 }, //13
};
#define VMODES_NUM (sizeof(vmodes) / sizeof(vmodes[0]))