2 * SPDX-License-Identifier: MIT
4 * Copyright © 2018 Intel Corporation
7 #ifndef __IGT_GEM_UTILS_H__
8 #define __IGT_GEM_UTILS_H__
10 #include <linux/types.h>
13 struct i915_gem_context;
17 struct intel_engine_cs;
20 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine);
23 igt_emit_store_dw(struct i915_vma *vma,
28 int igt_gpu_fill_dw(struct intel_context *ce,
29 struct i915_vma *vma, u64 offset,
30 unsigned long count, u32 val);
32 #endif /* __IGT_GEM_UTILS_H__ */