WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gem / selftests / igt_gem_utils.h
blob4221cf84d1756f7209c11f8de8fb22b5df4ed3b2
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2018 Intel Corporation
5 */
7 #ifndef __IGT_GEM_UTILS_H__
8 #define __IGT_GEM_UTILS_H__
10 #include <linux/types.h>
12 struct i915_request;
13 struct i915_gem_context;
14 struct i915_vma;
16 struct intel_context;
17 struct intel_engine_cs;
19 struct i915_request *
20 igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine);
22 struct i915_vma *
23 igt_emit_store_dw(struct i915_vma *vma,
24 u64 offset,
25 unsigned long count,
26 u32 val);
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__ */