vmw_kms_check_topology(9)
π vmw_kms_check_topology π
okay so bestie, welcome to the glow-up zone β¨ this is a page from the Kernel API Manual (yes, the actual kernel docs, we're fancy now π), and today's main character is vmw_kms_check_topology β she's a function, she's a vibe, and if you're deep in the vmwgfx KMS code you literally need her in your life. Sit down, grab a strawberry π, let's go.
πΈ NAME πΈ
vmw_kms_check_topology β the girl who validates topology inside drm_atomic_commit π no cap.
Like, that's it. That's the whole job description. She checks the topology, she does it during drm_atomic_commit, and she does it flawlessly. Periodt.
β¨ SYNOPSIS β¨
int vmw_kms_check_topology (struct drm_device *dev , struct
drm_atomic_commit *state );
so she takes two things and she returns an int β classic. copy it exactly, don't be cute with it π«Ά
π¦ ARGUMENTS π¦
devβ the DRM device. yes, that DRM device. the whole machine's graphics situation, handed to her like a lil gift πstateβ the driver state object. this is the state she's gonna look at and be like "mmhmm, cute, let me validate you" π
β RETURN β
0on success π slay, we love a zero.- otherwise a negative error code π something went wrong and she's telling you about it with a minus sign. not me getting a negative return and knowing exactly what it means.
π₯ SEE ALSO π₯
okay this list is LONG and honestly it ate. every single one of these, no skips, no merges, no shortcuts π
- the kernel file, right here:
./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 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_new_framebuffer(9)vmw_kms_check_display_memory(9)vmw_crtc_state_and_lock(9)vmw_kms_check_implicit(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)
like, that's the whole friend group right there π go read them, iykyk.
π real talk though: every name above is verbatim from the page, so if you're grepping for one of these, copy-paste it exactly. don't let autocorrect gaslight you.
and that's the page!! π§ this lil doc lives in ./drivers/gpu/drm/vmwgfx, it's dated October 2026, and it came to you courtesy of the Kernel API Manual β version info, source, date, all of it, mwah π ty for reading bestie, go validate some topology πβ¨
π¦ 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