etnaviv: remove pipe_fence_handle::ctx
authorRob Clark <robdclark@gmail.com>
Wed, 9 May 2018 01:00:18 +0000 (21:00 -0400)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 11 May 2018 16:42:13 +0000 (18:42 +0200)
commita7c81a7f676618723de547b71d57eb3781147ba2
tree67f4f8eff7ad8b8ec9cdb17b4685ec780b48e535
parent4e52cb51b56eaae7153394ed712f49ce0ba63bcc
etnaviv: remove pipe_fence_handle::ctx

A fence can outlive the ctx it was created from (see glmark2).. etnaviv
doesn't actually need fence->ctx so lets remove it before someone makes
the mistake of assuming it is a valid pointer.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_fence.c