linux-zen-desktop/drivers/gpu/drm/i915/gt/gen8_ppgtt.h

22 lines
401 B
C
Raw Normal View History

2023-08-30 17:31:07 +02:00
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2020 Intel Corporation
*/
#ifndef __GEN8_PPGTT_H__
#define __GEN8_PPGTT_H__
#include <linux/kernel.h>
struct i915_address_space;
struct intel_gt;
struct i915_ppgtt *gen8_ppgtt_create(struct intel_gt *gt,
unsigned long lmem_pt_obj_flags);
u64 gen8_ggtt_pte_encode(dma_addr_t addr,
2023-10-24 12:59:35 +02:00
unsigned int pat_index,
2023-08-30 17:31:07 +02:00
u32 flags);
#endif