i915_gem_set_tiling_ioctl(9)
π 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
errnoon failure. not slay, but at least you know. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_tiling.cbuffer object tiling(9) i915_gem_fence_size(9)i915_gem_fence_alignment(9)i915_gem_get_tiling_ioctl(9)
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
- 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