drm_edid_header_is_valid(9)
β¨ drm_edid_header_is_valid β¨
okay so this is a page straight out of the Kernel API Manual and bestie, it's a little one but she's important π
it's all about drm_edid_header_is_valid β the glow-up check for your monitor's vibes.
πΈ NAME πΈ
drm_edid_header_is_valid β sanity check the header of the base EDID block π
π SYNOPSIS π
int drm_edid_header_is_valid (const void *_edid );
π¦ ARGUMENTS π¦
_edidβ pointer to the raw base EDID block. that's it. that's the whole input. she just wants a pointer π«Ά
π DESCRIPTION π
So basically: this function does a sanity check on the header of the base EDID block. literally just eyeballing the header like "hmm, are you gonna behave?" π that's the whole job. she's not reading the entire block, she's just checking the opening line, iykyk.
β RETURN β
Returns 8 if the header is perfect π β and it slides all the way down to 0 if it's totally wrong π. so like, a whole spectrum of header quality. 8 is the slay, 0 is the "not me" π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_edid.c β plus the whole friend group, no cap:
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_display_mode_from_cea_vic(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 the whole page bestie, short and iconic π§π
this came from the Kernel API Manual, source lives in./drivers/gpu/drm, dated October 2026 β and the page itself isdrm_edid_header_is_valid(9). no cap, that's the tea ββ¨
π¦ 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