display: do not report failure for setting unrecognised properties

We need to accept any changes to properties not handled by ourselves -- we
can't validate the changes ourselves. Denying those changes breaks EDID
reporting, for example.

Reported-by: Elvis Pranskevichus <el@prans.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-10-17 09:21:06 +01:00
parent 8507ef50ba
commit 33133a1d38
1 changed files with 5 additions and 1 deletions

View File

@ -1161,7 +1161,11 @@ intel_output_set_property(xf86OutputPtr output, Atom property,
}
}
return FALSE;
/* We didn't recognise this property, just report success in order
* to allow the set to continue, otherwise we break setting of
* common properties like EDID.
*/
return TRUE;
}
static Bool