drm_display...from_cea_vic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’» drm_display...from_cea_vic(9) β€” the Kernel API Manual page, but make it make sense ✨

okay so bestie, gather round 🫢 this is the manual page for drm_display_mode_from_cea_vic(9), straight out of the Kernel API Manual, and it's literally one function but it's a very good function. let's get into it πŸ’…


🌸 NAME 🌸

drm_display_mode_from_cea_vic β€” return a mode for CEA VIC πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_display_mode * drm_display_mode_from_cea_vic (struct
drm_device *dev , u8 video_code );

like, that's the whole vibe. dev, video_code, boom, you get a mode pointer back. iconic.


✨ ARGUMENTS ✨

  • dev β€” the DRM device πŸ’– that's your graphics device, the main character of this whole operation
  • video_code β€” the CEA VIC of the mode πŸ“ (u8, so it's smol β€” an 8-bit number, no cap)

πŸ’œ DESCRIPTION πŸ’œ

Creates a new mode matching the specified CEA VIC. that's it. that's the whole thing. it takes your video_code and hands you back a mode that matches it β€” no extra steps, no drama, just vibes and a fresh struct drm_display_mode 🌈


πŸ‘‘ RETURN πŸ‘‘

A new drm_display_mode on success ✨ or NULL on failure 😭 β€” so like, always check your return value bestie, don't be out here dereferencing NULL fr fr πŸ’€


🧚 SEE ALSO 🧚

Kernel file ./drivers/gpu/drm/drm_edid.c β€” that's where the whole squad lives, and here's everyone you should go say hi to πŸ‘‹πŸ’–

that's forty whole functions bestie, the EDID squad is DEEP 😭πŸ”₯ like genuinely nobody does it like drm_edid.c


ngl, this page is short but she's efficient β€” one function, one job, and she ate πŸ’…

mwah πŸ’‹ that's the page!! brought to you by the Kernel API Manual, living at ./drivers/gpu/drm, dated October 2026 β€” same title, same version vibes, no facts dropped, periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from