Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139834
b: refs/heads/master
c: b94ee65
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Barnes authored and Dave Airlie committed Apr 2, 2009
1 parent d06a544 commit f9fdde3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 6714977b45279c3a0b0ec2bc937284d9f116752f
refs/heads/master: b94ee6528954b6838e88aa8cf74ed75acf8dfcff
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ static bool edid_is_valid(struct edid *edid)
DRM_ERROR("EDID has major version %d, instead of 1\n", edid->version);
goto bad;
}
if (edid->revision > 3) {
DRM_ERROR("EDID has minor version %d, which is not between 0-3\n", edid->revision);
goto bad;
}
if (edid->revision > 4)
DRM_DEBUG("EDID minor > 4, assuming backward compatibility\n");

for (i = 0; i < EDID_LENGTH; i++)
csum += raw_edid[i];
Expand Down

0 comments on commit f9fdde3

Please sign in to comment.