Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / gpu / drm / i915 / gem / i915_gem_object_blt.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5
6 #ifndef __I915_GEM_OBJECT_BLT_H__
7 #define __I915_GEM_OBJECT_BLT_H__
8
9 #include <linux/types.h>
10
11 struct drm_i915_gem_object;
12 struct intel_context;
13 struct i915_request;
14 struct i915_vma;
15
16 int intel_emit_vma_fill_blt(struct i915_request *rq,
17                             struct i915_vma *vma,
18                             u32 value);
19
20 int i915_gem_object_fill_blt(struct drm_i915_gem_object *obj,
21                              struct intel_context *ce,
22                              u32 value);
23
24 #endif