[Mesa-dev] [PATCH] r600g, radeonsi: Always use GTT again for PIPE_USAGE_STREAM buffers

Michel Dänzer michel at daenzer.net
Tue Sep 2 00:02:58 PDT 2014


On 01.09.2014 19:28, Marek Olšák wrote:
> Perhaps Valley uses scattered writes, which the write-combining cache
> doesn't like?

In that case, I'd expect GTT with write-combining to be affected just as 
much as VRAM.

 From the bug reporter's latest comments, it seems clear the stutter is 
due to BO moves.


> u_upload_mgr mostly uses sequential writes, so I think it could still
> benefit from VRAM placement. Just guessing.
>
> Does the STREAM flag which causes problems come from Valley
> (glBufferData) or from Mesa (u_upload_mgr, etc.)?

AFAICT they're mostly from u_upload_mgr and glTexImage2D().


Anyway, I'd like to hold off on this patch for now.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list