freedreno: drop mem2gmem/gmem2mem query stages
authorRob Clark <robdclark@gmail.com>
Thu, 14 Jul 2016 17:27:32 +0000 (13:27 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 30 Jul 2016 13:23:42 +0000 (09:23 -0400)
commite1b10527006a03f1bd845f222f353496502c8d16
tree13177cf0625cdee29bab351332c2258e8eb0f19d
parent00bed8a794de3d80a46b65b9ab23c6df83e416a8
freedreno: drop mem2gmem/gmem2mem query stages

They weren't really used, and it gets somewhat more complicated to deal
with if batches are flushed asynchronously (on another thread).  So just
drop them, and move _query_set_state(NULL) call into batch (so it is not
happening on background thread).

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_batch.h
src/gallium/drivers/freedreno/freedreno_gmem.c