i915_gem_set_tiling_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_gem_set_tiling_ioctl(9) πŸ’…

okay so this is from the Kernel API Manual, and it's literally the glow-up guide for setting tiling modes. bestie, let's get into it. ✨


πŸŽ€ NAME πŸŽ€

i915_gem_set_tiling_ioctl β€” the IOCTL handler to set tiling mode. periodt. πŸ’…


✨ SYNOPSIS ✨

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

🫢 ARGUMENTS 🫢

  • dev β€” the DRM device. like, the main character device in this whole situation. πŸ‘‘
  • data β€” the data pointer for the ioctl. it's giving "payload delivery" energy. πŸŽ€
  • file β€” the DRM file for the ioctl call. yes ma'am, every call needs its file. πŸ¦‹

🌸 DESCRIPTION 🌸

So this one sets the tiling mode of an object, and it returns the required swizzling of bit 6 of addresses in the object. no cap, that's the whole assignment. ✨

It's called by the user via ioctl. iykyk. πŸ’–


πŸ”₯ RETURN πŸ”₯

  • Zero on success. slay. βœ…
  • Negative errno on failure. not slay, but at least you know. 😭

🌈 SEE ALSO 🌈


xoxo bestie πŸ’– this page is serving i915_gem_set_tiling_ioctl(9) from source/version ./drivers/gpu/drm/i915/gem, dated October 2026. iconic. πŸŽ€πŸ’…

πŸ“¦ where this page comes from