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

Jerome Glisse j.glisse at gmail.com
Tue Jun 19 12:11:28 PDT 2012


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.

Cheers,
Jerome


More information about the mesa-dev mailing list