[Mesa-dev] [PATCH] r600g: Unify SURFACE_SYNC packet emission for 3D and compute

Tom Stellard thomas.stellard at amd.com
Thu Jun 21 07:46:10 PDT 2012


On Tue, Jun 19, 2012 at 03:11:28PM -0400, Jerome Glisse wrote:
> On Tue, Jun 19, 2012 at 2:06 PM, Tom Stellard <thomas.stellard at amd.com> wrote:
> > On Tue, Jun 19, 2012 at 07:57:50PM +0200, Marek Olšák wrote:
> >> Hi Tom,
> >>
> >> This adds new calls to r600_inval_xxx_cache, which justs sets the
> >> dirty flag in the atom "surface_sync_cmd" to true, but I couldn't find
> >> where the compute code calls r600_emit_atom. The proper way to emit
> >> dirty atoms is in r600_state_common.c:843-845.
> >>
> >
> > The compute code is calling r600_flush_framebuffer() from
> > compute_emit_cs, which is what calls r600_emit_atom() for
> > surface_sync_cmd.
> >
> > -Tom
> 
> I am heavily refactoring all this for hyperz, but i can rebase once i
> have it working.
>

Ok, these changes are pretty simple, so it shouldn't be too hard to
rebase.  Just ping me, if you run into any issues or if you need me to
test.  I'll probably commit this patch soon.

-Tom

> Cheers,
> Jerome
> 



More information about the mesa-dev mailing list