]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: reset display info in drm_add_edid_modes() for NULL edid
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 May 2022 09:23:46 +0000 (12:23 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 17:16:31 +0000 (20:16 +0300)
commitf2fe55ce07f8ccf61db32db0df71e3e4056d27e3
treef48e3fa7c92145019bdde8b3e3b226ecfd9d3ce1
parent3c6c26f147a5765e8d6c30669d0ee7bbaf2b398c
drm/edid: reset display info in drm_add_edid_modes() for NULL edid

If a NULL edid gets passed to drm_add_edid_modes(), we should probably
also reset the display info.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2ac1c55f94a08d5e72c0b518d956a11002ec85c1.1651569697.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c