| 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 | |
| 11 | struct drm_device; |
| 12 | struct drm_file; |
| 13 | struct xe_device; |
| 14 | struct xe_gt; |
| 15 | struct xe_hw_engine; |
| 16 | |
| 17 | int xe_oa_init(struct xe_device *xe); |
| 18 | int xe_oa_register(struct xe_device *xe); |
| 19 | int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *file); |
| 20 | int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file); |
| 21 | int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file); |
| 22 | u32 xe_oa_timestamp_frequency(struct xe_gt *gt); |
| 23 | u16 xe_oa_unit_id(struct xe_hw_engine *hwe); |
| 24 | |
| 25 | #endif |
| 26 |
