Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
11struct drm_file;
12struct xe_device;
13struct xe_mmio_gem;
14
15struct xe_mmio_gem *xe_mmio_gem_create(struct xe_device *xe, struct drm_file *file,
16 phys_addr_t phys_addr, size_t size);
17u64 xe_mmio_gem_mmap_offset(struct xe_mmio_gem *gem);
18void xe_mmio_gem_destroy(struct xe_mmio_gem *gem);
19
20#endif /* _XE_MMIO_GEM_H_ */