dce_v6_0_program_watermarks(9)
β¨ 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:
- Kernel file
./drivers/gpu/drm/amd/amdgpu/dce_v6_0.c dce_v6_0_page_flip(9)dce_v6_0_hpd_sense(9)dce_v6_0_hpd_set_polarity(9)dce_v6_0_hpd_init(9)dce_v6_0_hpd_fini(9)si_get_number_of_dram_channels(9)dce_v6_0_dram_bandwidth(9)dce_v6_0_dram_bandwidth_for_display(9)dce_v6_0_data_return_bandwidth(9)dce_v6_0_dmif_request_bandwidth(9)dce_v6_0_available_bandwidth(9)dce_v6_0_average_bandwidth(9)dce_v6_0_latency_watermark(9)dce_v6_0_average_bandwidth_vs_dram_bandwidth_for_display(9)dce_v6_0_average_bandwidth_vs_available_bandwidth(9)dce_v6_0_check_latency_hiding(9)dce_v6_0_line_buffer_adjust(9)dce_v6_0_bandwidth_update(9)dce_v6_0_pick_pll(9)
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
- 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