Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114866
b: refs/heads/master
c: 1a3b09d
h: refs/heads/master
v: v3
  • Loading branch information
Jon Dufresne authored and Linus Torvalds committed Oct 16, 2008
1 parent e57cc4c commit 8732e5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1fd1c0764e1a399ccb12e2d261603fe96d2e420
refs/heads/master: 1a3b09dc9aeaaab25ff736c2443df423a8fb655e
8 changes: 7 additions & 1 deletion trunk/drivers/video/fbmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,13 @@ static void get_detailed_timing(unsigned char *block,
mode->sync |= FB_SYNC_VERT_HIGH_ACT;
mode->refresh = PIXEL_CLOCK/((H_ACTIVE + H_BLANKING) *
(V_ACTIVE + V_BLANKING));
mode->vmode = 0;
if (INTERLACED) {
mode->yres *= 2;
mode->upper_margin *= 2;
mode->lower_margin *= 2;
mode->vsync_len *= 2;
mode->vmode |= FB_VMODE_INTERLACED;
}
mode->flag = FB_MODE_IS_DETAILED;

DPRINTK(" %d MHz ", PIXEL_CLOCK/1000000);
Expand Down

0 comments on commit 8732e5a

Please sign in to comment.