lib/igt_kms: Add support for display with
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 3 repliesIn review
v8 from the cover letter
Modified documentation as per review comments by <Hiler, Arkadiusz>
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | lib/igt_kms: Add support for display with non-contiguous pipeslib/ lib/ | +68 | 0 replies | |
| 2/11 | lib/igt_kms: Add igt_require_pipe() functionlib/ lib/ | +30 | 0 replies | |
| 3/11 | tests/kms_cursor_legacy: Read crtc id for enable pipestests/ | +8 | 0 replies | |
| 4/11 | tests/kms_lease: Get pipe from crtc for enable pipestests/ | +4 | 1 reply | |
| 5/11 | tests/kms_lease: Read crtc id for a valid pipetests/ | +3 | 0 replies | |
| 6/11 | lib/kms: Skip igt test cases for disabled display pipeslib/ | +2 | 0 replies | |
| 7/11 | tests/kms: Skip kms test cases for disabled pipestests/ tests/ tests/ +5 more | +14 | 0 replies | |
| 8/11 | tests/kms_atomic_transition: Set modeset for enable pipes onlytests/ | +7 | 0 replies | |
| 9/11 | i915/gem_eio: Set modeset for enable pipestests/ | +2 | 0 replies | |
| 10/11 | lib/kms: Convert pipe id flags for a vblank using crtc offsetlib/ lib/ | +44 | 1 reply | |
| 11/11 | tests/kms: Use crtc offset to read vblank event for a pipetests/ tests/ tests/ +8 more | +75 | 0 replies |
Reviews trailers per patch
None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Arkadiusz Hiler |
|---|---|
| Series | R-b |
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [PATCH i-g-t 00/11] lib/igt_kms: Add support for display with
With non-contiguous pipes display, pipe mapping is always not same as crtc mapping, For i915 pipe is enum id of i915's crtc object and it is not equal to crtc offset of a pipe in mode config list. Hence allocating upper bound array for igt_pipe and reading pipe id using GET_PIPE_FROM_CRTC_ID ioctl.
Using crtc offset for a pipe to do ordering pipe with crtc list.
Example:
With a non-contiguous pipe display, with PIPE_A & PIPE_D are enabled, PIPE_C & PIPE_B disabled configuration, the pipe for PIPE_A & D will be '0' and '3' and crtc offsets are '0' & '1' in mode config list using crtc offset to ordering enabled pipes with crtc list in mode config.
v8:
Modified documentation as per review comments by <Hiler, Arkadiusz>
Mohammed Khajapasha (11):
lib/igt_kms: Add support for display with non-contiguous pipes lib/igt_kms: Add igt_require_pipe() function tests/kms_cursor_legacy: Read crtc id for enable pipes tests/kms_lease: Get pipe from crtc for enable pipes tests/kms_lease: Read crtc id for a valid pipe lib/kms: Skip igt test cases for disabled display pipes tests/kms: Skip kms test cases for disabled pipes tests/kms_atomic_transition: Set modeset for enable pipes only i915/gem_eio: Set modeset for enable pipes
lib/kms: Convert pipe id flags for a vblank using crtc offset tests/kms: Use crtc offset to read vblank event for a pipe
lib/igt_kms.c | 138 +++++++++++++++++++++++++------- lib/igt_kms.h | 42 ++++++++-- tests/i915/gem_eio.c | 2 + tests/i915/perf_pmu.c | 3 +- tests/kms_atomic_transition.c | 15 +++- tests/kms_available_modes_crc.c | 4 +- tests/kms_color.c | 37 ++++++--- tests/kms_color_chamelium.c | 2 +- tests/kms_concurrent.c | 2 +- tests/kms_cursor_crc.c | 18 +++-- tests/kms_cursor_edge_walk.c | 4 +- tests/kms_cursor_legacy.c | 13 +-- tests/kms_lease.c | 28 +++++-- tests/kms_pipe_crc_basic.c | 9 ++- tests/kms_plane.c | 10 ++- tests/kms_plane_lowres.c | 2 +- tests/kms_plane_multiple.c | 2 +- tests/kms_sequence.c | 3 +- tests/kms_universal_plane.c | 12 +-- tests/kms_vblank.c | 3 +- 20 files changed, 257 insertions(+), 92 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev