drm_dsc_com...c_parameters(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🌈


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