Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 1/*
 2 * SPDX-License-Identifier: MIT
 3 *
 4 * Copyright © 2018 Intel Corporation
 5 */
 6
 7#ifndef __IGT_GEM_UTILS_H__
 8#define __IGT_GEM_UTILS_H__
 9
10#include <linux/types.h>
11
12struct i915_request;
13struct i915_gem_context;
14struct intel_engine_cs;
15struct i915_vma;
16
17struct i915_request *
18igt_request_alloc(struct i915_gem_context *ctx, struct intel_engine_cs *engine);
19
20struct i915_vma *
21igt_emit_store_dw(struct i915_vma *vma,
22		  u64 offset,
23		  unsigned long count,
24		  u32 val);
25
26int igt_gpu_fill_dw(struct i915_vma *vma,
27		    struct i915_gem_context *ctx,
28		    struct intel_engine_cs *engine,
29		    u64 offset,
30		    unsigned long count,
31		    u32 val);
32
33#endif /* __IGT_GEM_UTILS_H__ */