Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2020 Intel Corporation
0004  */
0005 
0006 #ifndef __GEN8_PPGTT_H__
0007 #define __GEN8_PPGTT_H__
0008 
0009 #include <linux/kernel.h>
0010 
0011 struct i915_address_space;
0012 struct intel_gt;
0013 enum i915_cache_level;
0014 
0015 struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt,
0016                      unsigned long lmem_pt_obj_flags);
0017 
0018 u64 gen8_ggtt_pte_encode(dma_addr_t addr,
0019              enum i915_cache_level level,
0020              u32 flags);
0021 
0022 #endif