diff options
author | Adam Jackson <ajax@redhat.com> | 2009-09-23 23:31:09 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-24 01:46:06 +0200 |
commit | 93dc6c2b0d97a55508144073838e041140b206cd (patch) | |
tree | 7b7e7e9485a01b0c29247bba62536ecb653f4a08 | |
parent | drm/edid: Ignore bad standard timings. (diff) | |
download | linux-93dc6c2b0d97a55508144073838e041140b206cd.tar.xz linux-93dc6c2b0d97a55508144073838e041140b206cd.zip |
drm/edid: Detailed standard timing blocks have six timings, not five.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index dd35dc11ffd4..8ed732ae1ecc 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -847,8 +847,7 @@ static int add_detailed_info(struct drm_connector *connector, case EDID_DETAIL_MONITOR_CPDATA: break; case EDID_DETAIL_STD_MODES: - /* Five modes per detailed section */ - for (j = 0; j < 5; i++) { + for (j = 0; j < 6; i++) { struct std_timing *std; struct drm_display_mode *newmode; |