Commit 93dc6c2b authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie

drm/edid: Detailed standard timing blocks have six timings, not five.

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 23425cae
...@@ -847,8 +847,7 @@ static int add_detailed_info(struct drm_connector *connector, ...@@ -847,8 +847,7 @@ static int add_detailed_info(struct drm_connector *connector,
case EDID_DETAIL_MONITOR_CPDATA: case EDID_DETAIL_MONITOR_CPDATA:
break; break;
case EDID_DETAIL_STD_MODES: case EDID_DETAIL_STD_MODES:
/* Five modes per detailed section */ for (j = 0; j < 6; i++) {
for (j = 0; j < 5; i++) {
struct std_timing *std; struct std_timing *std;
struct drm_display_mode *newmode; struct drm_display_mode *newmode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment