v4l2_valid_dv_timings(9)
β¨ v4l2_valid_dv_timings β¨
okay bestie, real talk β welcome to the v4l2_valid_dv_timings page from the Kernel API Manual π
this one's short and sweet and it does exactly what it says on the tin: it tells you whether some timings are valid. no cap. let's get into it π
πΈ SYNOPSIS πΈ
bool v4l2_valid_dv_timings (const struct v4l2_dv_timings *t , const
struct v4l2_dv_timings_cap *cap , v4l2_check_dv_timings_fnc fnc , void
*fnc_handle );
she returns a bool, she takes four things, she's iconic like that π«Ά
π¦ ARGUMENTS π¦
tβ thev4l2_dv_timingsstruct. this is the timings you're asking about, the main character of the whole operation πcapβ thev4l2_dv_timings_capcapabilities. basically the hardware's vibe check β what it can and can't handle β¨fncβ callback to check if this timing is OK. it may beNULL. ngl, lowkey optional, but highkey useful if you got extra rules πfnc_handleβ a handle that is passed on tofnc. it just... gets handed over. that's the whole job. respect π«‘
π DESCRIPTION π
so here's the tea β β this function returns true if the given dv_timings struct is supported by the hardware capabilities and the callback function (if it's non-NULL). if either one says nah, you get false. periodt π
literally that's it, she's a simple girl with a simple purpose and she ate π₯
π SEE ALSO π
- Kernel file
./include/media/v4l2-dv-timings.h v4l2_calc_timeperframe(9)v4l2_check_dv_timings_fnc(9)v4l2_enum_dv_timings_cap(9)v4l2_find_dv_timings_cap(9)v4l2_find_dv_timings_cea861_vic(9)v4l2_match_dv_timings(9)v4l2_print_dv_timings(9)v4l2_detect_cvt(9)v4l2_detect_gtf(9)v4l2_calc_aspect_ratio(9)v4l2_dv_timings_aspect_ratio(9)can_reduce_fps(9)struct v4l2_hdmi_colorimetry(9)
like, go read the whole friend group, they're all slaying in their own lanes π§π
ngl the whole thing lives over in ./include/media β that's the neighborhood π‘
mwah, that's the page!! π source & version vibes courtesy of the Kernel API Manual, dated October 2026, filed under ./include/media, and the star of the show is of course v4l2_valid_dv_timings(9) βπ bye bestie, go validate some timings π
π¦ 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