diff options
author | Tejun Heo <tj@kernel.org> | 2010-04-04 22:37:28 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-04-04 22:37:28 -0400 |
commit | 336f5899d287f06d8329e208fc14ce50f7ec9698 (patch) | |
tree | 9b762d450d5eb248a6ff8317badb7e223d93ed58 /drivers/gpu/drm/drm_edid.c | |
parent | a4ab2773205e8b94c18625455f85e3b6bb9d7ad6 (diff) | |
parent | db217dece3003df0841bacf9556b5c06aa097dae (diff) |
Merge branch 'master' into export-slabh
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index d196d7ec9900..2cc6e87d849d 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -708,15 +708,6 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev, | |||
708 | mode->vsync_end = mode->vsync_start + vsync_pulse_width; | 708 | mode->vsync_end = mode->vsync_start + vsync_pulse_width; |
709 | mode->vtotal = mode->vdisplay + vblank; | 709 | mode->vtotal = mode->vdisplay + vblank; |
710 | 710 | ||
711 | /* perform the basic check for the detailed timing */ | ||
712 | if (mode->hsync_end > mode->htotal || | ||
713 | mode->vsync_end > mode->vtotal) { | ||
714 | drm_mode_destroy(dev, mode); | ||
715 | DRM_DEBUG_KMS("Incorrect detailed timing. " | ||
716 | "Sync is beyond the blank.\n"); | ||
717 | return NULL; | ||
718 | } | ||
719 | |||
720 | /* Some EDIDs have bogus h/vtotal values */ | 711 | /* Some EDIDs have bogus h/vtotal values */ |
721 | if (mode->hsync_end > mode->htotal) | 712 | if (mode->hsync_end > mode->htotal) |
722 | mode->htotal = mode->hsync_end + 1; | 713 | mode->htotal = mode->hsync_end + 1; |