i915_perf_ioctl_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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