File Index
Files and directories
Sign in
FILE

xe_eu_stall.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/xe_eu_stall.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2025 Intel Corporation
 4 */
 5
 6#ifndef __XE_EU_STALL_H__
 7#define __XE_EU_STALL_H__
 8
 9#include "xe_gt_types.h"
10#include "xe_sriov.h"
11
12size_t xe_eu_stall_get_per_xecore_buf_size(void);
13size_t xe_eu_stall_data_record_size(struct xe_device *xe);
14size_t xe_eu_stall_get_sampling_rates(u32 *num_rates, const u64 **rates);
15
16int xe_eu_stall_init(struct xe_gt *gt);
17int xe_eu_stall_stream_open(struct drm_device *dev,
18			    u64 data,
19			    struct drm_file *file);
20
21static inline bool xe_eu_stall_supported_on_platform(struct xe_device *xe)
22{
23	return !IS_SRIOV_VF(xe) && (xe->info.platform == XE_PVC || GRAPHICS_VER(xe) >= 20);
24}
25#endif
~/ Read-only file preview.