cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

i915_cmd_parser.h (736B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2021 Intel Corporation
      4 */
      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 8
     25
     26#endif /* __I915_CMD_PARSER_H__ */