drm_dp_dsc_s...e_count_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for drm_dp_dsc_s...e_count_mask(9) ✨ yes that's literally the name up top β€” the header squishes it down with the little ... in the middle, and we're leaving it exactly like that because that's how the page is filed πŸ’… (the NAME section below spells the whole thing out for you, iykyk).


🌸 NAME 🌸

drm_dp_dsc_sink_slice_count_mask β€” get the mask of valid DSC sink slice counts πŸ”₯


✨ SYNOPSIS ✨

u32 drm_dp_dsc_sink_slice_count_mask (const u8
dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , bool is_edp );

πŸŽ€ ARGUMENTS πŸŽ€

  • dsc_dpcd β€” the sink's DSC DPCD capabilities. this is the little blob of capability data you're handin over 🫢
  • is_edp β€” true for an eDP sink (so, like, a laptop-panel situation, not a regular external display vibe) 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what this actually does: it goes and grabs the mask of supported slice counts straight out of the sink's DSC DPCD register ✨ lowkey it's just a "hey, what slice counts can you do?" lookup, and it hands you back a mask instead of a list. that's the whole thing. no cap, that's it πŸ’…


⭐ RETURN ⭐

mask of slice counts supported by the DSC sink, and here's how to read it:

  • > 0 β€” bit#0,1,3,5..,23 set if the sink supports 1,2,4,6..,24 slices πŸ‘‘
  • 0 β€” if the sink doesn't support any slices πŸ’€
fr fr, watch those bit positions β€” bit#0,1,3,5..,23 is not a straight 1,2,3,4 walk, it's the real deal exactly as written. don't be out here assuming πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the kernel file behind all this: ./drivers/gpu/drm/display/drm_dp_helper.c πŸŽ€

and now, the full friend group β€” every single one, no skipping, because the manpage said so and we don't gatekeep here 🫢 (and yes, dp helpers(9) shows up twice in the list, that's literally how the page has it, we're not editing the icon's choices πŸ’…):


that's the page, bestie, you ate it πŸ“ and for the cute sign-off: this one lives under source ./drivers/gpu/drm/display, dated October 2026, and if you ever need to find it again it's filed right back under drm_dp_dsc_s...e_count_mask(9) where it belongs πŸ§šπŸ’–

πŸ“¦ where this page comes from