Re: Linuv 2.6.15-rc1

From: Michal Piotrowski
Date: Sat Nov 12 2005 - 12:52:29 EST


Hi,

Linus Torvalds wrote:

Ok,
there it is, go wild. Get the git trees, the tar-balls and the patches (some or all of tghe above may still be mirroring out but should show up shortly).


Please apply that patch. It's from Antonino Daplas and it fixes nvidia frame buffer problems.

Regards,
Michal Piotrowski

Signed-off-by: Antonino Daplas <adaplas@xxxxxxx>


diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c

index 0b40a2a..bee09c6 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1301,7 +1301,7 @@ static int nvidiafb_pan_display(struct f
struct nvidia_par *par = info->par;
u32 total;

- total = info->var.yoffset * info->fix.line_length + info->var.xoffset;
+ total = var->yoffset * info->fix.line_length + var->xoffset;

NVSetStartAddress(par, total);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/