drm_dp_dsc_s...d_input_bpcs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_dsc_sink_supported_input_bpcs β€” NAME ✨

okay so bestie, meet drm_dp_dsc_sink_supported_input_bpcs β€” she's the one who goes and gets all the input bits per component values supported by the DSC sink. like, all of them. she's an icon, she's a helper, she's from the Kernel API Manual (yes, the whole manual, not just this page 🫢).


🌸 SYNOPSIS 🌸

int drm_dp_dsc_sink_supported_input_bpcs(const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE], u8 dsc_bpc[3]);

πŸŽ€ ARGUMENTS πŸŽ€

  • dsc_dpcd β€” the DSC capabilities straight up from DPCD. like, the sink's whole vibe sheet.
  • dsc_bpc β€” an array that this helper fills in for you with the supported input bpcs. she does the work, you get the results. slay.

πŸ’– DESCRIPTION πŸ’–

So basically: she reads the DSC DPCD from the sink device and parses out the supported bits per component values. That's the whole thing. That's her job.

This is what the driver uses to populate the DSC parameters in the struct drm_dsc_config β€” yeah, that struct. Then the driver creates an infoframe using these parameters to populate struct drm_dsc_pps_infoframe, and those get sent to the sink using the DSC infoframe, courtesy of the helper function drm_dsc_pps_infoframe_pack. iykyk πŸ’…

like, it's giving pipeline. it's giving teamwork. the way that one helper feeds the next helper truly has main character energy.


πŸ”₯ RETURN πŸ”₯

The number of input BPC values parsed from the DPCD. that's it, that's the number, no cap. πŸ¦‹


⭐ SEE ALSO ⭐

okay so the friend group is huge. Kernel file ./drivers/gpu/drm/display/drm_dp_helper.c is the home base, and here's literally everyone invited to the party πŸŽ‰:

(yes, dp helpers(9) got invited twice. she's just that popular, don't @ me πŸ’€)


anyway bestie, that's the whole page β€” she lives at ./drivers/gpu/drm/display, the version stamp says October 2026, and this little cutie is signed off with all the love. mwah. πŸ§šπŸ’œβœ¨

πŸ“¦ where this page comes from