diff options
author | Daniel Stone <daniels@collabora.com> | 2017-08-04 14:37:24 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2017-08-04 14:49:35 +0100 |
commit | 8d28ea33c7bf6c13c2add165398d6f2274bb254d (patch) | |
tree | 992c396eb398351587b96535acc426bacdd1fdab /tests/perf.c | |
parent | a9d9354de50e7ae4a49da14925116031f8540d37 (diff) |
tests/kms_properties: Don't set immutable properties
If the kernel tells us it's immutable, trying to set it probably isn't
going to succeed. There was previously a hard-coded list of immutable
properties, keyed by name, but we can just test the flag instead, which
is more future-proof.
Fixes a failure seen with the IN_FORMATS property.
v2: Remove the entire list apart from DPMS, replacing it with a test for
immutable.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests/perf.c')
0 files changed, 0 insertions, 0 deletions