Lines Matching refs:vma_res

1075 			 const struct i915_vma_resource *vma_res,  in i915_vma_coredump_create()  argument
1088 if (!vma_res || !vma_res->bi.pages || !compress) in i915_vma_coredump_create()
1104 dst->gtt_offset = vma_res->start; in i915_vma_coredump_create()
1105 dst->gtt_size = vma_res->node_size; in i915_vma_coredump_create()
1106 dst->gtt_page_sizes = vma_res->page_sizes_gtt; in i915_vma_coredump_create()
1114 for_each_sgt_daddr(dma, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1136 } else if (vma_res->bi.lmem) { in i915_vma_coredump_create()
1137 struct intel_memory_region *mem = vma_res->mr; in i915_vma_coredump_create()
1140 for_each_sgt_daddr(dma, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1160 for_each_sgt_page(page, iter, vma_res->bi.pages) { in i915_vma_coredump_create()
1406 struct i915_vma_resource *vma_res; member
1413 struct i915_vma_resource *vma_res, in capture_vma_snapshot() argument
1418 if (!vma_res) in capture_vma_snapshot()
1425 if (!i915_vma_resource_hold(vma_res, &c->lockdep_cookie)) { in capture_vma_snapshot()
1431 c->vma_res = i915_vma_resource_get(vma_res); in capture_vma_snapshot()
1467 capture = capture_vma_snapshot(capture, c->vma_res, gfp, in capture_user()
1487 struct i915_vma_resource *vma_res; in create_vma_coredump() local
1493 vma_res = vma->resource; in create_vma_coredump()
1495 if (i915_vma_resource_hold(vma_res, &lockdep_cookie)) { in create_vma_coredump()
1496 ret = i915_vma_coredump_create(gt, vma_res, compress, name); in create_vma_coredump()
1497 i915_vma_resource_unhold(vma_res, lockdep_cookie); in create_vma_coredump()
1568 struct i915_vma_resource *vma_res = this->vma_res; in intel_engine_coredump_add_vma() local
1571 i915_vma_coredump_create(engine->gt, vma_res, in intel_engine_coredump_add_vma()
1574 i915_vma_resource_unhold(vma_res, this->lockdep_cookie); in intel_engine_coredump_add_vma()
1575 i915_vma_resource_put(vma_res); in intel_engine_coredump_add_vma()