i915_gem_get_tiling_ioctl(9)
π 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
errnoon failure π (yes, negative, keep that in mind fr fr)
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_tiling.c - buffer object tiling(9)
i915_gem_fence_size(9)i915_gem_fence_alignment(9)i915_gem_set_tiling_ioctl(9)β the setter to this getter, they're a matched set bestie π
π 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
- 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