dce_v8_0_program_watermarks(9)
β¨ 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β theamdgpu_devicepointer, 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:
dce_v8_0_page_flip(9)dce_v8_0_hpd_sense(9)dce_v8_0_hpd_set_polarity(9)dce_v8_0_hpd_init(9)dce_v8_0_hpd_fini(9)dce_v8_0_line_buffer_adjust(9)cik_get_number_of_dram_channels(9)dce_v8_0_dram_bandwidth(9)dce_v8_0_dram_bandwidth_for_display(9)dce_v8_0_data_return_bandwidth(9)dce_v8_0_dmif_request_bandwidth(9)dce_v8_0_available_bandwidth(9)dce_v8_0_average_bandwidth(9)dce_v8_0_latency_watermark(9)dce_v8_0_average_bandwidth_vs_dram_bandwidth_for_display(9)dce_v8_0_average_bandwidth_vs_available_bandwidth(9)dce_v8_0_check_latency_hiding(9)dce_v8_0_bandwidth_update(9)dce_v8_0_pick_pll(9)
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
- 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