diff options
author | Simon Ser <simon.ser@intel.com> | 2019-06-14 17:04:05 +0300 |
---|---|---|
committer | Simon Ser <simon.ser@intel.com> | 2019-06-17 15:04:42 +0300 |
commit | 1f67ee0d09d6513f487f2be74aae9700e755258a (patch) | |
tree | 74bb3f3c36b969d425d17444b81422c741e7ae1a /tests | |
parent | 9651105df6e7261fe3df8e05d934aac0847ec93e (diff) |
lib/igt_chamelium: replace EDID IDs with opaque structs
There are two reasons for this:
* An opaque struct is more type-safe than an int
* In the future we'll want to tag EDIDs with the Chamelium port ID, to be able
to automagically infer the DRM connector <-> Chamelium port mapping. This is
necessary for DP MST (connector names are not stable).
Signed-off-by: Simon Ser <simon.ser@intel.com>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_chamelium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c index 2940bcf1..94438e9a 100644 --- a/tests/kms_chamelium.c +++ b/tests/kms_chamelium.c @@ -51,7 +51,7 @@ typedef struct { int drm_fd; - int edids[TEST_EDID_COUNT]; + struct chamelium_edid *edids[TEST_EDID_COUNT]; } data_t; #define HOTPLUG_TIMEOUT 20 /* seconds */ |