drm_dp_dsc_s...e_throughput(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 drm_dp_dsc_sink_max_slice_throughput(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs for fun now, this is who we are πŸ’… this one's from the drm_dp_helper corner of the DRM world and it's genuinely useful, no cap.


✨ NAME ✨

drm_dp_dsc_sink_max_slice_throughput β€” bestie, this hands you the maximum pixel throughput per slice of a DSC sink πŸŽ€ like, how much pixel juice can one slice of this thing handle?


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_dp_dsc_sink_max_slice_throughput (const u8
dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE] , int peak_pixel_rate , bool
is_rgb_yuv444 );

literally that's the whole signature, copy it exactly, don't be weird about it πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • dsc_dpcd β€” the DSC sink's capabilities, straight out of DPCD ✨ this is the little bundle of self-knowledge the display gives you.
  • peak_pixel_rate β€” cumulative peak pixel rate, in kHz. cumulative!! as in, the total for everything hitting the same sink, not just one tile 🫢
  • is_rgb_yuv444 β€” a bool telling you whether the mode is either RGB or YUV444 😌 (so if it's false, that means yuv422/yuv420, iykyk).

🌈 DESCRIPTION 🌈

so the way this works: it returns the DSC sink device's maximum pixel throughput per slice, and it figures that out from a few things β€” the device's dsc_dpcd capabilities, the peak_pixel_rate of the transferred stream(s), and whether the output format is_rgb_yuv444 or yuv422/yuv420 πŸ‘‘

heads up bestie β€” peak_pixel_rate is the total pixel rate transferred to the same DSC/display sink. do not come in here with a single-tile number and expect it to slay, it will not fr fr.

for instance, to calculate a tile's slice count of an MST multi-tiled display sink (and we are not considering the required rounding/alignment of slice count here, so don't @ me):

peak_pixel_rate = tile_pixel_rate * tile_count
total_slice_count = peak_pixel_rate / drm_dp_dsc_sink_max_slice_throughput(peak_pixel_rate)
tile_slice_count = total_slice_count / tile_count

see how it eats? πŸ“ that's the whole flow, iconic.


⭐ RETURN ⭐

it returns the maximum pixel throughput per slice supported by the DSC sink device, in kPixels/sec πŸ’« (note: kilo, not the kHz you passed in β€” stay awake, bestie 😭).


πŸ’œ SEE ALSO πŸ’œ

go read the whole fam, they're all right there in the kernel file ./drivers/gpu/drm/display/drm_dp_helper.c 🧚 and also:


and that's the page, bestie 🫢 this whole vibe lives at ./drivers/gpu/drm/display, it's dated October 2026, and yeah the page title in the corner is that truncated little drm_dp_dsc_s...e_throughput(9) moment β€” she got cut off but she's still iconic πŸ’€πŸ’– bye luv u, go read your DPCD ✨

πŸ“¦ where this page comes from