i915_perf_ioctl_locked(9)
π i915_perf_ioctl_locked(9) π
Okay bestie, this page is from the Kernel API Manual, and it's all about i915_perf_ioctl_locked(9). It's giving βsupport ioctl() usage with i915 perf stream FDs,β and we are keeping every detail, periodt.
π NAME π
i915_perf_ioctl_locked β support ioctl() usage with i915 perf stream FDs.
β¨ SYNOPSIS β¨
Here's the signature, exact and iconic:
long i915_perf_ioctl_locked (struct i915_perf_stream *stream , unsigned int cmd , unsigned long arg );
π ARGUMENTS π
streamβ An i915 perf stream. That's the stream in question, bestie.cmdβ the ioctl request. The request code, iykyk.argβ the ioctl data. The data that comes along with it.
π₯ RETURN π₯
It returns zero on success or a negative error code. And for an unknown ioctl request? It returns -EINVAL. That's the whole vibe check. π
π SEE ALSO π
The kernel file to peek at is ./drivers/gpu/drm/i915/i915_perf.c, and here's the full squad of related pages:
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_enable_locked(9)i915_perf_disable_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 a wrap, bestie π«Ά huge shoutout to the source/version ./drivers/gpu/drm/i915 and the October 2026 date for making it official. Byeee πβ¨
π¦ 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