brintos

brintos / linux-shallow public Read only

0
0
Text · 766 B · 87a3882 Raw
28 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2023-2024 Intel Corporation4 */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);18void xe_oa_fini(struct xe_device *xe);19void xe_oa_register(struct xe_device *xe);20void xe_oa_unregister(struct xe_device *xe);21int xe_oa_stream_open_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);22int xe_oa_add_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);23int xe_oa_remove_config_ioctl(struct drm_device *dev, u64 data, struct drm_file *file);24u32 xe_oa_timestamp_frequency(struct xe_gt *gt);25u16 xe_oa_unit_id(struct xe_hw_engine *hwe);26 27#endif28