i915_perf_poll(9)
π NAME π
okay so bestie, you're looking at the Kernel API Manual entry for i915_perf_poll, and its whole job is literally to call poll_wait() with a suitable wait queue for stream. that's the vibe π
β¨ SYNOPSIS β¨
__poll_t i915_perf_poll (struct file *file , poll_table *wait );
π ARGUMENTS π
fileβ an i915 perf stream file.waitβ poll state table.
π¦ DESCRIPTION π¦
for handling userspace polling on an i915 perf stream, this ensures poll_wait gets called with a wait queue that will be woken for new stream data. it's giving βwake me up when there's fresh stream dataβ energy π¦
π NOTE π
not me finding out the implementation is deferred to i915_perf_poll_locked π β yeah, that's the whole note, bestie.
πΈ RETURN πΈ
it returns any poll events that are ready without sleeping. no nap required, just the ready ones β¨
π₯ SEE ALSO π₯
the full squad, no cap:
- Kernel file
./drivers/gpu/drm/i915/i915_perf.c 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_enable_locked(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)
mwah π this lil page is filed under ./drivers/gpu/drm/i915, dated October 2026, and its full glam name is i915_perf_poll(9). slay.
π¦ 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