]> git.baikalelectronics.ru Git - kernel.git/commit
drm: edid: Refactor HDMI VSDB detection
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Aug 2012 14:55:06 +0000 (14:55 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Sep 2012 01:23:11 +0000 (11:23 +1000)
commitce96d2dfda16a90854fa443c459588b4db146832
tree965f113d955d2577da2b8a45ba216034f069e653
parenta5306eddaa22e0c40945c288c71e7c41da69efe6
drm: edid: Refactor HDMI VSDB detection

There are two slightly different pieces of code for HDMI VSDB
detection. Unify the code into a single helper function.

Also fix a bug where drm_detect_hdmi_monitor() would stop looking
for the HDMI VSDB after the first vendor specific block is found,
whether or not that block happened to be the HDMI VSDB. The
standard allows for any number of vendor specific blocks to be
present.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c