drm/displayid: Iterate over all DisplayID blocks
authorTomas Bzatek <tomas@bzatek.net>
Sun, 1 May 2016 13:02:45 +0000 (15:02 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 01:34:48 +0000 (11:34 +1000)
commit3a4a2ea39f86c581054794c0a727597745f1084b
treee58bb608d95b54b3b2b0af04925677564c241cb4
parent5e546cd5b3bc76824069ffa98c52a5f48cf91aba
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

Signed-off-by: Tomas Bzatek <tomas@bzatek.net>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c