drm_dsc_flatness_det_thresh(9)
π drm_dsc_flatness_det_thresh(9) β from the Kernel API Manual, bestie
okay so bestie, listen β this one lives in the Kernel API Manual and it's honestly such a little icon. It's a kernel function that computes one specific number for you and then dips. Lowkey slay. β¨
π NAME π
drm_dsc_flatness_det_thresh β literally just calculates the flatness_det_thresh for the given DSC config. That's the whole gig. She's focused, she's main character energy, she does one thing. π«Ά
πΈ SYNOPSIS πΈ
u32 drm_dsc_flatness_det_thresh (const struct drm_dsc_config *dsc );
That's it. That's the signature. Copy it exactly, no cap β u32 out, const struct drm_dsc_config * in. π¦
β¨ ARGUMENTS β¨
dscβ pointer to the DRM DSC config struct. Yes bestie, a pointer, and it'sconst, so likeβ¦ hands off, don't touch, we're just reading. π
π RETURN π
It returns the calculated flatness det thresh value. That's the value. That's the vibe check result. π₯
ngl the doc doesn't say anything else about it, so I'm not gonna sit here and invent lore. What it says is what you get. π
π SEE ALSO π
This is the group chat, and everyone's invited:
- Kernel file
./drivers/gpu/drm/display/drm_dsc_helper.cβ the whole squad lives here π dsc helpers(9)drm_dsc_dp_pps_header_init(9)drm_dsc_dp_rc_buffer_size(9)drm_dsc_pps_payload_pack(9)drm_dsc_set_const_params(9)drm_dsc_set_rc_buf_thresh(9)drm_dsc_setup_rc_params(9)drm_dsc_compute_rc_parameters(9)drm_dsc_get_bpp_int(9)drm_dsc_initial_scale_value(9)drm_dsc_dump_config(9)
Like, that is a full roster. Go read them, iykyk. πβ¨
aaaand that's the page, bestie π β shoutout to ./drivers/gpu/drm/display, dated October 2026, and yeah, the page name is still drm_dsc_flatness_det_thresh(9) because we don't do rebrands here. periodt. ππβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms