summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_bo_util.c
diff options
context:
space:
mode:
authorMaarten Lankhorst2012-10-12 17:02:19 +0200
committerDave Airlie2012-11-20 07:09:55 +0100
commit5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87 (patch)
tree425e7b5c48bbe54769925ad5c48cf3d9de74e088 /drivers/gpu/drm/ttm/ttm_bo_util.c
parentdrm/vmwgfx: remove use of fence_obj_args (diff)
downloadkernel-qcow2-linux-5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87.tar.gz
kernel-qcow2-linux-5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87.tar.xz
kernel-qcow2-linux-5fb4ef0e36b4c6ecc7fb025aaacb3b63b1114e87.zip
drm/ttm: remove sync_obj_arg member
vmwgfx was its only user and always sets it to the same.. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-By: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo_util.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 2026060f03e0..81c74f53ce4f 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -630,7 +630,6 @@ int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,
bo->sync_obj = NULL;
}
bo->sync_obj = driver->sync_obj_ref(sync_obj);
- bo->sync_obj_arg = sync_obj_arg;
if (evict) {
ret = ttm_bo_wait(bo, false, false, false);
spin_unlock(&bdev->fence_lock);