blob: 4b76d5586ebb8ee3255c9abc881b588ebadcebdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2025 Intel Corporation
*/
#ifndef _XE_MMIO_GEM_H_
#define _XE_MMIO_GEM_H_
#include <linux/types.h>
struct drm_file;
struct xe_device;
struct xe_mmio_gem;
struct xe_mmio_gem *xe_mmio_gem_create(struct xe_device *xe, struct drm_file *file,
phys_addr_t phys_addr, size_t size);
u64 xe_mmio_gem_mmap_offset(struct xe_mmio_gem *gem);
void xe_mmio_gem_destroy(struct xe_mmio_gem *gem);
#endif /* _XE_MMIO_GEM_H_ */
|