Lines Matching full:compress
1091 struct i915_vma_compress *compress, in i915_vma_coredump_create() argument
1103 if (!vma_res || !vma_res->bi.pages || !compress) in i915_vma_coredump_create()
1110 if (!compress_start(compress)) { in i915_vma_coredump_create()
1144 ret = compress_page(compress, in i915_vma_coredump_create()
1169 ret = compress_page(compress, in i915_vma_coredump_create()
1185 ret = compress_page(compress, s, dst, false); in i915_vma_coredump_create()
1195 if (ret || compress_flush(compress, dst)) { in i915_vma_coredump_create()
1200 pool_free(&compress->pool, page_address(page)); in i915_vma_coredump_create()
1206 compress_finish(compress); in i915_vma_coredump_create()
1516 const char *name, struct i915_vma_compress *compress) in create_vma_coredump() argument
1528 ret = i915_vma_coredump_create(gt, vma_res, compress, name); in create_vma_coredump()
1539 struct i915_vma_compress *compress) in add_vma_coredump() argument
1541 add_vma(ee, create_vma_coredump(gt, vma, name, compress)); in add_vma_coredump()
1614 struct i915_vma_compress *compress) in intel_engine_coredump_add_vma() argument
1624 compress, this->name)); in intel_engine_coredump_add_vma()
1634 "HW Status", compress); in intel_engine_coredump_add_vma()
1637 "WA context", compress); in intel_engine_coredump_add_vma()
1642 struct i915_vma_compress *compress, in capture_engine() argument
1667 intel_engine_coredump_add_vma(ee, capture, compress); in capture_engine()
1682 struct i915_vma_compress *compress, in gt_record_engines() argument
1692 pool_refill(&compress->pool, ALLOW_FAIL); in gt_record_engines()
1694 ee = capture_engine(engine, compress, dump_flags); in gt_record_engines()
1732 struct i915_vma_compress *compress) in gt_record_uc() argument
1756 "GuC log buffer", compress); in gt_record_uc()
1758 "GuC CT buffer", compress); in gt_record_uc()
2072 struct i915_vma_compress *compress; in i915_vma_capture_prepare() local
2074 compress = kmalloc(sizeof(*compress), ALLOW_FAIL); in i915_vma_capture_prepare()
2075 if (!compress) in i915_vma_capture_prepare()
2078 if (!compress_init(compress)) { in i915_vma_capture_prepare()
2079 kfree(compress); in i915_vma_capture_prepare()
2083 return compress; in i915_vma_capture_prepare()
2087 struct i915_vma_compress *compress) in i915_vma_capture_finish() argument
2089 if (!compress) in i915_vma_capture_finish()
2092 compress_fini(compress); in i915_vma_capture_finish()
2093 kfree(compress); in i915_vma_capture_finish()
2113 struct i915_vma_compress *compress; in __i915_gpu_coredump() local
2115 compress = i915_vma_capture_prepare(error->gt); in __i915_gpu_coredump()
2116 if (!compress) { in __i915_gpu_coredump()
2123 error->gt->uc = gt_record_uc(error->gt, compress); in __i915_gpu_coredump()
2133 gt_record_engines(error->gt, engine_mask, compress, dump_flags); in __i915_gpu_coredump()
2136 i915_vma_capture_finish(error->gt, compress); in __i915_gpu_coredump()