i915_gem_get_tiling_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_gem_get_tiling_ioctl ✨

okay so bestie, welcome to the i915_gem_get_tiling_ioctl(9) page β€” yeah it's a mouthful, iykyk 😭. This one lives in the Kernel API Manual, and it's literally the little ioctl handler that tells you what tiling mode your object is rocking. Let's get into it πŸŽ€


🌸 NAME 🌸

i915_gem_get_tiling_ioctl β€” the IOCTL handler that gets the tiling mode. no cap, that's the whole vibe check πŸ¦‹


✨ SYNOPSIS ✨

int i915_gem_get_tiling_ioctl (struct drm_device *dev , void *data ,
       struct drm_file *file );

like, here's the exact signature, character for character, don't @ me πŸ’…


🫢 ARGUMENTS 🫢

  • dev β€” the DRM device. main character energy, obviously πŸ‘‘
  • data β€” the data pointer for the ioctl. it's giving "payload delivery" πŸ“¦
  • file β€” the DRM file for the ioctl call. yes bestie, that file 🌈

πŸ’– DESCRIPTION πŸ’–

So what does it actually do? It returns the current tiling mode and the required bit 6 swizzling for the object. that's it, that's the whole thing, and honestly? iconic ⭐

and yeah β€” it's called by the user via ioctl. so this is the handler sitting there waiting for userspace to come ask 🧚


πŸ”₯ RETURN πŸ”₯

  • Zero on success πŸŽ‰
  • negative errno on failure 😭 (yes, negative, keep that in mind fr fr)

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’€ reminder: this page is filed under ./drivers/gpu/drm/i915/gem, dated October 2026, and it's part of the Kernel API Manual. slay, go read the source, ily, bye πŸ“

periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from