xref: /openbmc/linux/drivers/gpu/drm/i915/gt/gen8_ppgtt.h (revision 83c51056)
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 enum i915_cache_level;
14 
15 struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt);
16 u64 gen8_ggtt_pte_encode(dma_addr_t addr,
17 			 enum i915_cache_level level,
18 			 u32 flags);
19 
20 #endif
21