From 63b9790a55038c262b57c846a5f7067ea33fc60f Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Tue, 11 Jan 2011 14:29:33 -0500 Subject: r600g: move user fence into base radeon structure This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse --- src/gallium/winsys/r600/drm/r600_priv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/winsys/r600/drm/r600_priv.h') diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 056d0255be..a38a6481b4 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -36,6 +36,7 @@ #include "r600.h" struct r600_bomgr; +struct r600_bo; struct radeon { int fd; @@ -45,7 +46,9 @@ struct radeon { enum chip_class chip_class; struct r600_tiling_info tiling_info; struct r600_bomgr *bomgr; + unsigned fence; unsigned *cfence; + struct r600_bo *fence_bo; }; struct r600_reg { -- cgit v1.2.3