Commit 5c69f132 authored by Gerd Hoffmann's avatar Gerd Hoffmann
parent 27c44ace
...@@ -61,7 +61,7 @@ qxl_debugfs_buffers_info(struct seq_file *m, void *data) ...@@ -61,7 +61,7 @@ qxl_debugfs_buffers_info(struct seq_file *m, void *data)
int rel; int rel;
rcu_read_lock(); rcu_read_lock();
fobj = rcu_dereference(bo->tbo.resv->fence); fobj = rcu_dereference(bo->tbo.base.resv->fence);
rel = fobj ? fobj->shared_count : 0; rel = fobj ? fobj->shared_count : 0;
rcu_read_unlock(); rcu_read_unlock();
......
...@@ -238,7 +238,7 @@ static int qxl_release_validate_bo(struct qxl_bo *bo) ...@@ -238,7 +238,7 @@ static int qxl_release_validate_bo(struct qxl_bo *bo)
return ret; return ret;
} }
ret = reservation_object_reserve_shared(bo->tbo.resv, 1); ret = reservation_object_reserve_shared(bo->tbo.base.resv, 1);
if (ret) if (ret)
return ret; return ret;
...@@ -458,9 +458,9 @@ void qxl_release_fence_buffer_objects(struct qxl_release *release) ...@@ -458,9 +458,9 @@ void qxl_release_fence_buffer_objects(struct qxl_release *release)
list_for_each_entry(entry, &release->bos, head) { list_for_each_entry(entry, &release->bos, head) {
bo = entry->bo; bo = entry->bo;
reservation_object_add_shared_fence(bo->resv, &release->base); reservation_object_add_shared_fence(bo->base.resv, &release->base);
ttm_bo_add_to_lru(bo); ttm_bo_add_to_lru(bo);
reservation_object_unlock(bo->resv); reservation_object_unlock(bo->base.resv);
} }
spin_unlock(&glob->lru_lock); spin_unlock(&glob->lru_lock);
ww_acquire_fini(&release->ticket); ww_acquire_fini(&release->ticket);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment