[PATCH 2/2] drm/radeon/kms: fix the colorbuffer CS checker for r300-r500

2010-09-12 Thread Marek Olšák
Tested-by: Sven Arvidsson Posted here: https://bugs.freedesktop.org/show_bug.cgi?id=30036#c6 On Sun, Sep 12, 2010 at 5:09 AM, Marek Ol??k wrote: > This commit fixes bogus CS rejection if it contains a sequence > of the following operations: > > - Set the color buffer 0. track->cb[i].robj

[PATCH 2/2] drm/radeon/kms: fix the colorbuffer CS checker for r300-r500

2010-09-12 Thread Marek Olšák
This commit fixes bogus CS rejection if it contains a sequence of the following operations: - Set the color buffer 0. track->cb[i].robj becomes non-NULL. - Render. - Set a larger zbuffer than the previously-set color buffer. - Set a larger scissor area as well. - Set the color channel mask to 0

Re: [PATCH 2/2] drm/radeon/kms: fix the colorbuffer CS checker for r300-r500

2010-09-12 Thread Marek Olšák
Tested-by: Sven Arvidsson s...@whiz.se Posted here: https://bugs.freedesktop.org/show_bug.cgi?id=30036#c6 On Sun, Sep 12, 2010 at 5:09 AM, Marek Olšák mar...@gmail.com wrote: This commit fixes bogus CS rejection if it contains a sequence of the following operations: - Set the color buffer

[PATCH 2/2] drm/radeon/kms: fix the colorbuffer CS checker for r300-r500

2010-09-11 Thread Marek Olšák
This commit fixes bogus CS rejection if it contains a sequence of the following operations: - Set the color buffer 0. track-cb[i].robj becomes non-NULL. - Render. - Set a larger zbuffer than the previously-set color buffer. - Set a larger scissor area as well. - Set the color channel mask to 0 to