get_tuples_out_fmts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… get_tuples_out_fmts β€” Kernel API Manual, section 9 ✨

okay bestie, welcome to the get_tuples_out_fmts(9) page from the Kernel API Manual. it's giving very specific kernel helper energy, and honestly? we love that for us. πŸŽ€


🌸 NAME 🌸

get_tuples_out_fmts β€” get unique output formats of a &struct fmt_tuple list. no cap, that's the whole vibe. πŸ’–


✨ SYNOPSIS ✨

size_t get_tuples_out_fmts (const struct fmt_tuple *fmt_tuples , const
       size_t num_fmt_tuples , u32 *out_fmts );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fmt_tuples β€” array of struct fmt_tuple 🫢
  • num_fmt_tuples β€” number of entries in fmt_tuples ✨
  • out_fmts β€” target array to store the unique output bus formats πŸ’…

🌈 DESCRIPTION 🌈

Returns the number of unique output formats, i.e. the number of entries in out_fmts that were populated with sensible values. so like, it hands you back the count of the real ones that actually got filled in with something sensible. iconic behavior, fr fr. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/tests/drm_bridge_test.c struct fmt_tuple(9), drm_test_bridge_chain_verify_fmt(9). go read those too, bestie, iykyk. 🌟


πŸŽ€ source/version: ./drivers/gpu/drm/tests Β· October 2026 Β· page: get_tuples_out_fmts(9) β€” that's the teaaa, bye bestie! πŸ’–
πŸ“¦ where this page comes from