summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-09-23 17:31:09 -0400
committerDave Airlie <airlied@redhat.com>2009-09-24 09:46:06 +1000
commit93dc6c2b0d97a55508144073838e041140b206cd (patch)
tree7b7e7e9485a01b0c29247bba62536ecb653f4a08 /drivers
parent23425caeebc2e06629ef04f6197543cfe3f7d7b2 (diff)
downloadop-kernel-dev-93dc6c2b0d97a55508144073838e041140b206cd.zip
op-kernel-dev-93dc6c2b0d97a55508144073838e041140b206cd.tar.gz
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')
-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 dd35dc1..8ed732a 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;
OpenPOWER on IntegriCloud