Subject: CVS commit: xsrc/xfree/xc/programs/Xserver/hw/xfree86/common
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 06/15/2006 14:18:15
Module Name:	xsrc
Committed By:	jmmv
Date:		Thu Jun 15 14:18:15 UTC 2006

Modified Files:
	xsrc/xfree/xc/programs/Xserver/hw/xfree86/common: xf86fbman.c

Log Message:
Let xf86AllocateOffscreenLinear() allocate even when the requested
granularity doesn't match the front buffer pitch by allocating a bit
more and aligning the result.

Fixes Xvideo on some resolutions and drivers such as 1680x1050 on nv.

Patch from https://bugs.freedesktop.org/show_bug.cgi?id=6151 by
Benjamin Herrenschmidt.

OK'ed by tron@.


To generate a diff of this commit:
cvs rdiff -r1.1.1.6 -r1.2 \
    xsrc/xfree/xc/programs/Xserver/hw/xfree86/common/xf86fbman.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.