aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-03-29 17:43:31 -0400
committerDave Airlie <airlied@redhat.com>2010-04-05 20:40:25 -0400
commit171fdd892979081e8a9b1a67ce86c7008b7abbdf (patch)
treee71000e0f7e03c3a50fceb42450fdbedd0ab36bb /drivers/gpu/drm/drm_edid.c
parent7a37435008b0ffea2442eb1134ddd4adeea81e19 (diff)
drm/modes: Fix interlaced mode names
Height in frame size, not field size, and trailed with an 'i'. Matches the X server behaviour. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r--drivers/gpu/drm/drm_edid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3924a7bf271a..0f8c06311cf6 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -1013,10 +1013,10 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
1013 if (mode->vsync_end > mode->vtotal) 1013 if (mode->vsync_end > mode->vtotal)
1014 mode->vtotal = mode->vsync_end + 1; 1014 mode->vtotal = mode->vsync_end + 1;
1015 1015
1016 drm_mode_set_name(mode);
1017
1018 drm_mode_do_interlace_quirk(mode, pt); 1016 drm_mode_do_interlace_quirk(mode, pt);
1019 1017
1018 drm_mode_set_name(mode);
1019
1020 if (quirks & EDID_QUIRK_DETAILED_SYNC_PP) { 1020 if (quirks & EDID_QUIRK_DETAILED_SYNC_PP) {
1021 pt->misc |= DRM_EDID_PT_HSYNC_POSITIVE | DRM_EDID_PT_VSYNC_POSITIVE; 1021 pt->misc |= DRM_EDID_PT_HSYNC_POSITIVE | DRM_EDID_PT_VSYNC_POSITIVE;
1022 } 1022 }