[PATCH] drm/udl: fix stride issues scanning out stride != width*bpp

2012-11-01 Thread Dave Airlie
From: Dave Airlie When buffer sharing with the i915 and using a 1680x1050 monitor, the i915 gives is a 6912 buffer for the 6720 width, the code doesn't render this properly as it uses one value to set the base address for reading from the vmap and for where to start on the

[PATCH] drm/udl: fix stride issues scanning out stride != width*bpp

2012-11-01 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com When buffer sharing with the i915 and using a 1680x1050 monitor, the i915 gives is a 6912 buffer for the 6720 width, the code doesn't render this properly as it uses one value to set the base address for reading from the vmap and for where to start on the