Don't carp on EDID 1.4 blocks anymore.

Also whine more loudly when we get something other than 1.x.
This commit is contained in:
Adam Jackson 2007-12-28 16:50:18 -05:00
parent 70b2d6cfeb
commit bae459cfc4

View File

@ -369,13 +369,16 @@ get_detailed_timing_section(Uchar *c, struct detailed_timings *r)
r->misc = MISC;
}
#define MAX_EDID_MINOR 3
#define MAX_EDID_MINOR 4
static Bool
validate_version(int scrnIndex, struct edid_version *r)
{
if (r->version != 1)
if (r->version != 1) {
xf86DrvMsg(scrnIndex, X_ERROR, "Unknown EDID version %d\n",
r->version);
return FALSE;
}
if (r->revision > MAX_EDID_MINOR)
xf86DrvMsg(scrnIndex, X_WARNING,