drm_dsc_setup_rc_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_dsc_setup_rc_params ✨

okay so welcome to the Kernel API Manual, bestie β€” this one's a little function from the DRM Display subsystem and it's honestly doing the most for rate control πŸ’…


πŸŽ€ NAME πŸŽ€

drm_dsc_setup_rc_params β€” sets the parameters and limits for the RC model, all in accordance with the DSC 1.1 or 1.2 specification and the DSC C Model πŸ¦‹

⚠️ real talk: bits_per_pixel and bits_per_component are required to be set before you call this function. like, non-negotiable. set them first or don't come to the party πŸ™ˆ

🌸 SYNOPSIS 🌸

int drm_dsc_setup_rc_params (struct drm_dsc_config *vdsc_cfg , enum
drm_dsc_params_type type );

πŸ’– ARGUMENTS πŸ’–

  • vdsc_cfg β€” the DSC configuration data, partially filled in by the driver (yes, partially β€” that's the vibe, the rest is this function's moment ✨)
  • type β€” the operating mode and the standard to follow πŸ‘‘

⭐ RETURN ⭐

0, or a -error code if something went sideways 😭 β€” so like, check it, fr fr.


🫢 SEE ALSO 🫢

Kernel file ./drivers/gpu/drm/display/drm_dsc_helper.c β€” that's where the dsc helpers live, iykyk:


that's the whole thing, no cap β€” go set those rc params, main character πŸ’œ

signed off from ./drivers/gpu/drm/display, dated October 2026 β€” catch you in the next manpage, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from