UPSTREAM: drm/displayid: Iterate over all DisplayID blocks
authorTomas Bzatek <tomas@bzatek.net>
Sun, 1 May 2016 13:02:45 +0000 (15:02 +0200)
committerZheng Yang <zhengyang@rock-chips.com>
Tue, 20 Jun 2017 09:22:50 +0000 (17:22 +0800)
commit0a15bdaf493e853136df32eb52af9482bb413ba6
tree366b05926f61c4cdabe1ae482320b979d79e233f
parent1fa647184379f89f400d2e0036e5873f8a6c9f7a
UPSTREAM: drm/displayid: Iterate over all DisplayID blocks

This will iterate over all DisplayID blocks found in the buffer.
Previously only the first block was parsed.

https://bugs.freedesktop.org/show_bug.cgi?id=95207

Change-Id: I952ea2442e8b7c31d8ca882cff8211f008cdd073
Signed-off-by: Tomas Bzatek <tomas@bzatek.net>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
(cherry picked from commit 3a4a2ea39f86c581054794c0a727597745f1084b)
drivers/gpu/drm/drm_edid.c