drm_display...from_cea_vic(9)
π» 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 operationvideo_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 ππ
drm_edid_header_is_valid(9)drm_edid_is_valid(9)drm_edid_valid(9)drm_do_probe_ddc_edid(9)drm_edid_override_connector_update(9)drm_edid_raw(9)drm_edid_alloc(9)drm_edid_dup(9)drm_edid_free(9)drm_probe_ddc(9)drm_get_edid(9)drm_edid_read_custom(9)drm_edid_read_ddc(9)drm_edid_read(9)drm_edid_get_product_id(9)drm_edid_print_product_id(9)drm_edid_get_panel_id(9)drm_edid_read_base_block(9)drm_get_edid_switcheroo(9)drm_edid_read_switcheroo(9)drm_edid_duplicate(9)edid_get_quirks(9)drm_match_cea_mode(9)drm_edid_match(9)drm_edid_get_monitor_name(9)drm_edid_to_sad(9)drm_edid_to_speaker_allocation(9)drm_av_sync_delay(9)drm_detect_hdmi_monitor(9)drm_detect_monitor_audio(9)drm_default_rgb_quant_range(9)drm_edid_connector_update(9)drm_edid_connector_add_modes(9)drm_connector_update_edid_property(9)drm_add_edid_modes(9)drm_add_modes_noedid(9)drm_hdmi_avi_infoframe_from_display_mode(9)drm_hdmi_avi_infoframe_quant_range(9)drm_hdmi_vendor_infoframe_from_display_mode(9)drm_edid_is_digital(9)
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
- 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