Skip to content

Remove libdrm remnants in i915 code

Zbigniew Kempczyński igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/prime_udl: Remove prime_udl testtests/meson.build tests/prime_udl.c+0 -1610 replies
2/4tests/prime_nv_*: Remove prime_nv_* teststests/meson.build tests/prime_nv_api.c tests/prime_nv_pcopy.c +1 more+0 -17170 replies
3/4benchmarks/intel_upload_blit_*: Remove libdrm in upload blitsbenchmarks/intel_upload_blit_large.c benchmarks/intel_upload_blit_large_gtt.c benchmarks/intel_upload_blit_large_map.c +1 more+311 -2210 replies
4/4lib/intel_batchbuffer: Get rid of libdrm batchbufferlib/intel_batchbuffer.c lib/intel_batchbuffer.h+2 -8200 replies

Reviews trailers per patch

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

PatchPetri Latvala
SeriesA-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/4] Remove libdrm remnants in i915 code

I want finally remove all libdrm stuff, to get this I had to:

1. remove prime_udl tests - it is not used in CI due to lack of DisplayLink hardware,
2. remove prime_nv_* tests - similar, there's no compatible hw I can rewrite the test and it is not exercised by CI so lets get rid of it. If someone is complaining we can back to it in the future or is welcome to rewrite it.
3. rewrite intel_upload_blit_* benchmarks - I tried to mimic behavior as much as possible but there'e some minor differences in execution time. I think it is related to libdrm internals (how it caches handles/mappings). I'm not sure but it shouldn't much affect what benchmark is exercising.
4. remove all intel_batchbuffer_* code

Cc Petri Latvala <[email protected]>

Zbigniew Kempczyński (4):
tests/prime_udl: Remove prime_udl test tests/prime_nv_*: Remove prime_nv_* tests benchmarks/intel_upload_blit_*: Remove libdrm in upload blits lib/intel_batchbuffer: Get rid of libdrm batchbuffer

 benchmarks/intel_upload_blit_large.c     | 131 ++--
 benchmarks/intel_upload_blit_large_gtt.c | 130 ++--
 benchmarks/intel_upload_blit_large_map.c | 132 ++--
 benchmarks/intel_upload_blit_small.c     | 139 ++--
 lib/intel_batchbuffer.c                  | 574 +-------------
 lib/intel_batchbuffer.h                  | 248 -------
 tests/meson.build                        |   4 -
 tests/prime_nv_api.c                     | 410 ----------
 tests/prime_nv_pcopy.c                   | 905 -----------------------
 tests/prime_nv_test.c                    | 399 ----------
 tests/prime_udl.c                        | 160 ----
 11 files changed, 313 insertions(+), 2919 deletions(-)
 delete mode 100644 tests/prime_nv_api.c
 delete mode 100644 tests/prime_nv_pcopy.c
 delete mode 100644 tests/prime_nv_test.c
 delete mode 100644 tests/prime_udl.c
Signature · 1 line
2.34.1