freedreno: no-op render when we need a fence
authorRob Clark <robdclark@gmail.com>
Wed, 12 Oct 2016 14:42:57 +0000 (10:42 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 2 Dec 2016 01:24:59 +0000 (20:24 -0500)
commit534917495dca07bb63dbec49450c706fce36f176
tree18302e519921619aba94a93c2d2579682586cf08
parent0b98e84e9ba082b9aa00b24fded3fb56224c6fc6
freedreno: no-op render when we need a fence

If app tries to create a fence but there is no rendering to submit, we
need a dummy/no-op submit.  Use a string-marker for the purpose.. mostly
since it avoids needing to realize that the packet format changes in
later gen's (so one less place to fixup for a5xx).

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