Skip to content

Start cleanup of local macros/structs

Lucas De Marchi igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 5 repliesIn review
  2. v19 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9include/drm-uapi: sync kernel headersinclude/drm-uapi/amdgpu_drm.h include/drm-uapi/drm.h include/drm-uapi/drm_fourcc.h +9 more+766 -1330 replies
2/9Remove local copies of I915 macroslib/igt_fb.c lib/ioctl_wrappers.h tests/i915/gem_eio.c +25 more+149 -1590 replies
3/9tests/i915/gem_mmap_wc: drop LOCAL_IOCTL_I915_GEM_MMAP_v2tests/i915/gem_mmap_wc.c+2 -130 replies
4/9lib/ioctl_wrappers: drop gem_require_stolen_support()lib/ioctl_wrappers.c lib/ioctl_wrappers.h+0 -390 replies
5/9benchmarks/gem_exec_tracer: nuke LOCAL_IOCTL_I915_GEM_EXECBUFFER2_WRbenchmarks/gem_exec_tracer.c+1 -40 replies
6/9benchmarks/gem_busy: nuke LOCAL_IOCTL_SYNCOBJ_CREATEbenchmarks/gem_busy.c+2 -50 replies
7/9benchmarks/gem_busy: nuke LOCAL_IOCTL_SYNCOBJ_WAITbenchmarks/gem_busy.c+3 -150 replies
8/9Nuke local versions of DRM_FORMAT and DRM_MODElib/igt_fb.c lib/ioctl_wrappers.h tests/amdgpu/amd_bypass.c +63 more+246 -3350 replies
9/9tests/kms_sequence: nuke local drm definitionstests/kms_sequence.c+9 -290 replies

Reviews trailers per patch

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

PatchDaniel VetterAshutosh Dixit
SeriesA-b R-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 0/9] Start cleanup of local macros/structs

We have a lot of LOCAL leftovers because:

a) we needed a test before landing the kernel API, or
b) in the past we didn't copy the kernel headers, or
c) it's done everywhere, so people just copy and paste

There are still some lingering in there, but this should cover the major part.

v2: Rebase

Lucas De Marchi (9):
include/drm-uapi: sync kernel headers
Remove local copies of I915 macros tests/i915/gem_mmap_wc: drop LOCAL_IOCTL_I915_GEM_MMAP_v2 lib/ioctl_wrappers: drop gem_require_stolen_support() benchmarks/gem_exec_tracer: nuke LOCAL_IOCTL_I915_GEM_EXECBUFFER2_WR benchmarks/gem_busy: nuke LOCAL_IOCTL_SYNCOBJ_CREATE benchmarks/gem_busy: nuke LOCAL_IOCTL_SYNCOBJ_WAIT
Nuke local versions of DRM_FORMAT and DRM_MODE tests/kms_sequence: nuke local drm definitions

 benchmarks/gem_busy.c             |  25 +--
 benchmarks/gem_exec_tracer.c      |   5 +-
 include/drm-uapi/amdgpu_drm.h     |  93 +++++++++--
 include/drm-uapi/drm.h            | 250 +++++++++++++++++++++++-------
 include/drm-uapi/drm_fourcc.h     |  74 ++++++++-
 include/drm-uapi/drm_mode.h       | 195 +++++++++++++++++------
 include/drm-uapi/etnaviv_drm.h    |   3 +
 include/drm-uapi/exynos_drm.h     |   2 +-
 include/drm-uapi/lima_drm.h       | 176 +++++++++++++++++++++
 include/drm-uapi/msm_drm.h        |  32 +++-
 include/drm-uapi/nouveau_drm.h    |   1 +
 include/drm-uapi/panfrost_drm.h   |   1 +
 include/drm-uapi/virtgpu_drm.h    |  39 ++++-
 include/drm-uapi/vmwgfx_drm.h     |  33 +++-
 lib/igt_fb.c                      |  68 ++++----
 lib/ioctl_wrappers.c              |  28 ----
 lib/ioctl_wrappers.h              |  45 ------
 tests/amdgpu/amd_bypass.c         |   2 +-
 tests/debugfs_test.c              |   2 +-
 tests/drm_read.c                  |   2 +-
 tests/i915/gem_eio.c              |   2 +-
 tests/i915/gem_exec_reloc.c       |   2 +-
 tests/i915/gem_mmap_wc.c          |  15 +-
 tests/i915/i915_fb_tiling.c       |   2 +-
 tests/i915/i915_getparams_basic.c |   6 +-
 tests/i915/i915_pm_backlight.c    |   2 +-
 tests/i915/i915_pm_dc.c           |   4 +-
 tests/i915/i915_pm_lpsp.c         |   2 +-
 tests/i915/i915_pm_rpm.c          |  16 +-
 tests/i915/perf_pmu.c             |   2 +-
 tests/kms_3d.c                    |   2 +-
 tests/kms_addfb_basic.c           |  68 ++++----
 tests/kms_async_flips.c           |   8 +-
 tests/kms_atomic.c                |   4 +-
 tests/kms_atomic_interruptible.c  |   6 +-
 tests/kms_atomic_transition.c     |  12 +-
 tests/kms_big_fb.c                |   4 +-
 tests/kms_big_joiner.c            |   2 +-
 tests/kms_busy.c                  |   6 +-
 tests/kms_ccs.c                   |  18 +--
 tests/kms_chamelium.c             |  26 ++--
 tests/kms_color.c                 |  20 +--
 tests/kms_color_chamelium.c       |  24 +--
 tests/kms_concurrent.c            |   4 +-
 tests/kms_content_protection.c    |   4 +-
 tests/kms_cursor_crc.c            |  12 +-
 tests/kms_cursor_edge_walk.c      |   4 +-
 tests/kms_cursor_legacy.c         |   2 +-
 tests/kms_dither.c                |   2 +-
 tests/kms_dp_dsc.c                |   2 +-
 tests/kms_dp_tiled_display.c      |   2 +-
 tests/kms_draw_crc.c              |  24 +--
 tests/kms_fbcon_fbt.c             |   2 +-
 tests/kms_fence_pin_leak.c        |   4 +-
 tests/kms_flip.c                  |   4 +-
 tests/kms_flip_event_leak.c       |   4 +-
 tests/kms_flip_scaled_crc.c       |  28 ++--
 tests/kms_flip_tiling.c           |  48 +++---
 tests/kms_frontbuffer_tracking.c  |  10 +-
 tests/kms_hdmi_inject.c           |   4 +-
 tests/kms_invalid_dotclock.c      |   2 +-
 tests/kms_lease.c                 | 109 +++----------
 tests/kms_mmap_write_crc.c        |   4 +-
 tests/kms_multipipe_modeset.c     |   2 +-
 tests/kms_panel_fitting.c         |  10 +-
 tests/kms_pipe_crc_basic.c        |   8 +-
 tests/kms_plane.c                 |  10 +-
 tests/kms_plane_alpha_blend.c     |  20 +--
 tests/kms_plane_lowres.c          |   8 +-
 tests/kms_plane_multiple.c        |  12 +-
 tests/kms_plane_scaling.c         |  20 +--
 tests/kms_prime.c                 |   4 +-
 tests/kms_properties.c            |   2 +-
 tests/kms_psr.c                   |   6 +-
 tests/kms_psr2_sf.c               |  14 +-
 tests/kms_psr2_su.c               |   4 +-
 tests/kms_pwrite_crc.c            |   4 +-
 tests/kms_rmfb.c                  |   4 +-
 tests/kms_rotation_crc.c          |  64 ++++----
 tests/kms_sequence.c              |  40 ++---
 tests/kms_setmode.c               |   2 +-
 tests/kms_universal_plane.c       |  24 +--
 tests/kms_vblank.c                |   2 +-
 tests/kms_vrr.c                   |   4 +-
 tests/nouveau_crc.c               |   4 +-
 tests/prime_mmap_kms.c            |   2 +-
 tests/prime_vgem.c                |   2 +-
 tests/testdisplay.c               |   8 +-
 tools/intel_dp_compliance.c       |   8 +-
 tools/intel_residency.c           |   4 +-
 tools/msm_dp_compliance.c         |   4 +-
 91 files changed, 1173 insertions(+), 727 deletions(-)
 create mode 100644 include/drm-uapi/lima_drm.h
Signature · 6 lines
2.31.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev