diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-02-18 09:12:09 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-03-15 10:58:17 +1000 |
commit | 44fef22416886a04d432043f741a6faf2c6ffefd (patch) | |
tree | 1518cb1ed887742151678d7d66266f45f984b882 /drivers/gpu | |
parent | 725398322d05486109375fbb85c3404108881e17 (diff) | |
download | op-kernel-dev-44fef22416886a04d432043f741a6faf2c6ffefd.zip op-kernel-dev-44fef22416886a04d432043f741a6faf2c6ffefd.tar.gz |
drm/edid: allow certain bogus edids to hit a fixup path rather than fail
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-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 f97e7c4..7e608f4 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -707,15 +707,6 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev, mode->vsync_end = mode->vsync_start + vsync_pulse_width; mode->vtotal = mode->vdisplay + vblank; - /* perform the basic check for the detailed timing */ - if (mode->hsync_end > mode->htotal || - mode->vsync_end > mode->vtotal) { - drm_mode_destroy(dev, mode); - DRM_DEBUG_KMS("Incorrect detailed timing. " - "Sync is beyond the blank.\n"); - return NULL; - } - /* Some EDIDs have bogus h/vtotal values */ if (mode->hsync_end > mode->htotal) mode->htotal = mode->hsync_end + 1; |