[Mesa-dev] r600g on rv635 and broken mipmaps

Fredrik Höglund fredrik at kde.org
Tue May 3 12:05:18 PDT 2011

On Monday 02 May 2011, Alex Deucher wrote:
> One thing to double check is that rv6xx_context_surface_base_update()
> gets emitted properly every time a base address is emitted.  Right now
> I think we only call it once per command buffer, but it needs to be
> emitted every time a base address changes.

It's always emitted in r600_context_draw(), which is actually more
often than what is necessary since the surface base registers don't
always change between draw calls.

But maybe that's the source of the problem. Maybe you can't emit
base update twice without flushing the caches in between?

If that's the case, I think the attached patch should fix it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-r600g-don-t-emit-surface-base-update-unecessarily.patch
Type: text/x-patch
Size: 1276 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110503/5eb915e4/attachment.bin>

More information about the mesa-dev mailing list