[PATCH v15 0/9] Extend IGT to support Android

Jeevaka Prabu Badrappan jeevaka.badrappan at intel.com
Wed Jun 4 17:16:47 UTC 2025


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 implementation of GLib library to satisfy IGT dependencies
on Android.

Note:
- In case 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 (8):
  lib: Include local igt glib header for Android
  lib/igt_aux: Handle absence of libproc2 in Android
  tests/intel: Include local glib header for Android
  tests/testdisplay: Include local glib header for Android
  runner: Include local glib header for Android
  tools: Include local glib header for Android
  tests/intel/xe_create: Conditionally define PAGE_SIZE for non-Android
    platforms
  tools/intel_firmware_decode: Conditionally define __packed

Sapna Singh (1):
  include/android: Add stub for glib

 include/android/glib.h        | 55 +++++++++++++++++++++++++++++++++++
 lib/igt_aux.c                 | 10 +++----
 lib/igt_chamelium.c           |  4 +++
 lib/igt_core.c                |  4 +++
 lib/igt_rc.h                  |  4 +++
 lib/intel_batchbuffer.c       |  4 +++
 runner/executor.c             |  4 +++
 runner/settings.h             |  4 +++
 tests/intel/api_intel_bb.c    |  4 +++
 tests/intel/gem_ccs.c         |  4 +++
 tests/intel/xe_ccs.c          |  4 +++
 tests/intel/xe_create.c       |  2 ++
 tests/intel/xe_intel_bb.c     |  4 +++
 tests/testdisplay.h           |  4 +++
 tools/igt_dp_compliance.h     |  4 +++
 tools/intel_firmware_decode.c |  2 ++
 tools/intel_pm_rpm.c          |  4 +++
 tools/lsgpu.c                 |  4 +++
 18 files changed, 120 insertions(+), 5 deletions(-)
 create mode 100644 include/android/glib.h

-- 
2.49.0



More information about the igt-dev mailing list