mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Six headers use __XE_<NAME>_H__ (double-underscore prefix and suffix) as their include guards. Normalize them to the single-underscore _XE_<NAME>_H_ convention used by the rest of the xe codebase. Files fixed: - xe_eu_stall.h: __XE_EU_STALL_H__ -> _XE_EU_STALL_H_ - xe_nvm.h: __XE_NVM_H__ -> _XE_NVM_H_ - xe_pxp.h: __XE_PXP_H__ -> _XE_PXP_H_ - xe_pxp_debugfs.h: __XE_PXP_DEBUGFS_H__ -> _XE_PXP_DEBUGFS_H_ - xe_pxp_submit.h: __XE_PXP_SUBMIT_H__ -> _XE_PXP_SUBMIT_H_ - xe_pxp_types.h: __XE_PXP_TYPES_H__ -> _XE_PXP_TYPES_H_ No functional change. Suggested-by: Nitin Gote <nitin.r.gote@intel.com> Assisted-by: GitHub Copilot:claude-opus-4.6 Reviewed-by: Nitin Gote <nitin.r.gote@intel.com> Link: https://patch.msgid.link/20260317215732.2208976-12-shuicheng.lin@intel.com Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
26 lines
675 B
C
26 lines
675 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_EU_STALL_H_
|
|
#define _XE_EU_STALL_H_
|
|
|
|
#include "xe_gt_types.h"
|
|
#include "xe_sriov.h"
|
|
|
|
size_t xe_eu_stall_get_per_xecore_buf_size(void);
|
|
size_t xe_eu_stall_data_record_size(struct xe_device *xe);
|
|
size_t xe_eu_stall_get_sampling_rates(u32 *num_rates, const u64 **rates);
|
|
|
|
int xe_eu_stall_init(struct xe_gt *gt);
|
|
int xe_eu_stall_stream_open(struct drm_device *dev,
|
|
u64 data,
|
|
struct drm_file *file);
|
|
|
|
static inline bool xe_eu_stall_supported_on_platform(struct xe_device *xe)
|
|
{
|
|
return !IS_SRIOV_VF(xe) && (xe->info.platform == XE_PVC || GRAPHICS_VER(xe) >= 20);
|
|
}
|
|
#endif
|