drivers/gpu/drm/xe/xe_eu_stall.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_eu_stall.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_eu_stall.h
Extension
.h
Size
675 bytes
Lines
26
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#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

Annotation

Implementation Notes