STRUCT VMW_SCREEN_TARGET_DISPLAY_UNIT(9)
πΈ NAME πΈ
struct vmw_screen_target_display_unit β conglomerated STDU structure
okay bestie, this is the struct vmw_...display_unit(9) page from the Kernel API Manual, and it's literally all about that conglomerated STDU structure. lowkey iconic. π
β¨ SYNOPSIS β¨
okay so here's the exact shape of it β copy it character for character, no cap:
struct vmw_screen_target_display_unit {
struct vmw_display_unit base;
struct vmw_surface *display_srf;
enum stdu_content_type content_fb_type;
s32 display_width, display_height;
bool defined;
unsigned int cpp;
};
π Members π
vibe check on every single member, bestie β all of them, none skipped:
baseβ the VMW specific DU structure.display_srfβ the surface to be displayed, bestie. The dimension of this will always match the display mode. If the display mode matchescontent_vfbsdimensions, then this is a pointer into the corresponding field incontent_vfbs. If not, then this is a separate buffer to whichcontent_vfbswill blit to.content_fb_typeβ thecontent_fbtype.display_widthβ display width.display_heightβ display height.definedβtrueif the current display unit has been initialized.cppβ Bytes per pixel.
π₯ SEE ALSO π₯
if you're gonna hyperfixate, here's the whole link circle in order:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.cstruct vmw_stdu_dirty(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_encoder_destroy(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)
okay that's the whole page, bestie! source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 Β· page title: struct vmw_...display_unit(9). byeeee π
π«Άβ¨
π¦ 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