at commit c03c1a14

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