OSDN Git Service

modetest: add an add_property_optional variant that does not print errors
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 2 Jun 2019 18:33:26 +0000 (14:33 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 22 Jun 2019 17:34:25 +0000 (13:34 -0400)
commit557d1a2e6f0dcaa5db444624d6407564118f1c0f
tree43510935f9216f3070cd379e67cb59a3d286607b
parent78ea933460ffec691e2dac5393e403064df47d02
modetest: add an add_property_optional variant that does not print errors

As new features are added and others are declared to be legacy, it's
nice to be able to implement fallbacks. As such, create a
property-setting variant that does not generate errors which can very
well be entirely expected.

Will be used for gamma control in a future change.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
tests/modetest/modetest.c