aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-09-23 17:31:09 -0400
committerDave Airlie <airlied@redhat.com>2009-09-23 19:46:06 -0400
commit93dc6c2b0d97a55508144073838e041140b206cd (patch)
tree7b7e7e9485a01b0c29247bba62536ecb653f4a08 /drivers/gpu
parent23425caeebc2e06629ef04f6197543cfe3f7d7b2 (diff)
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_edid.c3
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,
847 case EDID_DETAIL_MONITOR_CPDATA: 847 case EDID_DETAIL_MONITOR_CPDATA:
848 break; 848 break;
849 case EDID_DETAIL_STD_MODES: 849 case EDID_DETAIL_STD_MODES:
850 /* Five modes per detailed section */ 850 for (j = 0; j < 6; i++) {
851 for (j = 0; j < 5; i++) {
852 struct std_timing *std; 851 struct std_timing *std;
853 struct drm_display_mode *newmode; 852 struct drm_display_mode *newmode;
854 853