2021-05-26 19:09:36 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2020 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GEN8_PPGTT_H__
|
|
|
|
#define __GEN8_PPGTT_H__
|
|
|
|
|
2021-07-20 16:20:39 +00:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
|
|
|
|
struct i915_address_space;
|
2021-05-26 19:09:36 +00:00
|
|
|
struct intel_gt;
|
2021-07-20 16:20:39 +00:00
|
|
|
enum i915_cache_level;
|
2021-05-26 19:09:36 +00:00
|
|
|
|
|
|
|
struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt);
|
2021-07-20 16:20:39 +00:00
|
|
|
u64 gen8_ggtt_pte_encode(dma_addr_t addr,
|
|
|
|
enum i915_cache_level level,
|
|
|
|
u32 flags);
|
2021-05-26 19:09:36 +00:00
|
|
|
|
|
|
|
#endif
|