Skip to content

igt: clean up typedef usage, use for_each_output() more

Jani Nikula igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16tests: prefer igt_plane_t over struct igt_planetests/intel/kms_dp_link_training.c tests/intel/kms_dp_linktrain_fallback.c+8 -80 replies
2/16lib/kms: rename struct igt_plane to _igt_planelib/igt_kms.h+3 -30 replies
3/16tests: prefer igt_display_t over struct igt_displaytests/kms_getfb.c+4 -40 replies
4/16lib/kms: rename struct igt_display to _igt_displaylib/igt_kms.c lib/igt_kms.h+3 -30 replies
5/16lib/kms: rename struct igt_crtc to _igt_crtclib/igt_kms.h+2 -20 replies
6/16lib/kms: drop struct igt_colorop definitionlib/igt_kms.h+1 -10 replies
7/16tests/amdgpu/amd_abm: use for_each_output()tests/amdgpu/amd_abm.c+4 -40 replies
8/16tests/amdgpu/amd_hotplug: use for_each_output()tests/amdgpu/amd_hotplug.c+5 -30 replies
9/16tests/amdgpu/amd_subvp: use for_each_output()tests/amdgpu/amd_subvp.c+5 -40 replies
10/16tests/amdgpu/amd_dp_dsc: use for_each_output()tests/amdgpu/amd_dp_dsc.c+6 -40 replies
11/16tests/amdgpu/amd_plane: use for_each_output()tests/amdgpu/amd_plane.c+5 -30 replies
12/16tests/kms_atomic_transition: use for_each_output()tests/kms_atomic_transition.c+3 -30 replies
13/16tests/kms_colorop: use for_each_output()tests/kms_colorop.c+2 -40 replies
14/16tests/kms_content_protection: use for_each_output()tests/kms_content_protection.c+3 -30 replies
15/16tests/kms_getfb: use for_each_output()tests/kms_getfb.c+3 -20 replies
16/16tests/kms_writeback: use for_each_output()tests/kms_writeback.c+4 -60 replies

Reviews trailers per patch

None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVille Syrjälä
SeriesR-b
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 00/16] igt: clean up typedef usage, use for_each_output() more

This series spiraled into a few things:

- use typedefs like igt_foo_t more consistently instead of struct igt_foo

- rename the structs to have underscore prefix to discourage usage like struct _igt_foo

- convert open coded output loops to use for_each_output()

BR,
Jani.

Jani Nikula (16):
tests: prefer igt_plane_t over struct igt_plane lib/kms: rename struct igt_plane to _igt_plane
tests: prefer igt_display_t over struct igt_display lib/kms: rename struct igt_display to _igt_display lib/kms: rename struct igt_crtc to _igt_crtc lib/kms: drop struct igt_colorop definition tests/amdgpu/amd_abm: use for_each_output() tests/amdgpu/amd_hotplug: use for_each_output() tests/amdgpu/amd_subvp: use for_each_output() tests/amdgpu/amd_dp_dsc: use for_each_output() tests/amdgpu/amd_plane: use for_each_output() tests/kms_atomic_transition: use for_each_output() tests/kms_colorop: use for_each_output() tests/kms_content_protection: use for_each_output() tests/kms_getfb: use for_each_output() tests/kms_writeback: use for_each_output()

 lib/igt_kms.c                           |  2 +-
 lib/igt_kms.h                           | 16 ++++++++--------
 tests/amdgpu/amd_abm.c                  |  8 ++++----
 tests/amdgpu/amd_dp_dsc.c               | 10 ++++++----
 tests/amdgpu/amd_hotplug.c              |  8 +++++---
 tests/amdgpu/amd_plane.c                |  8 +++++---
 tests/amdgpu/amd_subvp.c                |  9 +++++----
 tests/intel/kms_dp_link_training.c      |  4 ++--
 tests/intel/kms_dp_linktrain_fallback.c | 12 ++++++------
 tests/kms_atomic_transition.c           |  6 +++---
 tests/kms_colorop.c                     |  6 ++----
 tests/kms_content_protection.c          |  6 +++---
 tests/kms_getfb.c                       | 13 +++++++------
 tests/kms_writeback.c                   | 10 ++++------
 14 files changed, 61 insertions(+), 57 deletions(-)
Signature · 1 line
2.47.3