drm_gem_vra..._create_dumb(9)
π drm_gem_vra..._create_dumb(9) π
okay so this page lives in the Kernel API Manual, and the filename is literally truncated to drm_gem_vra..._create_dumb(9) β the way the real function name is drm_gem_vram_fill_create_dumb and the header just gave up halfway π iconic behavior honestly. anyway bestie, let's get into it β¨
πΈ NAME πΈ
drm_gem_vram_fill_create_dumb β the lil helper that does the boring paperwork for implementing &struct drm_driver.dumb_create π«Ά
β¨ SYNOPSIS β¨
int drm_gem_vram_fill_create_dumb (struct drm_file *file , struct
drm_device *dev , unsigned long pg_align , unsigned long pitch_align ,
struct drm_mode_create_dumb *args );
π ARGUMENTS π
fileβ the DRM file, that's her πdevβ the DRM device, the whole vibepg_alignβ the buffer's alignment, measured in multiples of the page size πpitch_alignβ the scanline's alignment, in powers of 2 π’argsβ the arguments exactly as they were handed tostruct drm_driver.dumb_create
π¦ DESCRIPTION π¦
so here's the tea β: this helper function fills struct drm_mode_create_dumb, which is the struct that struct drm_driver.dumb_create uses. that's the whole job. that's her main character arc.
if you're implementing this interface, the move is: forward your arguments straight to this helper, plus whatever driver-specific parameters you've got on the side. no cap, it's that simple π
π RETURN π
0 on success, or a negative error code otherwise. periodt. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_gem_vram_helper.coverview(9)drm_gem_vram_create(9)drm_gem_vram_put(9)drm_gem_vram_offset(9)drm_gem_vram_vmap(9)drm_gem_vram_vunmap(9)drm_gem_vram_object_free(9)drm_gem_vram_driver_dumb_create(9)drm_gem_vram_plane_helper_prepare_fb(9)drm_gem_vram_plane_helper_cleanup_fb(9)drm_gem_vram_object_vmap(9)drm_gem_vram_object_vunmap(9)drm_vram_mm_debugfs_init(9)drmm_vram_helper_init(9)drm_vram_helper_mode_valid(9)
like. go read those too bestie, the whole friend group is there π§
ok that's the whole page fr fr β no hidden lore, no extra caveats, just the helper being helpful π
and that's a wrap! π this one came straight out of ./drivers/gpu/drm, dated October 2026 β mwah, ty for reading, ily, go touch some VRAM πβ¨
π¦ 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