drm_connecto...color_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_connector_get_color_format πŸ’…

okay so real talk, this lil page lives in the Kernel API Manual under the name drm_connecto...color_format(9) (yes the title is literally truncated with dots, that's not me being lazy, that's the manpage being dramatic πŸ’€). Anyway, bestie, it's one function, it's one job, and honestly? She ate.


🌸 NAME 🌸

drm_connector_get_color_format β€” returns the connector color format of @conn_state ✨

like, that's it. that's the whole personality. and we love her for it 🫢


πŸŽ€ SYNOPSIS πŸŽ€

enum drm_connector_color_format drm_connector_get_color_format (const
struct drm_connector_state *conn_state );

note the return type, bestie: enum drm_connector_color_format. not a bool, not a pointer, an enum. she's giving specificity. iykyk πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • conn_state β€” pointer to the struct drm_connector_state you want to go check πŸ‘€ that's the whole vibe check input, right there. hand her a connector state, she tells you the color format. no cap.

🌈 SEE ALSO 🌈

okay this part is long, i'm not gonna lie to you. it's like when someone says "oh i have a few mutuals" and then you look and it's the entire kernel DRM subsystem 😭 but every single one matters, so here's the full guest list:

and yes, standard connector properties(9) shows up twice in there. i didn't duplicate it, the manpage did. we're respecting her choices πŸ’€πŸ’–

kay that's the whole page, angel. go read your connector state and slay πŸ”₯

β€” from ./drivers/gpu/drm, dated October 2026, with love and a little sparkle πŸŽ€βœ¨

πŸ“¦ where this page comes from