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 © 2023-2024 Intel Corporation
4 */
5
6#ifndef _XE_OA_H_
7#define _XE_OA_H_
8
9#include "xe_oa_types.h"
10
11struct drm_device;
12struct drm_file;
13struct xe_device;
14struct xe_gt;
15struct xe_hw_engine;
16
17int xe_oa_init(struct xe_device *xe);
18int xe_oa_register(struct xe_device *xe);
19int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
20int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
21int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);
22u32 xe_oa_timestamp_frequency(struct xe_gt *gt);
23u16 xe_oa_unit_id(struct xe_hw_engine *hwe);
24
25#endif