compute_pre_rec_first_hdl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… compute_pre_rec_first_hdl β€” the manual page, but make it make sense

okay so bestie, we're in the Kernel API Manual for compute_pre_rec_first_hdl(9) and honestly this one is short and sweet β€” like, the function literally just computes the first hdl position of the pre and rec swath given the input params. that's the whole vibe. πŸŽ€

*****************************************************************************************************************************

(yeah that asterisk line was just sitting there in the original, so i'm preserving it. it's giving divider energy. iconic.)


✨ SYNOPSIS ✨

void compute_pre_rec_first_hdl (const struct
dml2_core_calcs_calculate_alternate_params *p , bool chroma , unsigned
int stream_idx , unsigned int plane_idx , double *pre_first_hdl_out ,
double *rec_first_hdl_out );

it returns void, so like... no return value, no crumbs, no nothing. it just does the thing and writes out through the pointers. periodt. πŸ’…


🌸 ARGUMENTS 🌸

okay bestie so here's the thing β€” the original page says -- undescribed -- for every single one of these. not me making that up, that's literally what the source says. so i'm gonna give you exactly that, but with love. 🫢

  • p β€” -- undescribed -- πŸ™ˆ
  • chroma β€” -- undescribed -- πŸ™ˆ
  • stream_idx β€” -- undescribed -- πŸ™ˆ
  • plane_idx β€” -- undescribed -- πŸ™ˆ
  • pre_first_hdl_out β€” -- undescribed -- πŸ™ˆ
  • rec_first_hdl_out β€” -- undescribed -- πŸ™ˆ
ngl, the docs are leaving us on read here. all six params are marked -- undescribed -- in the original, so i'm not about to invent lore that isn't there. iykyk. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

so true bestie, go read the source if you want the juicy details:

like, the whole swath-computing friend group. the way they all reference each other... main character energy, fr fr. 🌈


✨ sign-off time ✨

this little beauty lives over in ./drivers/gpu/drm/amd/display/..., and the page is stamped October 2026 with compute_pre_rec_first_hdl(9) in the footer. so like, future-dated manpage. obsessed. πŸ‘‘πŸ’– slay responsibly, and remember: keep every hdl where it belongs. ⭐

πŸ“¦ where this page comes from