All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/4] Chamelium and TypeC
@ 2020-03-31 12:38 Arkadiusz Hiler
  2020-03-31 12:38 ` [igt-dev] [PATCH i-g-t 1/4] lib/kms: Commit reasonable defaults on display init Arkadiusz Hiler
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Arkadiusz Hiler @ 2020-03-31 12:38 UTC (permalink / raw)
  To: igt-dev

With DP over TypeC there is a behavior change - now we need to disable the mode
for our connector to get any hotplug events from it.

Imre is working on making the kernel side changes[0] to make TypeC behave same a
a native DP but he is hitting issues with DDI timeouts[1]. Anyway, the new
behavior is not entirely wrong either.

The fallout when testing with chamelium (this includes all the kms_ tests where
chamelium is used as a simple display) is quite extensive. We get a lot of flip
flopping skips and straight up failures because the displays are not getting
recognized.

Regular userspace, on the other hand, issues disabling modeset each time we get
a disconnect so we don't see any similar in the wild - this series makes our
tests mimic that common behavior - we always start with disalbed modes and up to
date connector state.

To not loose any coverage I have also added test that verifies hotplugs
while stuck with enabled mode explicitly.

[0]: https://patchwork.freedesktop.org/series/75027/
[1]: https://gitlab.freedesktop.org/drm/intel/-/issues/1069

Arkadiusz Hiler (4):
  lib/kms: Commit reasonable defaults on display init
  lib/kms: Reprobe connector state after disabling modest
  tests/kms_chamelium: Issue disabling modeset when resetting state
  tests/kms_chamelium: Test HPD for different mode handling scenarios

 lib/igt_kms.c         |  28 +++-
 tests/kms_chamelium.c | 294 ++++++++++++++++++++++++++++--------------
 2 files changed, 219 insertions(+), 103 deletions(-)

-- 
2.24.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-04-02 14:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-31 12:38 [igt-dev] [PATCH i-g-t 0/4] Chamelium and TypeC Arkadiusz Hiler
2020-03-31 12:38 ` [igt-dev] [PATCH i-g-t 1/4] lib/kms: Commit reasonable defaults on display init Arkadiusz Hiler
2020-03-31 12:38 ` [igt-dev] [PATCH i-g-t 2/4] lib/kms: Reprobe connector state after disabling modest Arkadiusz Hiler
2020-04-02 14:53   ` Imre Deak
2020-03-31 12:38 ` [igt-dev] [PATCH i-g-t 3/4] tests/kms_chamelium: Issue disabling modeset when resetting state Arkadiusz Hiler
2020-04-02  3:28   ` Kunal Joshi
2020-03-31 12:38 ` [igt-dev] [PATCH i-g-t 4/4] tests/kms_chamelium: Test HPD for different mode handling scenarios Arkadiusz Hiler
2020-04-01 16:29   ` [igt-dev] [PATCH i-g-t v2 " Arkadiusz Hiler
2020-04-02  2:25     ` Kunal Joshi
2020-04-02  9:56       ` Arkadiusz Hiler
2020-04-01  2:23 ` [igt-dev] ✓ Fi.CI.BAT: success for Chamelium and TypeC Patchwork
2020-04-01 17:04 ` [igt-dev] ✓ Fi.CI.BAT: success for Chamelium and TypeC (rev2) Patchwork
2020-04-01 18:17 ` [igt-dev] ✗ Fi.CI.IGT: failure for Chamelium and TypeC Patchwork
2020-04-02 13:00 ` [igt-dev] ✗ Fi.CI.IGT: failure for Chamelium and TypeC (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.