summaryrefslogtreecommitdiff
path: root/vmwgfx_context.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2018-03-27 10:10:57 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2018-04-05 15:01:17 +0200
commit25b0047931821ba89d4a1a24dd190839b4a6e0bd (patch)
tree0a3bed39873aaee79d44e4c8e625cdaab00be288 /vmwgfx_context.c
parentf269969583ad31e3c329aac78123fff4073d8290 (diff)
vmwgfx: Move buffer object related code to vmwgfx_bo.c
It makes more sense to have all the buffer object related code in a single file rather than splitting it up between the resource code and buffer object pinning utilities. Place all buffer object related code in vmwgfx_bo.c. Fix up headers and export resource functionality when needed in the buffer object code. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'vmwgfx_context.c')
-rw-r--r--vmwgfx_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmwgfx_context.c b/vmwgfx_context.c
index ccba42a..54ab487 100644
--- a/vmwgfx_context.c
+++ b/vmwgfx_context.c
@@ -423,7 +423,7 @@ static int vmw_gb_context_unbind(struct vmw_resource *res,
(void) vmw_execbuf_fence_commands(NULL, dev_priv,
&fence, NULL);
- vmw_fence_single_bo(bo, fence);
+ vmw_bo_fence_single(bo, fence);
if (likely(fence != NULL))
vmw_fence_obj_unreference(&fence);
@@ -647,7 +647,7 @@ static int vmw_dx_context_unbind(struct vmw_resource *res,
(void) vmw_execbuf_fence_commands(NULL, dev_priv,
&fence, NULL);
- vmw_fence_single_bo(bo, fence);
+ vmw_bo_fence_single(bo, fence);
if (likely(fence != NULL))
vmw_fence_obj_unreference(&fence);