lib/kms: Clean up more of igt_kms API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | tests/kms_plane_multiple: Clean up n_planes stufftests/ | +5 | 0 replies | |
| 2/19 | tests/kms_async_flips: Remove redundant data.crtc_idtests/ | +11 | 1 reply | |
| 3/19 | tests/kms_lease: Consolidate igt_crtc_for_pipe() callstests/ | +19 | 0 replies | |
| 4/19 | tests/kms: Consolidate igt_crtc_for_pipe() callstests/ tests/ tests/ +6 more | +54 | 0 replies | |
| 5/19 | lib/kms: Introduce igt_first_crtc_with_single_output()lib/ lib/ | +17 | 1 reply | |
| 6/19 | tests/kms: Use igt_first_crtc_with_single_output()tests/ tests/ tests/ | +8 | 0 replies | |
| 7/19 | lib/kms: Introduce and use igt_first_crtc()lib/ lib/ tests/ +13 more | +35 | 1 reply | |
| 8/19 | tests/kms: Stop using igt_require_pipe()lib/ lib/ tests/ +1 more | +1 | 0 replies | |
| 9/19 | lib/kms: Replace get_num_scalers() with igt_crtc_num_scalers()lib/ lib/ tests/ +1 more | +21 | 0 replies | |
| 10/19 | lib/kms: Pass igt_crtc_t* to igt_max_bpc_constraint()lib/ lib/ tests/ +2 more | +10 | 0 replies | |
| 11/19 | lib/kms: Introduce for_each_plane_on_crtc()lib/ | +13 | 0 replies | |
| 12/19 | tests/kms: Use for_each_plane_on_crtc()lib/ tests/ tests/ +18 more | +78 | 1 reply | |
| 13/19 | lib/kms: Nuke for_each_plane_on_pipe()lib/ | +0 | 0 replies | |
| 14/19 | tests/kms: Switch to for_each_valid_output_on_crtc_local()tests/ tests/ | +6 | 0 replies | |
| 15/19 | tests/kms: Replace igt_pipe_connector_valid() with igt_crtc_connector_valid()lib/ tests/ tests/ +6 more | +12 | 0 replies | |
| 16/19 | lib/kms: Intreoduce for_each_valid_output_on_crtc()lib/ | +14 | 0 replies | |
| 17/19 | tests/intel/kms_frontbuffer_tracking: Use for_each_valid_output_on_crtc()tests/ | +1 | 0 replies | |
| 18/19 | tests/kms: Use for_each_valid_output_on_crtc()lib/ tests/ tests/ +15 more | +98 | 0 replies | |
| 19/19 | lib/kms: Nuke for_each_valid_output_on_pipe()lib/ | +0 | 1 reply |
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jani Nikula |
|---|---|
| Series | R-b |
| 1/19 | |
| 2/19 | |
| 3/19 | |
| 4/19 | |
| 5/19 | |
| 6/19 | |
| 7/19 | |
| 8/19 | |
| 9/19 | |
| 10/19 | |
| 11/19 | |
| 12/19 | R-b |
| 13/19 | |
| 14/19 | |
| 15/19 | |
| 16/19 | |
| 17/19 | |
| 18/19 | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t 00/19] lib/kms: Clean up more of igt_kms API
From: Ville Syrjälä <[email protected]>
Adjust more of the igt_kms API to pass around igt_crtc_t* instead of enum pipe.
I also wanted to have a better idea where in the tests we're still using igt_crtc_for_pipe(), so there's some cleanup around that. And then I added some new functions into igt_kms to replace some of those with more sensible things.
This was supposed to be the last treewide series I'd do, but it naturally became too big. So I cut it roughly in the middle, and this is the first part. The second part is already done, but I'll hang on to it until this gets in.
Ville Syrjälä (19):
tests/kms_plane_multiple: Clean up n_planes stuff tests/kms_async_flips: Remove redundant data.crtc_id tests/kms_lease: Consolidate igt_crtc_for_pipe() calls tests/kms: Consolidate igt_crtc_for_pipe() calls lib/kms: Introduce igt_first_crtc_with_single_output() tests/kms: Use igt_first_crtc_with_single_output() lib/kms: Introduce and use igt_first_crtc() tests/kms: Stop using igt_require_pipe()
lib/kms: Replace get_num_scalers() with igt_crtc_num_scalers() lib/kms: Pass igt_crtc_t* to igt_max_bpc_constraint() lib/kms: Introduce for_each_plane_on_crtc() tests/kms: Use for_each_plane_on_crtc()
lib/kms: Nuke for_each_plane_on_pipe()
tests/kms: Switch to for_each_valid_output_on_crtc_local() tests/kms: Replace igt_pipe_connector_valid() with
igt_crtc_connector_valid()
lib/kms: Intreoduce for_each_valid_output_on_crtc() tests/intel/kms_frontbuffer_tracking: Use
for_each_valid_output_on_crtc()
tests/kms: Use for_each_valid_output_on_crtc() lib/kms: Nuke for_each_valid_output_on_pipe()
lib/igt_kms.c | 83 +++++++++++++------ lib/igt_kms.h | 60 ++++---------- tests/amdgpu/amd_abm.c | 20 +++-- tests/amdgpu/amd_assr.c | 2 +- tests/amdgpu/amd_bypass.c | 2 +- tests/amdgpu/amd_color.c | 2 +- tests/amdgpu/amd_cursor_overlay.c | 2 +- tests/amdgpu/amd_freesync_video_mode.c | 2 +- tests/amdgpu/amd_ilr.c | 2 +- tests/amdgpu/amd_link_settings.c | 2 +- tests/amdgpu/amd_mall.c | 2 +- tests/amdgpu/amd_max_bpc.c | 2 +- tests/amdgpu/amd_mem_leak.c | 2 +- tests/amdgpu/amd_mode_switch.c | 5 +- tests/amdgpu/amd_multidisplay_modeset.c | 7 +- tests/amdgpu/amd_odm.c | 6 +- tests/amdgpu/amd_psr.c | 2 +- tests/amdgpu/amd_replay.c | 2 +- tests/chamelium/kms_chamelium_color.c | 8 +- .../kms_chamelium_sharpness_filter.c | 6 +- tests/intel/gem_eio.c | 11 ++- tests/intel/gem_exec_reloc.c | 9 +- tests/intel/gem_pxp.c | 4 +- tests/intel/kms_big_fb.c | 3 +- tests/intel/kms_busy.c | 3 +- tests/intel/kms_ccs.c | 3 +- tests/intel/kms_cdclk.c | 14 ++-- tests/intel/kms_dirtyfb.c | 4 +- tests/intel/kms_dp_linktrain_fallback.c | 2 +- tests/intel/kms_fbc_dirty_rect.c | 15 ++-- tests/intel/kms_flip_scaled_crc.c | 8 +- tests/intel/kms_frontbuffer_tracking.c | 5 +- tests/intel/kms_legacy_colorkey.c | 5 +- tests/intel/kms_pipe_stress.c | 30 ++++--- tests/intel/kms_pm_lpsp.c | 2 +- tests/intel/xe_pxp.c | 6 +- tests/kms_async_flips.c | 29 +++---- tests/kms_atomic.c | 3 +- tests/kms_atomic_transition.c | 36 +++++--- tests/kms_bw.c | 5 +- tests/kms_color.c | 11 +-- tests/kms_colorop.c | 3 +- tests/kms_content_protection.c | 2 +- tests/kms_cursor_legacy.c | 6 +- tests/kms_debugfs.c | 7 +- tests/kms_display_modes.c | 11 +-- tests/kms_dither.c | 4 +- tests/kms_feature_discovery.c | 4 +- tests/kms_hdr.c | 6 +- tests/kms_lease.c | 31 ++++--- tests/kms_plane.c | 9 +- tests/kms_plane_alpha_blend.c | 8 +- tests/kms_plane_lowres.c | 6 +- tests/kms_plane_multiple.c | 25 +++--- tests/kms_plane_scaling.c | 78 +++++++++-------- tests/kms_properties.c | 16 ++-- tests/kms_rmfb.c | 6 +- tests/kms_rotation_crc.c | 19 +++-- tests/kms_tiled_display.c | 2 +- tools/amd_hdmi_compliance.c | 2 +- 60 files changed, 378 insertions(+), 294 deletions(-)
Signature · 1 line
2.52.0