dc_update_m...with_padding(9)
π dc_update_m...with_padding(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes this page lives in it π no cap, we're abt to get into some display-clock math and honestly? it's giving main character energy β¨
πΈ NAME πΈ
dc_update_modified_pix_clock_for_dsc_with_padding β update pix_clk for dsc with padding π¦
like... that's literally it. that's the whole vibe. she updates the pix_clk for dsc. with padding. periodt π
β¨ SYNOPSIS β¨
void dc_update_modified_pix_clock_for_dsc_with_padding (const struct
dc_stream_state *stream , const struct dc_crtc_timing *timing , struct
dsc_padding_params *dsc_padding_params );
three pointers, one void, zero drama (well. some drama, it's clock math, keep reading) π
π«Ά ARGUMENTS π«Ά
streamβ Pointer to the stream structure. yes queen, the stream struct πtimingβ Pointer to the streamdc_crtc_timingstructure. the timing info, iconic β¨dsc_padding_paramsβ Pointer to the DSC padding parameters structure. the padding params, we stan πΈ
π₯ DESCRIPTION π₯
okay so listen π β this function updated the pix_clk for dsc with padding, and where does it keep it? it's stored in pipe_ctx, iykyk. the goal is literally:
make the OTG h_active time fit within the expected compressed active time, which gets calculated according to the HDMI spec πΊβ¨
and then?? H_total gets increased so it maintains the same OTG line time as before the increased pix_clk. like, we bumped the clock but not the line time, we're not messy π
no cap, it's just clockbookkeeping and honestly? she ate π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/amd/display/dc/core/dc_resource.cπ resource_validate_probe_set(9)dc_validate_with_context(9)calculate_timing_params_for_dsc_with_padding(9)dc_validate_global_state(9)
go read those next, bestie, they're all in the group chat ππ«Ά
mwah π this page came to you from ./drivers/gpu/drm/amd/display/..., dated October 2026 β see you in the next manpage, slay! π
β¨π
π¦ 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