Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19-rc5 25 lines 679 B view raw
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