dce_v8_0_program_watermarks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dce_v8_0_program_watermarks(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this little page is all about dce_v8_0_program_watermarks, which is literally the function that handles program display watermarks. yes. watermarks. for a display. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

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

that's the whole vibe β€” it returns void, so don't go looking for a return value, it's not coming πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the amdgpu_device pointer, aka the whole GPU situation 🫢
  • amdgpu_crtc β€” literally the selected display controller, the main character of this call πŸ‘‘
  • lb_size β€” line buffer size, that's the number, that's the unit βœ…
  • num_heads β€” how many display controllers are in use rn, count 'em πŸ”₯

⭐ DESCRIPTION ⭐

Calculate and program the display watermarks for the selected display controller (CIK). that's it, that's the whole job β€” the function does the math and then writes the results where they need to live. two-step slay ✨

ngl this one's short and sweet β€” no hidden caveats, no deprecated bits, just calc + program for CIK πŸ’œ

🌈 SEE ALSO 🌈

the source of truth lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/dce_v8_0.c β€” go read it, iykyk πŸ“–

and here's the whole friend group of sibling functions, fr fr:

like, bandwidth this, bandwidth that β€” it's giving bandwidth-obsessed and honestly? same 🧚


and that's the page, bestie 🫢 this cutie came from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” mwah, iconic, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from