Skip to content

Fix autodiscovery in chamelium

Kunal Joshi igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/igt_chamelium: reset chamelium before starting autodiscoverylib/igt_chamelium.c+7 -01 reply
2/3lib/igt_chamelium: Added is_mapped to track mapped portslib/igt_chamelium.c+5 -21 reply
3/3lib/igt_chamelium: Added function to sort chamelium ports based on is_mappedlib/igt_chamelium.c+42 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJeevan B
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1