Skip to content

kms: Small cleanups and refactoring

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8igt: Name drmModeCrtc variables 'drm_crtc'lib/igt_kms.c tests/intel/kms_flip_scaled_crc.c tests/kms_atomic.c +5 more+58 -572 replies
2/8lib/kms: Nuke PIPE_ANYlib/igt_kms.h tests/intel/kms_fb_coherency.c tests/intel/kms_flip_tiling.c +5 more+7 -81 reply
3/8lib/kms: Nuke unused kmstest_{crtc,plane}lib/igt_kms.h+0 -201 reply
4/8igt/kms: Nuke unused igt_pipe_*prop*() marcos and functionslib/igt_kms.h+0 -1011 reply
5/8lib/kms: Turn the igt_plane*prop*() marcos into functionslib/igt_kms.h tests/kms_cursor_legacy.c+24 -130 replies
6/8lib/kms: Turn the igt_output*prop*() marcos into functionslib/igt_kms.h+22 -110 replies
7/8lib/kms: Turn the igt_pipe_obj*prop*() marcos into functionslib/igt_kms.h+35 -150 replies
8/8test/kms_color: Don't dig around in display->pipes[] so muchtests/kms_color.c+10 -150 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSwati SharmaJani Nikula
SeriesA-b
1/8
2/8R-b
3/8R-b
4/8R-b
5/8
6/8
7/8
8/8

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 0/8] kms: Small cleanups and refactoring

From: Ville Syrjälä <[email protected]>

Some fairly trivial cleanups and some refactoring.

Ville Syrjälä (8):
igt: Name drmModeCrtc variables 'drm_crtc' lib/kms: Nuke PIPE_ANY
lib/kms: Nuke unused kmstest_{crtc,plane}
igt/kms: Nuke unused igt_pipe_*prop*() marcos and functions lib/kms: Turn the igt_plane*prop*() marcos into functions lib/kms: Turn the igt_output*prop*() marcos into functions lib/kms: Turn the igt_pipe_obj*prop*() marcos into functions test/kms_color: Don't dig around in display->pipes[] so much

 lib/igt_kms.c                     |  10 +-
 lib/igt_kms.h                     | 238 ++++++++++--------------------
 tests/intel/kms_fb_coherency.c    |   2 +-
 tests/intel/kms_flip_scaled_crc.c |   8 +-
 tests/intel/kms_flip_tiling.c     |   2 +-
 tests/intel/perf_pmu.c            |   2 +-
 tests/intel/prime_mmap_kms.c      |   2 +-
 tests/kms_atomic.c                |  25 ++--
 tests/kms_color.c                 |  41 +++--
 tests/kms_cursor_legacy.c         |   4 +-
 tests/kms_flip_event_leak.c       |   2 +-
 tests/kms_lease.c                 |  14 +-
 tests/kms_plane.c                 |  16 +-
 tests/kms_plane_multiple.c        |   2 +-
 tests/kms_rmfb.c                  |  14 +-
 tests/vmwgfx/vmw_prime.c          |   2 +-
 tools/msm_dp_compliance.c         |  12 +-
 17 files changed, 156 insertions(+), 240 deletions(-)
Signature · 1 line
2.49.1