mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user