lkml.org 
[lkml]   [2010]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[001/197] drm/edid: allow certain bogus edids to hit a fixup path rather than fail
    2.6.32-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Ben Skeggs <bskeggs@redhat.com>

    commit 44fef22416886a04d432043f741a6faf2c6ffefd upstream.

    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/gpu/drm/drm_edid.c | 9 ---------
    1 file changed, 9 deletions(-)

    --- a/drivers/gpu/drm/drm_edid.c
    +++ b/drivers/gpu/drm/drm_edid.c
    @@ -653,15 +653,6 @@ static struct drm_display_mode *drm_mode
    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;



    \
     
     \ /
      Last update: 2010-04-22 21:29    [W:4.084 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site