1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2019 Intel Corporation
6 #ifndef __I915_GEM_OBJECT_BLT_H__
7 #define __I915_GEM_OBJECT_BLT_H__
9 #include <linux/types.h>
11 #include "gt/intel_context.h"
12 #include "gt/intel_engine_pm.h"
13 #include "gt/intel_engine_pool.h"
16 struct drm_i915_gem_object
;
18 struct i915_vma
*intel_emit_vma_fill_blt(struct intel_context
*ce
,
22 struct i915_vma
*intel_emit_vma_copy_blt(struct intel_context
*ce
,
24 struct i915_vma
*dst
);
26 int intel_emit_vma_mark_active(struct i915_vma
*vma
, struct i915_request
*rq
);
27 void intel_emit_vma_release(struct intel_context
*ce
, struct i915_vma
*vma
);
29 int i915_gem_object_fill_blt(struct drm_i915_gem_object
*obj
,
30 struct intel_context
*ce
,
33 int i915_gem_object_copy_blt(struct drm_i915_gem_object
*src
,
34 struct drm_i915_gem_object
*dst
,
35 struct intel_context
*ce
);