drm_atomic_h...tor_tv_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« drm_atomic_h...tor_tv_check(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual ✨ and yes, the title up there is literally abbreviated with ... in the middle β€” that's not me being lazy, that's the actual page header, drm_atomic_h...tor_tv_check(9), and we're just gonna vibe with it 🫢


🌸 NAME 🌸

drm_atomic_helper_connector_tv_check β€” validate an analog TV connector state πŸ’…

like. it checks ur TV connector state. that's the whole thing. iconic.


✨ SYNOPSIS ✨

int drm_atomic_helper_connector_tv_check (struct drm_connector
*connector , struct drm_atomic_commit *state );

πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” a DRM Connector πŸ¦‹ (the connector in question, the main character of this function)
  • state β€” the DRM State object ⭐ (the state we're checking, no cap)

πŸ”₯ DESCRIPTION πŸ”₯

So what this does is it checks the state object to see if the requested state is actually valid for an analog TV connector πŸ‘‘ like it's the vibe check for ur TV connector state. valid? slay. not valid? we'll get to that in RETURN, bestie 😭


πŸ’œ RETURN πŸ’œ

  • 0 β€” success, we ate πŸ’…
  • a negative error code β€” on error πŸ™ˆ

🌈 SEE ALSO 🌈

okay this list is LONG, grab a snack πŸ“ β€” kernel file ./drivers/gpu/drm/drm_atomic_state_helper.c, plus:


and that's the whole page, bestie!! 🧚 source lives at ./drivers/gpu/drm, dated October 2026, from the Kernel API Manual β€” go forth and validate those analog TV connector states, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from