All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/5] Fix mode selection for 2x tests
@ 2021-04-09 19:30 Bhanuprakash Modem
  2021-04-09 13:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Bhanuprakash Modem @ 2021-04-09 19:30 UTC (permalink / raw)
  To: igt-dev

When two monitors connected through MST, the second monitor also
tries to use the same mode. So two such modes may not fit into the
link bandwidth.

This series will find a combination of modes that fit into the BW.

By parsing the PATH property, we can add a link_group_id field to
igt_output_t to identify all connectors that shares the BW of the
same link.

Parsing the PATH property consists of finding all connectors with
the same X prefix in the X-Y[-Z...] path property format and assigning
a unique non-zero link_group_id to all such connectors. Connectors
without a PATH property are not an MST output, so their link_group_id
can be left at 0.

IGT core helper would override the mode on all connectors that will
be modeset by the next igt_display_commit() call in the test. These
are all the connectors in igt_display_t that have a pending_pipe set
by the test up to the point of calling this helper.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>

Bhanuprakash Modem (5):
  lib/igt_kms: Add a support to read PATH connector property
  lib/igt_kms: Identify outputs that shares link bandwidth
  lib/igt_kms: helper to override the mode on all connectors
  tests/kms_frontbuffer_tracking: Fix mode selection for 2x tests
  tests/kms_cursor_legacy: Fix mode selection for 2x tests

 lib/igt_kms.c                    | 71 ++++++++++++++++++++++++++++++++
 lib/igt_kms.h                    |  3 ++
 tests/kms_cursor_legacy.c        | 53 ++++++++++++++++++++++--
 tests/kms_frontbuffer_tracking.c | 35 ++++++++++++++++
 4 files changed, 159 insertions(+), 3 deletions(-)

--
2.20.1

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

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

end of thread, other threads:[~2021-04-15 14:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 19:30 [igt-dev] [PATCH i-g-t 0/5] Fix mode selection for 2x tests Bhanuprakash Modem
2021-04-09 13:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-04-09 15:55 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-04-09 19:30 ` [igt-dev] [PATCH i-g-t 1/5] lib/igt_kms: Add a support to read PATH connector property Bhanuprakash Modem
2021-04-09 19:30 ` [igt-dev] [PATCH i-g-t 2/5] lib/igt_kms: Identify outputs that shares link bandwidth Bhanuprakash Modem
2021-04-09 19:30 ` [igt-dev] [PATCH i-g-t 3/5] lib/igt_kms: helper to override the mode on all connectors Bhanuprakash Modem
2021-04-09 19:30 ` [igt-dev] [PATCH i-g-t 4/5] tests/kms_frontbuffer_tracking: Fix mode selection for 2x tests Bhanuprakash Modem
2021-04-09 19:30 ` [igt-dev] [PATCH i-g-t 5/5] tests/kms_cursor_legacy: " Bhanuprakash Modem
2021-04-09 20:18 ` [igt-dev] [PATCH i-g-t 0/5] " Daniel Vetter
2021-04-12  3:51   ` Modem, Bhanuprakash
2021-04-14 15:24     ` Daniel Vetter
2021-04-14 16:06       ` Imre Deak
2021-04-14 18:37         ` Daniel Vetter
2021-04-14 19:01           ` Imre Deak
2021-04-15 12:13             ` Nautiyal, Ankit K
2021-04-15 12:56             ` Modem, Bhanuprakash
2021-04-15 14:15               ` Daniel Vetter

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.