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

gen8_ppgtt.h (429B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2020 Intel Corporation
      4 */
      5
      6#ifndef __GEN8_PPGTT_H__
      7#define __GEN8_PPGTT_H__
      8
      9#include <linux/kernel.h>
     10
     11struct i915_address_space;
     12struct intel_gt;
     13enum i915_cache_level;
     14
     15struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt,
     16				     unsigned long lmem_pt_obj_flags);
     17
     18u64 gen8_ggtt_pte_encode(dma_addr_t addr,
     19			 enum i915_cache_level level,
     20			 u32 flags);
     21
     22#endif