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 | |
11 | struct i915_address_space; |
12 | struct intel_gt; |
13 | |
14 | struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt, |
15 | unsigned long lmem_pt_obj_flags); |
16 | |
17 | u64 gen8_ggtt_pte_encode(dma_addr_t addr, |
18 | unsigned int pat_index, |
19 | u32 flags); |
20 | |
21 | #endif |
22 |