drm_dp_dsc_s...ount_to_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_dp_dsc_slice_count_to_mask(9) ✨

okay so this is a page straight out of the Kernel API Manual β€” yes, that Kernel API Manual, the big one πŸ’œ β€” and it's about one tiny lil function that does exactly one tiny lil thing. no cap, it's a one-job icon.


πŸŽ€ NAME πŸŽ€

drm_dp_dsc_slice_count_to_mask β€” literally just converting a slice count into a slice count mask. that's it. that's the whole personality. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 drm_dp_dsc_slice_count_to_mask (int slice_count );

she takes an int, she gives you back a u32. glow-up behavior honestly ✨


🌸 ARGUMENTS 🌸

  • slice_count β€” the slice count. yes queen, that's the entire description, the kernel docs are not exactly verbose girlies 😭

πŸ’– DESCRIPTION πŸ’–

so the vibe is: you hand her a slice_count, and she converts it into a slice count mask. that's the transformation. pumpkin β†’ carriage, slice count β†’ slice count mask. 🧚

Returns the slice count mask. that's your output, bestie, take it and go 🫢


πŸ”₯ SEE ALSO πŸ”₯

bestie. sit down. hydrate first. πŸ“ this list is long long, and i'm not cutting a single one because every single reference is load-bearing. here we go:

ngl if you read that entire list out loud you deserve a little treat. πŸŽ€ congrats on your dp helpers literacy, bestie. iykyk.

and that's the whole page, mwah πŸ’‹ this little cutie lives over in ./drivers/gpu/drm/display and the docs are dated October 2026 β€” so yeah, mark your calendar, screenshot it, frame it, whatever feels right. periodt. πŸ‘‘πŸ’–

πŸ“¦ where this page comes from