[PATCH] drm/radeon/r600: fix tiling issues in CS checker.

2010-10-21 Thread Dave Airlie
From: Dave Airlie The CS checker had some incorrect alignment requirements for 2D surfaces, this made rendering to mipmap levels that were 2D broken. Also the CB height was being worked out from the BO size, this doesn't work at all when rendering mipmap levels, instead we work out what height u

[PATCH] drm/radeon/r600: fix tiling issues in CS checker.

2010-10-21 Thread Alex Deucher
On Wed, Oct 20, 2010 at 11:55 PM, Dave Airlie wrote: > From: Dave Airlie > > The CS checker had some incorrect alignment requirements for 2D surfaces, > this made rendering to mipmap levels that were 2D broken. > > Also the CB height was being worked out from the BO size, this doesn't work > at a

Re: [PATCH] drm/radeon/r600: fix tiling issues in CS checker.

2010-10-21 Thread Alex Deucher
On Wed, Oct 20, 2010 at 11:55 PM, Dave Airlie wrote: > From: Dave Airlie > > The CS checker had some incorrect alignment requirements for 2D surfaces, > this made rendering to mipmap levels that were 2D broken. > > Also the CB height was being worked out from the BO size, this doesn't work > at a

[PATCH] drm/radeon/r600: fix tiling issues in CS checker.

2010-10-20 Thread Dave Airlie
From: Dave Airlie The CS checker had some incorrect alignment requirements for 2D surfaces, this made rendering to mipmap levels that were 2D broken. Also the CB height was being worked out from the BO size, this doesn't work at all when rendering mipmap levels, instead we work out what height u