From 04d3715d341d003c4d4c7de62c6c1a7f2c1b0055 Mon Sep 17 00:00:00 2001 From: Raphael Assenat Date: Tue, 3 Oct 2006 01:15:05 -0700 Subject: [PATCH] --- yaml --- r: 38072 b: refs/heads/master c: 5c60b118d62c14ad7586ed6a6e537c3294c90227 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/mbx/mbxfb.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index dbf5f9d765d6..8318b6921742 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8bc218410d6c2b22a7581fac6f3dc2ac1f8fc99f +refs/heads/master: 5c60b118d62c14ad7586ed6a6e537c3294c90227 diff --git a/trunk/drivers/video/mbx/mbxfb.c b/trunk/drivers/video/mbx/mbxfb.c index cfc6bf3615b5..a32d1af79e07 100644 --- a/trunk/drivers/video/mbx/mbxfb.c +++ b/trunk/drivers/video/mbx/mbxfb.c @@ -255,8 +255,8 @@ static int mbxfb_set_par(struct fb_info *info) /* setup resolution */ gsctrl &= ~(FMsk(GSCTRL_GSWIDTH) | FMsk(GSCTRL_GSHEIGHT)); - gsctrl |= Gsctrl_Width(info->var.xres - 1) | - Gsctrl_Height(info->var.yres - 1); + gsctrl |= Gsctrl_Width(info->var.xres) | + Gsctrl_Height(info->var.yres); writel(gsctrl, GSCTRL); udelay(1000); @@ -413,8 +413,8 @@ static void __devinit setup_graphics(struct fb_info *fbi) { unsigned long gsctrl; - gsctrl = GSCTRL_GAMMA_EN | Gsctrl_Width(fbi->var.xres - 1) | - Gsctrl_Height(fbi->var.yres - 1); + gsctrl = GSCTRL_GAMMA_EN | Gsctrl_Width(fbi->var.xres) | + Gsctrl_Height(fbi->var.yres); switch (fbi->var.bits_per_pixel) { case 16: if (fbi->var.green.length == 5)