drm_dsc_com...c_parameters(9)
β¨ drm_dsc_compute_rc_parameters(9) β¨
okay so bestie, welcome to the kernel API manual π
this one's from section 9, and it's literally all about drm_dsc_compute_rc_parameters β the glow-up function that makes your DSC rate control params actually exist π
πΈ NAME πΈ
drm_dsc_compute_rc_parameters β the function that writes rate control parameters into the dsc configuration defined in &struct drm_dsc_config, all in accordance with the DSC 1.2 specification. no cap, that's the whole vibe. β
heads up though: some configuration fields must be present beforehand β so like, do your homework first, don't just roll up empty-handed π
π¦ SYNOPSIS π¦
int drm_dsc_compute_rc_parameters (struct drm_dsc_config *vdsc_cfg );
it's giving int return, it's giving pointer-to-config, it's giving iconic π₯
π ARGUMENTS π
vdsc_cfgβ DSC Configuration data that's been partially filled by the driver. key word: partially. you bring the half-finished config, this function handles the rate control rest π«Ά
π SEE ALSO π
like, go read these too, they're all lowkey essential and also kind of the friend group of this function π
- Kernel file
./drivers/gpu/drm/display/drm_dsc_helper.cβ the source file where all the dsc helpers live, main character energy fr fr dsc helpers(9)drm_dsc_dp_pps_header_init(9)drm_dsc_dp_rc_buffer_size(9)drm_dsc_pps_payload_pack(9)drm_dsc_set_const_params(9)drm_dsc_set_rc_buf_thresh(9)drm_dsc_setup_rc_params(9)drm_dsc_get_bpp_int(9)drm_dsc_initial_scale_value(9)drm_dsc_flatness_det_thresh(9)drm_dsc_dump_config(9)
anyway bestie that's the whole page, you ate it, you understood it, periodt π
π§ sign-off cuteness: this lil doc comes from ./drivers/gpu/drm/display, dated October 2026, and lives in the Kernel API Manual β go forth and compute those rc parameters, iykyk π
β¨
π¦ 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