diff options
author | Adam Jackson <ajax@redhat.com> | 2010-03-29 23:43:31 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-06 02:40:25 +0200 |
commit | 171fdd892979081e8a9b1a67ce86c7008b7abbdf (patch) | |
tree | e71000e0f7e03c3a50fceb42450fdbedd0ab36bb /drivers/gpu/drm/drm_edid.c | |
parent | drm/edid: Add secondary GTF curve support (diff) | |
download | linux-171fdd892979081e8a9b1a67ce86c7008b7abbdf.tar.xz linux-171fdd892979081e8a9b1a67ce86c7008b7abbdf.zip |
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.c | 4 |
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, if (mode->vsync_end > mode->vtotal) mode->vtotal = mode->vsync_end + 1; - drm_mode_set_name(mode); - drm_mode_do_interlace_quirk(mode, pt); + drm_mode_set_name(mode); + if (quirks & EDID_QUIRK_DETAILED_SYNC_PP) { pt->misc |= DRM_EDID_PT_HSYNC_POSITIVE | DRM_EDID_PT_VSYNC_POSITIVE; } |