vmw_kms_new_framebuffer(9)
π vmw_kms_new_framebuffer β like, the manual page for vmw_kms_new_framebuffer(9) bestie β¨
okay so we're in the Kernel API Manual rn and this page is all about one thing and one thing only: making a brand new framebuffer. that's it. that's the whole vibe. π
πΈ NAME πΈ
vmw_kms_new_framebuffer β create a new framebuffer. literally what it says on the tin, no cap π
β¨ SYNOPSIS β¨
no thoughts, just the signature. copy it exactly, she's fragile:
struct vmw_framebuffer * vmw_kms_new_framebuffer (struct vmw_private
*dev_priv , struct vmw_user_object *uo , const struct drm_format_info
*info , const struct drm_mode_fb_cmd2 *mode_cmd );
she returns a struct vmw_framebuffer * btw, in case you were wondering. main character energy fr fr π
π¦ ARGUMENTS π¦
okay bestie let's meet the cast π«Ά four args, all of them matter, don't skip a single one:
dev_privβ pointer to the device private struct. that's the whole device's little personal diary, basically. keep her close πuoβ pointer to the user object that we're wrapping the kms framebuffer around. β οΈ and here's the rule: either the buffer or the surface inside the user object must beNULL. one of them. not both, not neither. that's the assignment, periodt.infoβ the pixel format information. the pixels need to know what format they're in, okay?? it's giving self-discovery πmode_cmdβ frame-buffer metadata. the little details that make the fb who she is β¨
π SEE ALSO π
so if you wanna keep reading (and you should, she's iconic), go check the kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c π
and then, like, the whole extended friend group π«Ά β no skips, here's everyone:
vmw_du_plane_unpin_surf(9)vmw_du_plane_cleanup_fb(9)vmw_du_primary_plane_atomic_check(9)vmw_du_crtc_duplicate_state(9)vmw_du_crtc_reset(9)vmw_du_crtc_destroy_state(9)vmw_du_plane_duplicate_state(9)vmw_du_plane_reset(9)vmw_du_plane_destroy_state(9)vmw_du_connector_duplicate_state(9)vmw_du_connector_reset(9)vmw_du_connector_destroy_state(9)vmw_kms_readback(9)vmw_kms_srf_ok(9)vmw_kms_check_display_memory(9)vmw_crtc_state_and_lock(9)vmw_kms_check_implicit(9)vmw_kms_check_topology(9)vmw_kms_atomic_check_modeset(9)vmw_du_update_layout(9)vmw_guess_mode_timing(9)vmw_kms_update_layout_ioctl(9)vmw_kms_helper_dirty(9)vmw_kms_helper_validation_finish(9)vmw_kms_create_implicit_placement_property(9)vmw_kms_suspend(9)vmw_kms_resume(9)vmw_kms_lost_device(9)vmw_du_helper_plane_update(9)vmw_connector_mode_valid(9)vmw_connector_get_modes(9)
that's thirty-one references bestie, I counted, she's thorough ππ
alright that's the page!! tysm for reading, you ate that ngl π this little cutie lives in ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's vmw_kms_new_framebuffer(9) all the way down. mwah, go build something 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