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:
parent
70b2d6cfeb
commit
bae459cfc4
|
@ -369,13 +369,16 @@ get_detailed_timing_section(Uchar *c, struct detailed_timings *r)
|
||||||
r->misc = MISC;
|
r->misc = MISC;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MAX_EDID_MINOR 3
|
#define MAX_EDID_MINOR 4
|
||||||
|
|
||||||
static Bool
|
static Bool
|
||||||
validate_version(int scrnIndex, struct edid_version *r)
|
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;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (r->revision > MAX_EDID_MINOR)
|
if (r->revision > MAX_EDID_MINOR)
|
||||||
xf86DrvMsg(scrnIndex, X_WARNING,
|
xf86DrvMsg(scrnIndex, X_WARNING,
|
||||||
|
|
Loading…
Reference in New Issue