brintos

brintos / linux-shallow public Read only

0
0
Text · 736 B · ba70ac6 Raw
27 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2021 Intel Corporation4 */5 6#ifndef __I915_CMD_PARSER_H__7#define __I915_CMD_PARSER_H__8 9#include <linux/types.h>10 11struct drm_i915_private;12struct intel_engine_cs;13struct i915_vma;14 15int i915_cmd_parser_get_version(struct drm_i915_private *dev_priv);16int intel_engine_init_cmd_parser(struct intel_engine_cs *engine);17void intel_engine_cleanup_cmd_parser(struct intel_engine_cs *engine);18int intel_engine_cmd_parser(struct intel_engine_cs *engine,19			    struct i915_vma *batch,20			    unsigned long batch_offset,21			    unsigned long batch_length,22			    struct i915_vma *shadow,23			    bool trampoline);24#define I915_CMD_PARSER_TRAMPOLINE_SIZE 825 26#endif /* __I915_CMD_PARSER_H__ */27