STRUCT VBLANK_CONTROL_WORK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct vblank_control_work(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the whole vibe on struct vblank_control_work, and no cap, it's giving "small struct, big job." Let's get into it πŸ’…


🌸 NAME 🌸

struct vblank_control_work β€” literally the work data for vblank control. that's it, that's the whole name, and she ate πŸŽ€


⭐ SYNOPSIS ⭐

here's the struct in all her main-character glory, copied exactly so you don't have to squint at the source, iykyk:

struct vblank_control_work {
    struct work_struct work;
    struct amdgpu_display_manager *dm;
    struct amdgpu_crtc *acrtc;
    struct dc_stream_state *stream;
    bool enable;
 };

like, five fields, zero notes πŸ’€


πŸ‘‘ Members πŸ‘‘

these are the members, one by one, and yes we're doing all of them 🫢

  • work β€” the kernel work data for the work event. this is the little engine that gets the whole thing scheduled ✨
  • dm β€” the amdgpu display manager device. hi bestie, she's kind of a big deal πŸ’–
  • acrtc β€” the amdgpu CRTC instance for which the event has occurred. yes, that CRTC, the one the event happened on πŸ”₯
  • stream β€” the DC stream for which the event has occurred. the stream that said "not me being the one this event fired for" 😭
  • enable β€” true if enabling vblank. like, that's the whole bool. true = we're turning it on, periodt πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

the whole friend group, in the kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:

  • struct dm_compressor_info(9)
  • struct dm_boot_time_crc_info(9)
  • struct dmub_hpd_work(9)
  • struct idle_workqueue(9)
  • struct vupdate_offload_work(9)
  • struct amdgpu_dm_luminance_data(9)
  • struct amdgpu_dm_backlight_caps(9)
  • struct dal_allocation(9)
  • struct hpd_rx_irq_offload_work_queue(9)
  • struct hpd_rx_irq_offload_work(9)
  • struct amdgpu_display_manager(9)
  • struct amdgpu_hdmi_vsdb_info(9)

go read them all, i'll wait 🧚


okay genuine vibe check for a sec: everything above is exactly what the page says β€” every member, every reference, nothing invented, nothing dropped. slay responsibly πŸ’…

and that's the page, bestie! 🌈 this one came from ./drivers/gpu/drm/amd/display/... and dated October 2026 β€” so when you're out here grepping at 2am, remember who told you πŸ’– bye bestie, mwah πŸ“

πŸ“¦ where this page comes from