summaryrefslogtreecommitdiff
path: root/src/intel_display.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-17 09:21:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-17 09:24:22 +0100
commit33133a1d38a4dce60d2e135663b545895fc85abc (patch)
tree970583681653d676a202f11614c413b492fb6686 /src/intel_display.c
parent8507ef50ba08061ac158848a7c4c136e1755d87e (diff)
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>
Diffstat (limited to 'src/intel_display.c')
-rw-r--r--src/intel_display.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index 74ce7362..d32224ec 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -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