Lines Matching refs:compress

1076 			 struct i915_vma_compress *compress,  in i915_vma_coredump_create()  argument
1088 if (!vma_res || !vma_res->bi.pages || !compress) in i915_vma_coredump_create()
1095 if (!compress_start(compress)) { in i915_vma_coredump_create()
1125 ret = compress_page(compress, in i915_vma_coredump_create()
1150 ret = compress_page(compress, in i915_vma_coredump_create()
1166 ret = compress_page(compress, s, dst, false); in i915_vma_coredump_create()
1176 if (ret || compress_flush(compress, dst)) { in i915_vma_coredump_create()
1181 pool_free(&compress->pool, page_address(page)); in i915_vma_coredump_create()
1187 compress_finish(compress); in i915_vma_coredump_create()
1484 const char *name, struct i915_vma_compress *compress) in create_vma_coredump() argument
1496 ret = i915_vma_coredump_create(gt, vma_res, compress, name); in create_vma_coredump()
1507 struct i915_vma_compress *compress) in add_vma_coredump() argument
1509 add_vma(ee, create_vma_coredump(gt, vma, name, compress)); in add_vma_coredump()
1562 struct i915_vma_compress *compress) in intel_engine_coredump_add_vma() argument
1572 compress, this->name)); in intel_engine_coredump_add_vma()
1582 "HW Status", compress); in intel_engine_coredump_add_vma()
1585 "WA context", compress); in intel_engine_coredump_add_vma()
1590 struct i915_vma_compress *compress, in capture_engine() argument
1635 intel_engine_coredump_add_vma(ee, capture, compress); in capture_engine()
1648 struct i915_vma_compress *compress, in gt_record_engines() argument
1658 pool_refill(&compress->pool, ALLOW_FAIL); in gt_record_engines()
1660 ee = capture_engine(engine, compress, dump_flags); in gt_record_engines()
1698 struct i915_vma_compress *compress) in gt_record_uc() argument
1722 "GuC log buffer", compress); in gt_record_uc()
1724 "GuC CT buffer", compress); in gt_record_uc()
2028 struct i915_vma_compress *compress; in i915_vma_capture_prepare() local
2030 compress = kmalloc(sizeof(*compress), ALLOW_FAIL); in i915_vma_capture_prepare()
2031 if (!compress) in i915_vma_capture_prepare()
2034 if (!compress_init(compress)) { in i915_vma_capture_prepare()
2035 kfree(compress); in i915_vma_capture_prepare()
2039 return compress; in i915_vma_capture_prepare()
2043 struct i915_vma_compress *compress) in i915_vma_capture_finish() argument
2045 if (!compress) in i915_vma_capture_finish()
2048 compress_fini(compress); in i915_vma_capture_finish()
2049 kfree(compress); in i915_vma_capture_finish()
2069 struct i915_vma_compress *compress; in __i915_gpu_coredump() local
2071 compress = i915_vma_capture_prepare(error->gt); in __i915_gpu_coredump()
2072 if (!compress) { in __i915_gpu_coredump()
2079 error->gt->uc = gt_record_uc(error->gt, compress); in __i915_gpu_coredump()
2089 gt_record_engines(error->gt, engine_mask, compress, dump_flags); in __i915_gpu_coredump()
2092 i915_vma_capture_finish(error->gt, compress); in __i915_gpu_coredump()