Skip to content

lib/intel_allocator, tests/kms_concurrent, tests/api_intel_allocator: check for sysvipc

S Sebinraj igt-dev 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 0 repliesNew
  2. v73 patches 3 repliesSuperseded
  3. v62 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v52 patches2 repliesSuperseded
v41 patch5 repliesSuperseded
v31 patch2 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch3 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/intel_allocator: Add SYSVIPC support checklib/intel_allocator.c lib/intel_allocator.h+36 -50 replies
2/3tests/kms_concurrent: Fix for msg_queue failuretests/kms_concurrent.c+2 -10 replies
3/3tests/api_intel_allocator: Check if multiprocess is supportedtests/intel/api_intel_allocator.c+2 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchZbigniew Kempczyński
1/3R-b
2/3R-b
3/3R-b

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

Read the v8 thread

Cover letter [PATCH i-g-t v8 0/3] lib/intel_allocator, tests/kms_concurrent, tests/api_intel_allocator: check for sysvipc

Check for System V IPC support in kms_concurrent test to handle targets that don't have it enabled in their kernel.

Without this the test fails in systems that run Android or the ones which doesn't have SYSVIPC support.

Snapshot of the error when tested with Intel Xe GPU, Target (PTL):
CRITICAL: Test assertion failure function msgqueue_init,
file external/igt-gpu-tools/lib/intel_allocator_msgchannel.c:66:
CRITICAL: Failed assertion: msgctl(queue, IPC_STAT, &qstat) == 0
CRITICAL: Last errno: 38, Function not implemented

S Sebinraj (3):
lib/intel_allocator: Add SYSVIPC support check tests/kms_concurrent: Fix for msg_queue failure tests/api_intel_allocator: Check if multiprocess is supported

 lib/intel_allocator.c             | 37 ++++++++++++++++++++++++++++---
 lib/intel_allocator.h             |  4 ++--
 tests/intel/api_intel_allocator.c |  3 ++-
 tests/kms_concurrent.c            |  3 ++-
 4 files changed, 40 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0