Changeset f0d2261 in rtems


Ignore:
Timestamp:
Mar 3, 2012, 8:50:53 PM (8 years ago)
Author:
Xiangfu Liu <xiangfu at sharism dot cc>
Branches:
4.11, master
Children:
dc1a3b9
Parents:
ac16534
git-author:
Xiangfu Liu <xiangfu at sharism dot cc> (03/03/12 20:50:53)
git-committer:
Gedare Bloom <gedare@…> (03/03/12 20:50:53)
Message:

PR2029: Milkymist VGA: adjust video timings

Slightly adjust video timing registers since we had problems with a few screens and the previous values.

Signed-off-by: Gedare Bloom <gedare@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/lm32/shared/milkymist_framebuffer/framebuffer.c

    rac16534 rf0d2261  
    9999      MM_WRITE(MM_VGA_HSYNC_END, 752);
    100100      MM_WRITE(MM_VGA_HSCAN, 799);
    101       MM_WRITE(MM_VGA_VSYNC_START, 491);
    102       MM_WRITE(MM_VGA_VSYNC_END, 493);
    103       MM_WRITE(MM_VGA_VSCAN, 523);
     101      MM_WRITE(MM_VGA_VSYNC_START, 492);
     102      MM_WRITE(MM_VGA_VSYNC_END, 494);
     103      MM_WRITE(MM_VGA_VSCAN, 524);
    104104      MM_WRITE(MM_VGA_CLKSEL, 0);
    105105      break;
     
    110110      MM_WRITE(MM_VGA_HSYNC_END, 976);
    111111      MM_WRITE(MM_VGA_HSCAN, 1040);
    112       MM_WRITE(MM_VGA_VSYNC_START, 637);
    113       MM_WRITE(MM_VGA_VSYNC_END, 643);
    114       MM_WRITE(MM_VGA_VSCAN, 666);
     112      MM_WRITE(MM_VGA_VSYNC_START, 636);
     113      MM_WRITE(MM_VGA_VSYNC_END, 642);
     114      MM_WRITE(MM_VGA_VSCAN, 665);
    115115      MM_WRITE(MM_VGA_CLKSEL, 1);
    116116      break;
     
    121121      MM_WRITE(MM_VGA_HSYNC_END, 1184);
    122122      MM_WRITE(MM_VGA_HSCAN, 1344);
    123       MM_WRITE(MM_VGA_VSYNC_START, 771);
    124       MM_WRITE(MM_VGA_VSYNC_END, 777);
    125       MM_WRITE(MM_VGA_VSCAN, 806);
     123      MM_WRITE(MM_VGA_VSYNC_START, 772);
     124      MM_WRITE(MM_VGA_VSYNC_END, 778);
     125      MM_WRITE(MM_VGA_VSCAN, 807);
    126126      MM_WRITE(MM_VGA_CLKSEL, 2);
    127127      break;
Note: See TracChangeset for help on using the changeset viewer.