drivers/gpu/drm/xe/xe_guc_pc_types.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_guc_pc_types.h
Extension
.h
Size
1211 bytes
Lines
41
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

struct xe_guc_pc {
	/** @bo: GGTT buffer object that is shared with GuC PC */
	struct xe_bo *bo;
	/** @flush_freq_limit: 1 when max freq changes are limited by driver */
	atomic_t flush_freq_limit;
	/** @rp0_freq: HW RP0 frequency - The Maximum one */
	u32 rp0_freq;
	/** @rpn_freq: HW RPN frequency - The Minimum one */
	u32 rpn_freq;
	/** @user_requested_min: Stash the minimum requested freq by user */
	u32 user_requested_min;
	/** @user_requested_max: Stash the maximum requested freq by user */
	u32 user_requested_max;
	/** @stashed_min_freq: Stash the current minimum freq */
	u32 stashed_min_freq;
	/** @stashed_max_freq: Stash the current maximum freq */
	u32 stashed_max_freq;
	/** @freq_lock: Let's protect the frequencies */
	struct mutex freq_lock;
	/** @freq_ready: Only handle freq changes, if they are really ready */
	bool freq_ready;
	/** @power_profile: Base or power_saving profile */
	u32 power_profile;
};

#endif	/* _XE_GUC_PC_TYPES_H_ */

Annotation

Implementation Notes