freedreno: fence fix
authorRob Clark <robclark@freedesktop.org>
Fri, 8 May 2015 19:56:23 +0000 (15:56 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 18 May 2015 21:47:54 +0000 (17:47 -0400)
commite6f912f07e729649fb9e9e9a458482925552f778
treef3dbb7d643fc128336394aa104a977b9c47ebc02
parent8427ad91252d22db6dbd45ae37c6d5a18de8fc68
freedreno: fence fix

A fence can outlive the ctx, so we shouldn't deref the ctx to get at the
screen.  We need some updates in libdrm_freedreno API to completely
handle fences properly, but this is at least an improvement.

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