public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Subject: [PATCH i-g-t 0/6] add test to validate dock/undock and switch
Date: Thu, 26 Feb 2026 01:12:22 +0530	[thread overview]
Message-ID: <20260225194228.853418-1-kunal1.joshi@intel.com> (raw)

Add test to validate docking/undocking scenarios on TBT Hub
and switching from TBT/DP-ALT to DP-ALT/TBT mode.

Relies on Microsoft USB4 switch 3141 for the same
Below is link to documentation for Microsoft USB4 switch 3141
https://mcci.com/wp-content/uploads/2021/09/950001601a_Model-3141-USB4%E2%84%A2-Switch-User-Manual.pdf

Kunal Joshi (6):
  lib/igt_edid: add EDID serial extraction helpers
  lib/igt_connector_helper: Add generic connector helpers
  lib/igt_serial: add generic serial communication helper
  lib/igt_usb4_switch: add helper library for USB4 Switch 3141
  tests/kms_feature_discovery: add basic usb4 switch discovery
  tests/intel/kms_usb4_switch: Add USB4 switch test suite

 lib/igt_connector_helper.c    |  299 ++++++++
 lib/igt_connector_helper.h    |   27 +
 lib/igt_edid.c                |   91 +++
 lib/igt_edid.h                |    5 +
 lib/igt_serial.c              |  435 ++++++++++++
 lib/igt_serial.h              |   32 +
 lib/igt_usb4_switch.c         | 1055 +++++++++++++++++++++++++++
 lib/igt_usb4_switch.h         |  157 +++++
 lib/meson.build               |    3 +
 tests/intel/kms_usb4_switch.c | 1251 +++++++++++++++++++++++++++++++++
 tests/kms_feature_discovery.c |   23 +
 tests/meson.build             |    2 +
 12 files changed, 3380 insertions(+)
 create mode 100644 lib/igt_connector_helper.c
 create mode 100644 lib/igt_connector_helper.h
 create mode 100644 lib/igt_serial.c
 create mode 100644 lib/igt_serial.h
 create mode 100644 lib/igt_usb4_switch.c
 create mode 100644 lib/igt_usb4_switch.h
 create mode 100644 tests/intel/kms_usb4_switch.c

-- 
2.25.1


             reply	other threads:[~2026-02-25 19:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25 19:42 Kunal Joshi [this message]
2026-02-25 19:42 ` [PATCH i-g-t 1/6] lib/igt_edid: add EDID serial extraction helpers Kunal Joshi
2026-02-25 19:42 ` [PATCH i-g-t 2/6] lib/igt_connector_helper: Add generic connector helpers Kunal Joshi
2026-02-25 19:42 ` [PATCH i-g-t 3/6] lib/igt_serial: add generic serial communication helper Kunal Joshi
2026-02-25 19:42 ` [PATCH i-g-t 4/6] lib/igt_usb4_switch: add helper library for USB4 Switch 3141 Kunal Joshi
2026-02-25 19:42 ` [PATCH i-g-t 5/6] tests/kms_feature_discovery: add basic usb4 switch discovery Kunal Joshi
2026-02-25 19:42 ` [PATCH i-g-t 6/6] tests/intel/kms_usb4_switch: Add USB4 switch test suite Kunal Joshi
  -- strict thread matches above, loose matches on Subject: below --
2026-02-25 21:28 [PATCH i-g-t 0/6] add test to validate dock/undock and switch Kunal Joshi
2026-04-09  4:37 Kunal Joshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260225194228.853418-1-kunal1.joshi@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox