From 2a344a8d8a7af0b242b262866742c253cd55d334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 29 May 2015 17:13:12 +0200 Subject: amdgpu: don't use amdgpu_cs_create_ib for allocation of the fence BO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit amdgpu_cs_create_ib will go away. Reviewed-by: Jammy Zhou Reviewed-by: Christian König --- amdgpu/amdgpu_internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'amdgpu/amdgpu_internal.h') diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h index e5a457ab..a4c29894 100644 --- a/amdgpu/amdgpu_internal.h +++ b/amdgpu/amdgpu_internal.h @@ -103,7 +103,8 @@ struct amdgpu_context { in good sequence. */ pthread_mutex_t sequence_mutex; /** Buffer for user fences */ - struct amdgpu_ib *fence_ib; + struct amdgpu_bo *fence_bo; + void *fence_cpu; /** The newest expired fence for the ring of the ip blocks. */ uint64_t expired_fences[AMDGPU_HW_IP_NUM][AMDGPU_HW_IP_INSTANCE_MAX_COUNT][AMDGPU_CS_MAX_RINGS]; /* context id*/ -- cgit v1.2.3