lkml.org 
[lkml]   [2005]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linuv 2.6.15-rc1
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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-11-12 18:55    [from the cache]
©2003-2011 Jasper Spaans