diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-05-06 18:40:49 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2020-05-11 15:56:35 +0300 |
commit | 5a5a3162a7638b3ae38b6dc2545622c204d1b97c (patch) | |
tree | 95000386870e2d592f13c514f16f7941e2573aec /benchmarks/gem_exec_tracer.c | |
parent | 31657c63bcc0c7f0d3eb9d8c03a39b7987c60d7d (diff) |
lib/igt_kms: Make igt_display_require() + chamelium more robust
1. We don't reset Chamelium, as this generates extra unplug events if
any of the ports is already connected which is often the case
2. We try to plug all the chamelium ports, it's a noop if they are
already plugged
2. We wait for all the ports being connected:
- if the port mapping is provided: wait for the ports to be connected
- if there is no mapping: sleep(10) and hope for the best
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'benchmarks/gem_exec_tracer.c')
0 files changed, 0 insertions, 0 deletions