Skip to content

Allow building igt without graphics dependencies

Ryszard Knop igt-dev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest19 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Merge the header cleanup patchset into this one
- Rebase onto current master

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19lib: Remove unused headerslib/drmtest.c lib/i915/gem_mman.c lib/i915/gem_scheduler.c +70 more+8 -2870 replies
2/19assembler: Remove unused headersassembler/brw_disasm.c assembler/brw_eu_util.c assembler/disasm-main.c +1 more+0 -80 replies
3/19benchmarks: Remove unused headersbenchmarks/gem_blt.c benchmarks/gem_busy.c benchmarks/gem_create.c +19 more+0 -1330 replies
4/19overlay: Remove unused headersoverlay/config.c overlay/gem-interrupts.c overlay/gpu-top.c +8 more+0 -240 replies
5/19runner: Remove unused headersrunner/job_list.c runner/resultgen.c runner/results.c +4 more+0 -100 replies
6/19tests/amdgpu: Remove unused headerstests/amdgpu/amd_abm.c tests/amdgpu/amd_assr.c tests/amdgpu/amd_dp_dsc.c +2 more+0 -110 replies
7/19tests/vc4*: Remove unused headerstests/vc4_create_bo.c tests/vc4_dmabuf_poll.c tests/vc4_label_bo.c +5 more+0 -430 replies
8/19tests/v3d*: Remove unused headerstests/v3d_get_bo_offset.c tests/v3d_get_param.c tests/v3d_mmap.c+0 -230 replies
9/19tests/panfrost*: Remove unused headerstests/panfrost_gem_new.c tests/panfrost_get_param.c tests/panfrost_prime.c +1 more+0 -200 replies
10/19tests/kms*: Remove unused headerstests/kms_addfb_basic.c tests/kms_atomic.c tests/kms_atomic_transition.c +25 more+0 -610 replies
11/19tests/*: Remove unused headerstests/core_auth.c tests/core_getclient.c tests/core_getstats.c +19 more+1 -710 replies
12/19tools: Remove unused headerstools/cnl_compute_wrpll.c tools/hsw_compute_wrpll.c tools/i915-perf/i915_perf_configs.c +38 more+1 -1270 replies
13/19tests/i915/*: Remove unused headerstests/i915/api_intel_bb.c tests/i915/drm_fdinfo.c tests/i915/gen3_mixed_blits.c +32 more+0 -1190 replies
14/19tests/i915/gem*: Remove unused headerstests/i915/gem_bad_reloc.c tests/i915/gem_basic.c tests/i915/gem_caching.c +87 more+8 -4830 replies
15/19lib/i915: Replace igt.h with individual header importslib/i915/gem.c lib/i915/gem_mman.h lib/i915/i915_blt.c +2 more+30 -70 replies
16/19lib/igt*, lib/intel*: Replace igt.h with individual header importslib/igt_amd.c lib/igt_amd.h lib/igt_collection.c +8 more+47 -140 replies
17/19tools, lib: Replace igt.h with individual header importslib/nouveau/cea0b5.c lib/veboxcopy_gen12.c tools/amd_hdmi_compliance.c +11 more+49 -200 replies
18/19lib, tools: Add the 'graphics' build-time settinglib/igt.h lib/igt_debugfs.c lib/igt_debugfs.h +8 more+121 -620 replies
19/19lib, tools: Misc cleanups and typo fixeslib/igt.h lib/igt_frame.h lib/meson.build +1 more+5 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 0/19] Allow building igt without graphics dependencies

This patchset allows building igt without cairo and pixman, making its tools conveniently available in compute-only environments for debugging purposes. Building tests, overlays and some graphics-dependent tools is not available in this scenario, but most of the interesting stuff is in there.

The new graphics=<enabled/disabled> build-time setting decides whenever igt requires cairo and pixman. Disabling those dependencies prevents transitive dependencies on a large number of graphics-related libraries (X11, etc).

Unfortunately, previous 2 patchsets did not get reviewed - resending for easier testing.

v2:
- Merge the header cleanup patchset into this one
- Rebase onto current master