freedreno: implement fence
authorRob Clark <robclark@freedesktop.org>
Sun, 15 Feb 2015 05:04:57 +0000 (00:04 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 21 Feb 2015 22:11:02 +0000 (17:11 -0500)
commite17437386c1bf715b6b241bd9de3a583103f851b
treeaa7a3c48f16afd40923278109d480d564479bf0c
parent68552266535747bad1eff34d856c43158398b9bf
freedreno: implement fence

I never actually implemented the stubbed out fence stuff back in the
early days.  Fix that.

We'll need a few libdrm_freedreno changes to handle timeout properly,
so ignore that for now to avoid a libdrm_freedreno dependency bump.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_fence.c
src/gallium/drivers/freedreno/freedreno_fence.h
src/gallium/drivers/freedreno/freedreno_screen.c