Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189299
b: refs/heads/master
c: 44fef22
h: refs/heads/master
i:
  189297: 628ee38
  189295: 3ac0610
v: v3
  • Loading branch information
Ben Skeggs authored and Dave Airlie committed Mar 15, 2010
1 parent 04c7240 commit 9e80240
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 725398322d05486109375fbb85c3404108881e17
refs/heads/master: 44fef22416886a04d432043f741a6faf2c6ffefd
9 changes: 0 additions & 9 deletions trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9e80240

Please sign in to comment.