dce_v6_0_program_watermarks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dce_v6_0_program_watermarks ✨

okay so bestie, welcome to the kernel API manual πŸ’– this one's a 9 page (that's the kernel section, iykyk) and it's called dce_v6_0_program_watermarks, which literally means program display watermarks. yes. watermarks. for your display. we love a niche function πŸŽ€


🌸 SYNOPSIS 🌸

void dce_v6_0_program_watermarks (struct amdgpu_device *adev , struct
amdgpu_crtc *amdgpu_crtc , u32 lb_size , u32 num_heads );

that's the whole signature, no cap β€” it returns void, so don't go looking for a return value, it's giving "i do the work and i leave" πŸ’…


πŸ‘‘ ARGUMENTS πŸ‘‘

four of them, all mandatory, all iconic:

  • adev β€” amdgpu_device pointer. this is the device, the main character, the whole vibe.
  • amdgpu_crtc β€” the selected display controller. this is the one getting watermarked, periodt.
  • lb_size β€” line buffer size. yeah. that size. the line buffer one.
  • num_heads β€” number of display controllers currently in use. count 'em, bestie πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this function calculates and programs the display watermarks for the selected display controller. and which generation are we talking? CIK. that's it, that's the whole summary β€” the docs keep it short and mysterious and honestly? main character energy 🫢

no extra lore in the original, so no extra lore from me β€” i'm not out here inventing behaviour, that's not the vibe πŸ™ˆ

🌈 SEE ALSO 🌈

the besties of the codebase, in the order the manpage lists them:

all those bandwidth girlies and watermark besties are linked up β€” go read them, fr fr πŸ’€


and that's the page!! shipped from ./drivers/gpu/drm/amd/amdgpu, hitting your terminal courtesy of the Kernel API Manual in October 2026 πŸ“…πŸ’œ mwah, go program some watermarks, you got this πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from