i915_perf_enable_locked(9)
π i915_perf_enable_locked(9) β Kernel API Manual π
okay bestie, welcome to the glow-up of i915_perf_enable_locked(9), straight out of your fave Kernel API Manual β¨ this one's short but she's important, so let's get into it π«Ά
πΈ NAME πΈ
i915_perf_enable_locked β the function that handles the I915_PERF_IOCTL_ENABLE ioctl π
π¦ SYNOPSIS π¦
void i915_perf_enable_locked (struct i915_perf_stream *stream );
π ARGUMENTS π
streamβ a disabled i915 perf stream π yeah, she's gotta be off before you turn her on, that's the whole vibe.
β¨ DESCRIPTION β¨
So what does she do? She [re]enables the capture of data for this stream π that's it, that's the function. Lowkey iconic for how simple she is.
β οΈ warning bestie: if a stream was previously enabled, there's currently no intention to provide userspace any guarantee about the preservation of previously buffered data π fr fr, don't count on your old buffered data surviving β that's not a promise this code makes, no cap.
π SEE ALSO π
the whole friend group, and yes you do need to know all of them π§ the kernel file ./drivers/gpu/drm/i915/i915_perf.c is the main character here, plus:
i915 Perf Overview(9)i915 Perf History and Comparison with Core Perf(9)OA Tail Pointer Race(9)struct perf_open_properties(9)oa_buffer_check_unlocked(9)append_oa_status(9)append_oa_sample(9)gen8_append_oa_reports(9)gen8_oa_read(9)gen7_append_oa_reports(9)gen7_oa_read(9)i915_oa_wait_unlocked(9)i915_oa_poll_wait(9)i915_oa_read(9)oa_get_render_ctx_id(9)oa_put_render_ctx_id(9)i915_oa_stream_enable(9)i915_oa_stream_disable(9)i915_oa_stream_init(9)i915_perf_read(9)i915_perf_poll_locked(9)i915_perf_poll(9)i915_perf_disable_locked(9)i915_perf_ioctl_locked(9)i915_perf_ioctl(9)i915_perf_destroy_locked(9)i915_perf_release(9)i915_perf_open_ioctl_locked(9)read_properties_unlocked(9)i915_perf_open_ioctl(9)i915_perf_register(9)i915_perf_unregister(9)i915_perf_add_config_ioctl(9)i915_perf_remove_config_ioctl(9)i915_perf_init(9)i915_perf_fini(9)i915_perf_ioctl_version(9)
β¨π that's the whole page, bestie! πβ¨
and now the cute sign-off π this one comes from the source ./drivers/gpu/drm/i915, dated October 2026 β go drink some water and go touch some grass, you earned it after reading all those SEE ALSOs πΈπ¦π
π¦ 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