Lines Matching refs:vma_res
1090 const struct i915_vma_resource *vma_res, in i915_vma_coredump_create() argument
1103 if (!vma_res || !vma_res->bi.pages || !compress) in i915_vma_coredump_create()
1119 dst->gtt_offset = vma_res->start; in i915_vma_coredump_create()
1120 dst->gtt_size = vma_res->node_size; in i915_vma_coredump_create()
1121 dst->gtt_page_sizes = vma_res->page_sizes_gtt; in i915_vma_coredump_create()
1129 for_each_sgt_daddr(dma, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1155 } else if (vma_res->bi.lmem) { in i915_vma_coredump_create()
1156 struct intel_memory_region *mem = vma_res->mr; in i915_vma_coredump_create()
1159 for_each_sgt_daddr(dma, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1179 for_each_sgt_page(page, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1438 struct i915_vma_resource *vma_res; member
1445 struct i915_vma_resource *vma_res, in capture_vma_snapshot() argument
1450 if (!vma_res) in capture_vma_snapshot()
1457 if (!i915_vma_resource_hold(vma_res, &c->lockdep_cookie)) { in capture_vma_snapshot()
1463 c->vma_res = i915_vma_resource_get(vma_res); in capture_vma_snapshot()
1499 capture = capture_vma_snapshot(capture, c->vma_res, gfp, in capture_user()
1519 struct i915_vma_resource *vma_res; in create_vma_coredump() local
1525 vma_res = vma->resource; in create_vma_coredump()
1527 if (i915_vma_resource_hold(vma_res, &lockdep_cookie)) { in create_vma_coredump()
1528 ret = i915_vma_coredump_create(gt, vma_res, compress, name); in create_vma_coredump()
1529 i915_vma_resource_unhold(vma_res, lockdep_cookie); in create_vma_coredump()
1620 struct i915_vma_resource *vma_res = this->vma_res; in intel_engine_coredump_add_vma() local
1623 i915_vma_coredump_create(engine->gt, vma_res, in intel_engine_coredump_add_vma()
1626 i915_vma_resource_unhold(vma_res, this->lockdep_cookie); in intel_engine_coredump_add_vma()
1627 i915_vma_resource_put(vma_res); in intel_engine_coredump_add_vma()