Re: [Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-11 Thread Alex Deucher
On Sun, Oct 10, 2010 at 11:04 AM, Daniel Vetter wrote: > By calling radeon_draw_buffers (which sets the necessary flags > in radeon->NewGLState) and revalidating if NewGLState is non-zero > in r200TclPrimitive. This fixes an assert in libdrm (the color-/ > depthbuffer was changed but not yet valid

Re: [Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-11 Thread Alex Deucher
On Sat, Oct 9, 2010 at 4:33 PM, Daniel Vetter wrote: > By calling radeon_draw_buffers (which sets the necessary flags > in radeon->NewGLState) and revalidating if NewGLState is non-zero > in r200TclPrimitive. This fixes an assert in libdrm (the color-/ > depthbuffer was changed but not yet validat

Re: [Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-11 Thread Sedat Dilek
Hi, I have tested v2 on a RV250 (AGP), Linux-kernel 2.6.36-rc7-git2, mesa master GIT (commit e1003336f0dcd9248c0127fbdc173522e35c5bdb, "gallivm: Eliminate unsigned integer arithmetic from texture coordinates."), libdrm (2.4.22-1) and xorg-server (2:1.7.7-8), last both from official Debian/sid i386

[Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-10 Thread Daniel Vetter
By calling radeon_draw_buffers (which sets the necessary flags in radeon->NewGLState) and revalidating if NewGLState is non-zero in r200TclPrimitive. This fixes an assert in libdrm (the color-/ depthbuffer was changed but not yet validated) and and stops the kernel cs checker from complaining about

[Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-10 Thread Daniel Vetter
By calling radeon_draw_buffers (which sets the necessary flags in radeon->NewGLState) and revalidating if NewGLState is non-zero in r200TclPrimitive. This fixes an assert in libdrm (the color-/ depthbuffer was changed but not yet validated) and and stops the kernel cs checker from complaining about

Re: [Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-09 Thread Daniel Vetter
On Sat, Oct 09, 2010 at 02:08:10PM +0200, Mario Kleiner wrote: > > >On Oct 8, 2010, at 10:35 PM, Daniel Vetter wrote: > > > >>This seems to mitigate a crash in glxgears when I resize the window > >>like crazy. libdrm complains that the depthbuffer is not validated > >>(frontbuffer rendering, so th

Re: [Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-09 Thread Mario Kleiner
On Oct 8, 2010, at 10:35 PM, Daniel Vetter wrote: This seems to mitigate a crash in glxgears when I resize the window like crazy. libdrm complains that the depthbuffer is not validated (frontbuffer rendering, so the frontbuffer doesn't change). Problem not fully solved, though: After a while o

[Mesa-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-08 Thread Daniel Vetter
This seems to mitigate a crash in glxgears when I resize the window like crazy. libdrm complains that the depthbuffer is not validated (frontbuffer rendering, so the frontbuffer doesn't change). Problem not fully solved, though: After a while of constantly resizing the window the kernel cs checker