drm_mode_mmap_dumb_ioctl(9)
β¨ NAME β¨
okay so bestie, this is drm_mode_mmap_dumb_ioctl(9) from the Kernel API Manual β and it's literally about creating an mmap offset for a dumb backing storage buffer. no cap, that's the whole title vibe. π
π SYNOPSIS π
int drm_mode_mmap_dumb_ioctl (struct drm_device *dev , void *data ,
struct drm_file *file_priv );
π ARGUMENTS π
devβ DRM device. the main character of this little function, honestly.dataβ ioctl data. yes bestie, that's the data right there.file_privβ DRM file info. iconic, necessary, we love her.
π DESCRIPTION π
So what it does is allocate an offset in the drm device node's address space so you can memory map a dumb buffer. that's the serve. β¨
Called by the user via ioctl. periodt. π«Ά
π¦ RETURN π¦
Zeroon success. slay. π- negative
errnoon failure. tragic, but important to know. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/drm_dumb_buffers.coverview(9) drm_mode_size_dumb(9)
and that's the tea π this page's source/version footer is ./drivers/gpu/drm, dated October 2026, and it's the drm_mode_mmap_dumb_ioctl(9) manual. bye bestie, ily π
π¦ 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