Mode Database

Rob Clark edited this page May 9, 2014 · 3 revisions

On current kernels, the pixel clk setting code (in mach-msm) supports only a fixed set of frequencies. To keep track of what frequencies are needed, this page is to keep track of different modes. Please add to it, but be sure to avoid duplicates. You can find these values for your monitor in /var/log/Xorg.0.log or drm debug kernel traces.

Mode Table

Keep sorted by pixel clock:

                            pixclk
                              |
                              V
Modeline 16:"1600x1200"  60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5
Modeline 21:"1440x900"   85 157000 1440 1544 1696 1952 900 903 909 948 0x40 0x6
Modeline 74:"1920x1080"  60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
Modeline 41:"1920x1080"  50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
Modeline 85:"1920x1080"  60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
Modeline 12:"1680x1050"  60 146250 1680 1784 1960 2240 1050 1053 1059 1089 0x48 0x6
Modeline 20:"1440x900"   75 136750 1440 1536 1688 1936 900 903 909 942 0x40 0x6
Modeline 18:"1280x1024"  75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
Modeline 14:"1280x1024"  60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
Modeline 13:"1280x960"   60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
Modeline 26:"1152x864"   75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
Modeline 15:"1440x900"   60  88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
Modeline 19:"1024x768"   75  78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
Modeline 20:"1024x768"   70  75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
Modeline 37:"1920x1080i" 60  74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Modeline 38:"1920x1080i" 50  74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
Modeline 17:"1280x720"   50  74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
Modeline 49:"1280x720"   60  74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Modeline 77:"1920x1080i" 60  74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Modeline 20:"1024x768"   60  65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
Modeline 23:"832x624"    75  57284 832 864 928 1152 624 625 628 667 0x40 0xa
Modeline 25:"800x600"    72  50000 800 856 976 1040 600 637 643 666 0x40 0x5
Modeline 24:"800x600"    75  49500 800 816 896 1056 600 601 604 625 0x40 0x5
Modeline 17:"800x600"    60  40000 800 840 968 1056 600 601 605 628 0x40 0x5
Modeline 24:"800x600"    56  36000 800 824 896 1024 600 601 603 625 0x40 0x5
Modeline 14:"640x480"    75  31500 640 656 720 840 480 481 484 500 0x40 0xa
Modeline 15:"640x480"    73  31500 640 664 704 832 480 489 491 520 0x40 0xa
Modeline 19:"720x400"    70  28320 720 738 846 900 400 412 414 449 0x40 0x6
Modeline 53:"1440x480i"  60  27027 1440 1478 1602 1716 480 488 494 525 0x40 0x101a
Modeline 50:"720x480"    60  27027 720 736 798 858 480 489 495 525 0x40 0xa
Modeline 39:"1440x576i"  50  27000 1440 1464 1590 1728 576 580 586 625 0x40 0x101a
Modeline 35:"1440x480i"  60  27000 1440 1478 1602 1716 480 488 494 525 0x40 0x101a
Modeline 14:"720x576"    50  27000 720 732 796 864 576 581 586 625 0x40 0xa
Modeline 13:"720x480"    60  27000 720 736 798 858 480 489 495 525 0x40 0xa
Modeline 18:"640x480"    60  25200 640 656 752 800 480 490 492 525 0x40 0xa
Modeline 52:"640x480"    60  25175 640 656 752 800 480 490 492 525 0x40 0xa

Frequencies Supported:

mdp4 / msm-3.4

  • 162000
  • 157000
  • 148500
  • 148352
  • 146250
  • 136750
  • 135000
  • 108000
  • 88750
  • 78800
  • 75000
  • 74250
  • 74176
  • 65000
  • 57284
  • 50000
  • 49500
  • 40000
  • 36000
  • 31500
  • 28320
  • 27027
  • 27000
  • 25200
  • 25175

mdp5

TBD

Notes

on 3.4 kernel, see clk_tbl_tv in arch/arm/mach-msm/clock-8960.c and hdmi_pll_set_rate in arch/arm/mach-msm/clock-dss-8960.c