[igt-dev] [PATCH i-g-t 0/3] Fix autodiscovery in chamelium

Kunal Joshi kunal1.joshi at intel.com
Thu Jul 13 09:17:23 UTC 2023


Recently issues were spotted on CI runs, where autodiscovery
behaved weirdly, below example

[Chamelium:(null)]
ChameliumPortID=1

This patch series includes below fixes
- TypeC connector need disabling modeset for correctly doing hpd cycle
  so do it before going for autodiscovery
- port_count was used to iterate on chamelium ports but its not
  neccessary that mapped ports are always on the top chamelium_ports
  array after autodiscovery

Kunal Joshi (3):
  lib/igt_chamelium: reset chamelium before starting autodiscovery
  lib/igt_chamelium: Added is_mapped to track mapped ports
  lib/igt_chamelium: Added function to sort chamelium ports based on
    is_mapped

 lib/igt_chamelium.c | 56 +++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 54 insertions(+), 2 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list