i915_oa_stream_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, welcome to the i915_oa_stream_enable(9) page from the Kernel API Manual β€” and the name is literally i915_oa_stream_enable - handle I915_PERF_IOCTL_ENABLE for OA stream. That’s it, that’s the whole vibe. πŸ’–


✨ SYNOPSIS ✨

the signature is giving short-and-slay:

void i915_oa_stream_enable (struct i915_perf_stream *stream );

πŸŽ€ ARGUMENTS πŸŽ€

  • stream β€” an i915 perf stream opened for OA metrics. main character energy fr fr. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what does it do? it [Re]enables hardware periodic sampling according to the period configured when opening the stream. no cap. 🌸

it also starts a hrtimer β€” yes bestie, a timer β€” that will periodically check for data in the circular OA buffer for notifying userspace (e.g. during a read or poll). literally iconic. πŸ”₯


🌈 SEE ALSO 🌈

bestie, go read the whole friend group β€” no skipping, iykyk: πŸ‘‘


cute sign-off: source/version ./drivers/gpu/drm/i915, dated October 2026 β€” bye bestie, slay your perf stream! πŸ’–βœ¨

πŸ“¦ where this page comes from