xe_oa_add_config_ioctl(9)
π xe_oa_add_config_ioctl π
okay bestie, welcome to this little corner of the Kernel API Manual β weβre about to get into xe_oa_add_config_ioctl, and itβs literally right here near the top so you donβt have to go hunting. π«Ά
β¨ NAME β¨
xe_oa_add_config_ioctl β Adds one OA config. thatβs the whole vibe. π
π SYNOPSIS π
int xe_oa_add_config_ioctl (struct drm_device *dev , u64 data , struct
drm_file *file );
π ARGUMENTS π
devβ adrm_device, bestie. thatβs the whole description, no cap. π¦dataβ pointer tostruct drm_xe_oa_config. yes, itβs giving βimportant struct energy.β πfileβ adrm_file. iconic, brief, to the point. β¨
π¦ DESCRIPTION π¦
so the function adds an OA config to the set of OA configs maintained in the kernel. thatβs the main character move. π
and what does that config do? it determines which OA metrics are collected for an OA stream. so yeah, itβs lowkey deciding what data shows up for the stream. no cap. π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/xe/xe_oa.c xe_oa_timestamp_frequency(9)xe_oa_unit_id(9)xe_oa_stream_open_ioctl(9)xe_oa_remove_config_ioctl(9)xe_oa_register(9)xe_oa_init(9)
and thatβs the whole page, bestie π«Ά β this oneβs from source/version ./drivers/gpu/drm/xe, dated October 2026. periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms