Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Extend IGT to support Android
@ 2025-04-29 20:39 Jeevaka Prabu Badrappan
  2025-04-29 20:39 ` [PATCH 1/5] Add stub for libunwind, procps and glib Jeevaka Prabu Badrappan
                   ` (10 more replies)
  0 siblings, 11 replies; 20+ messages in thread
From: Jeevaka Prabu Badrappan @ 2025-04-29 20:39 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevaka.badrappan, sapna1.singh, markyacoub, seanpaul,
	carlos.santa

The primary objective of this proposal is to extend the functionality of
IGT to Android environments.

Enabling IGT on Android will allow developers to perform comprehensive
testing of graphics drivers, ensuring robustness and reliability across
different platforms.

By providing stub implementations for libraries that are not natively
supported on Android, we will bridge the gap between Android and Linux
environments, promoting code reuse and reducing development time.

Changes done:
- Create stub implementations of GLib, libunwind, libprocps, and
other necessary libraries to satisfy IGT dependencies on Android.
- Replace glib hash table with generic hash table implementation

Note:
- Incase of linux systems, system libraries will be used whereas for
Android stubs will be used with reduced test coverage.
- Support will be provided to maintain Android support.

Jeevaka Prabu Badrappan (4):
  Replace program_invocation_short_name with prog_name from command line
  Avoid use of pthread_cancel by introducing an exit flag
  Replace glib hash table with c specific implementation
  igt-gpu-tools: Changes to compile for Android

Sapna (1):
  Add stub for libunwind, procps and glib

 include/stub/glib.h          |  43 +++++++++++++
 include/stub/libproc2/pids.h |  41 ++++++++++++
 include/stub/libunwind.h     |  20 ++++++
 lib/igt_core.c               |   4 ++
 lib/igt_core.h               |   1 +
 lib/igt_device_scan.c        | 118 ++++++++++++++++++++++++++---------
 lib/igt_dummyload.c          |   6 +-
 lib/igt_dummyload.h          |   2 +
 lib/igt_kmod.c               |  10 +++
 lib/xe/xe_spin.c             |   2 +-
 tests/intel/xe_create.c      |   1 +
 tools/gputop.c               |   6 +-
 tools/intel_gpu_top.c        |   2 +-
 13 files changed, 220 insertions(+), 36 deletions(-)
 create mode 100644 include/stub/glib.h
 create mode 100644 include/stub/libproc2/pids.h
 create mode 100644 include/stub/libunwind.h

-- 
2.49.0


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v2 0/5] Extend IGT to support Android
@ 2025-04-29 20:39 Jeevaka Prabu Badrappan
  0 siblings, 0 replies; 20+ messages in thread
From: Jeevaka Prabu Badrappan @ 2025-04-29 20:39 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevaka.badrappan, sapna1.singh, markyacoub, seanpaul,
	carlos.santa

The primary objective of this proposal is to extend the functionality of
IGT to Android environments.

Enabling IGT on Android will allow developers to perform comprehensive
testing of graphics drivers, ensuring robustness and reliability across
different platforms.

By providing stub implementations for libraries that are not natively
supported on Android, we will bridge the gap between Android and Linux
environments, promoting code reuse and reducing development time.

Changes done:
- Create stub implementations of GLib, libunwind, libprocps, and
other necessary libraries to satisfy IGT dependencies on Android.
- Replace glib hash table with generic hash table implementation

Note:
- Incase of linux systems, system libraries will be used whereas for
Android stubs will be used with reduced test coverage.
- Support will be provided to maintain Android support.

Jeevaka Prabu Badrappan (4):
  Replace program_invocation_short_name with prog_name from command line
  Avoid use of pthread_cancel by introducing an exit flag
  Replace glib hash table with c specific implementation
  igt-gpu-tools: Changes to compile for Android

Sapna (1):
  Add stub for libunwind, procps and glib

 include/stub/glib.h          |  43 +++++++++++++
 include/stub/libproc2/pids.h |  41 ++++++++++++
 include/stub/libunwind.h     |  20 ++++++
 lib/igt_core.c               |   4 ++
 lib/igt_core.h               |   1 +
 lib/igt_device_scan.c        | 118 ++++++++++++++++++++++++++---------
 lib/igt_dummyload.c          |   6 +-
 lib/igt_dummyload.h          |   2 +
 lib/igt_kmod.c               |  10 +++
 lib/xe/xe_spin.c             |   2 +-
 tests/intel/xe_create.c      |   1 +
 tools/gputop.c               |   6 +-
 tools/intel_gpu_top.c        |   2 +-
 13 files changed, 220 insertions(+), 36 deletions(-)
 create mode 100644 include/stub/glib.h
 create mode 100644 include/stub/libproc2/pids.h
 create mode 100644 include/stub/libunwind.h

-- 
2.49.0


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-04-30 20:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 20:39 [PATCH v2 0/5] Extend IGT to support Android Jeevaka Prabu Badrappan
2025-04-29 20:39 ` [PATCH 1/5] Add stub for libunwind, procps and glib Jeevaka Prabu Badrappan
2025-04-30 17:04   ` Kamil Konieczny
2025-04-29 20:39 ` [PATCH 2/5] Replace program_invocation_short_name with prog_name from command line Jeevaka Prabu Badrappan
2025-04-30 17:07   ` Kamil Konieczny
2025-04-29 20:39 ` [PATCH 3/5] Avoid use of pthread_cancel by introducing an exit flag Jeevaka Prabu Badrappan
2025-04-29 20:39 ` [PATCH 4/5] Replace glib hash table with c specific implementation Jeevaka Prabu Badrappan
2025-04-30 17:11   ` Kamil Konieczny
2025-04-29 20:40 ` [PATCH 5/5] igt-gpu-tools: Changes to compile for Android Jeevaka Prabu Badrappan
2025-04-30 17:26   ` Kamil Konieczny
2025-04-29 21:14 ` [PATCH v2 0/5] Extend IGT to support Android Dixit, Ashutosh
2025-04-30 20:13   ` Mark Yacoub
2025-04-30  5:17 ` ✓ i915.CI.BAT: success for Extend IGT to support Android (rev3) Patchwork
2025-04-30  5:49 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-04-30  8:47 ` ✗ Xe.CI.Full: " Patchwork
2025-04-30  9:08 ` ✗ i915.CI.Full: " Patchwork
2025-04-30 13:48 ` [PATCH v2 0/5] Extend IGT to support Android Ryszard Knop
2025-04-30 16:48   ` Badrappan, Jeevaka
2025-04-30 20:16   ` Mark Yacoub
  -- strict thread matches above, loose matches on Subject: below --
2025-04-29 20:39 Jeevaka Prabu Badrappan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox