Re: Linuv 2.6.15-rc1

Michal Piotrowski
2005-11-12T17:52:47Z

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@pol.net>

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);