lib/igt_kms: Add for_each_pipe_with_single_output and igt_get_single_output_for_pipe.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lib/igt_kms: Add functions to get only a single output for a pipe.lib/ lib/ | +119 | 2 replies | |
| 2/5 | tests/kms_rmfb: Use for_each_pipe_with_single_output.tests/ | +2 | 1 reply | |
| 3/5 | tests/kms_busy: Convert to using igt_get_single_output_for_pipe.tests/ | +15 | 2 replies | |
| 4/5 | tests/kms_chv_cursor_fail: Reorder tests, and use igt_display_require_output_on_pipe.tests/ | +34 | 0 replies | |
| 5/5 | tests/kms_chv_cursor_fail: Handle cleanup better.tests/ | +2 | 2 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Ville Syrjälä |
|---|---|
| 1/5 | R-b R-b |
| 2/5 | R-b |
| 3/5 | R-b R-b |
| 4/5 | |
| 5/5 | R-b |
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 0/5] lib/igt_kms: Add for_each_pipe_with_single_output and igt_get_single_output_for_pipe.
Some tests don't have to be called on all outputs, because they only manipulate the pipe. For these tests we create 2 helper functions, so we reduce the amount of modesets required.
for_each_pipe_with_single_output is a drop in replacement for for_each_pipe_with_valid_output, and only iterates 1 output per pipe.
igt_get_single_output_for_pipe returns a valid output for a given pipe, if it can be found. It can be used in place of a for_each_valid_output_on_pipe loop.
This is just a sample conversion, other tests can be changed when this is accepted..
Maarten Lankhorst (5):
lib/igt_kms: Add functions to get only a single output for a pipe. tests/kms_rmfb: Use for_each_pipe_with_single_output. tests/kms_busy: Convert to using igt_get_single_output_for_pipe. tests/kms_chv_cursor_fail: Reorder tests, and use
igt_display_require_output_on_pipe.
tests/kms_chv_cursor_fail: Handle cleanup better.
lib/igt_kms.c | 93 +++++++++++++++++++++++++++++++++++++++++++++ lib/igt_kms.h | 26 +++++++++++++ tests/kms_busy.c | 38 ++++++++---------- tests/kms_chv_cursor_fail.c | 90 +++++++++++++++++-------------------------- tests/kms_rmfb.c | 8 +--- 5 files changed, 171 insertions(+), 84 deletions(-)
Signature · 6 lines
2.16.2 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev