]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Clear old dvi_dual/max_tmds_clock before parsing the new EDID
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Sep 2016 13:51:35 +0000 (16:51 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Oct 2016 06:23:09 +0000 (08:23 +0200)
commitf2e0cc95b07e63a19cd78e49ce0dce095d33afd5
tree1cd711d3eee2c710b25af3fda8854a3982eb131d
parentb0566b0b6475b7ffcdd8af3d96323f5932b57644
drm/edid: Clear old dvi_dual/max_tmds_clock before parsing the new EDID

Clear out old max_tmds_clock and dvi_dual information (possibly from a
previous EDID) before parsing the current EDID. Tne current EDID might
not even have these in its HDMI VSDB, which would mean that we'd leave
the old stale values in place.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-3-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_edid.c