diff options
-rw-r--r-- | drivers/video/fbdev/intelfb/intelfbhw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/intelfb/intelfbhw.c b/drivers/video/fbdev/intelfb/intelfbhw.c index fbad61da359f..d31ed4e2c46f 100644 --- a/drivers/video/fbdev/intelfb/intelfbhw.c +++ b/drivers/video/fbdev/intelfb/intelfbhw.c | |||
@@ -1191,7 +1191,6 @@ int intelfbhw_mode_to_hw(struct intelfb_info *dinfo, | |||
1191 | vsync_end = vsync_start + var->vsync_len; | 1191 | vsync_end = vsync_start + var->vsync_len; |
1192 | vtotal = vsync_end + var->upper_margin; | 1192 | vtotal = vsync_end + var->upper_margin; |
1193 | vblank_start = vactive; | 1193 | vblank_start = vactive; |
1194 | vblank_end = vtotal; | ||
1195 | vblank_end = vsync_end + 1; | 1194 | vblank_end = vsync_end + 1; |
1196 | 1195 | ||
1197 | DBG_MSG("V: act %d, ss %d, se %d, tot %d bs %d, be %d\n", | 1196 | DBG_MSG("V: act %d, ss %d, se %d, tot %d bs %d, be %d\n", |
@@ -1859,7 +1858,7 @@ void intelfbhw_cursor_init(struct intelfb_info *dinfo) | |||
1859 | tmp = INREG(CURSOR_CONTROL); | 1858 | tmp = INREG(CURSOR_CONTROL); |
1860 | tmp &= ~(CURSOR_FORMAT_MASK | CURSOR_GAMMA_ENABLE | | 1859 | tmp &= ~(CURSOR_FORMAT_MASK | CURSOR_GAMMA_ENABLE | |
1861 | CURSOR_ENABLE | CURSOR_STRIDE_MASK); | 1860 | CURSOR_ENABLE | CURSOR_STRIDE_MASK); |
1862 | tmp = CURSOR_FORMAT_3C; | 1861 | tmp |= CURSOR_FORMAT_3C; |
1863 | OUTREG(CURSOR_CONTROL, tmp); | 1862 | OUTREG(CURSOR_CONTROL, tmp); |
1864 | OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.offset << 12); | 1863 | OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.offset << 12); |
1865 | tmp = (64 << CURSOR_SIZE_H_SHIFT) | | 1864 | tmp = (64 << CURSOR_SIZE_H_SHIFT) | |