vmw_stdu_encoder_destroy(9)
π vmw_stdu_encoder_destroy(9) β like, the whole vibe
Hey bestie π«Ά welcome to the Kernel API Manual, the only group chat where the members are kernel functions and the drama is real. Today's main character? vmw_stdu_encoder_destroy. It's a teardown function. It's giving cleanup era. Let's get into it β¨
πΈ NAME πΈ
vmw_stdu_encoder_destroy β cleans up the STDU π
π SYNOPSIS π
void vmw_stdu_encoder_destroy (struct drm_encoder *encoder );
Yep, that's the whole signature. No return value (it's void, she doesn't owe you a status code π), and it takes exactly one thing.
π¦ ARGUMENTS π¦
encoderβ bestie, this is thestruct drm_encoderpointer that you use to get to the containing STDU π it's literally the doorway to the thing we're cleaning up.
β¨ DESCRIPTION β¨
Okay so here's the tea β: vmwgfx cleans up the crtc, the encoder and the connector all at the same time, together, as a unit. Main character group energy π
Which means technically? Technically this function can be a no-op. Like, genuinely, it could do absolutely nothing and nobody would notice π
But β and this is the important part, so listen β it doesn't hurt to have this here anyway. Because what if the common KMS code changes one day and somehow vmw_stdu_crtc_destroy doesn't get called? π Then this lil function is there, being a safety net, holding it down. Iconic, honestly. Preparedness ate. π
Fr fr: the "it can be a no-op" thing is not me being shady, that's just literally what the source says. It's defensive code and we respect her for it π
π₯ SEE ALSO π₯
Sibling functions, associated structs, and the kernel file herself β the whole family tree, no cap π
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c - struct
vmw_stdu_dirty(9) - struct
vmw_screen_target_display_unit(9) vmw_stdu_crtc_destroy(9)vmw_stdu_define_st(9)vmw_stdu_bind_st(9)vmw_stdu_populate_update(9)vmw_stdu_update_st(9)vmw_stdu_destroy_st(9)vmw_stdu_crtc_mode_set_nofb(9)vmw_stdu_bo_cpu_clip(9)vmw_stdu_bo_cpu_commit(9)vmw_kms_stdu_readback(9)vmw_kms_stdu_surface_clip(9)vmw_kms_stdu_surface_fifo_commit(9)vmw_kms_stdu_surface_dirty(9)vmw_stdu_connector_destroy(9)vmw_stdu_primary_plane_cleanup_fb(9)vmw_stdu_primary_plane_prepare_fb(9)vmw_stdu_plane_update_bo(9)vmw_stdu_plane_update_surface(9)vmw_stdu_primary_plane_atomic_update(9)vmw_stdu_init(9)vmw_stdu_destroy(9)vmw_kms_stdu_init_display(9)
π the cute sign-off π
That's the page, bestie! π§ This one lives in ./drivers/gpu/drm/vmwgfx, it's stamped October 2026, and it's filed under vmw_stdu_encoder_destroy(9). Go forth and destroy your encoders responsibly β or don't, since it might be a no-op anyway ππ periodt. π
π¦ 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