Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00A00C5AD49 for ; Tue, 3 Jun 2025 19:24:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A019010E02E; Tue, 3 Jun 2025 19:24:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Nv/YpeNk"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id 163EE10E02E for ; Tue, 3 Jun 2025 19:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1748978666; x=1780514666; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PtN6gkUTXzU7od2Lzjkb0ueLZYocjTZEQrdkZfYB1s4=; b=Nv/YpeNkv2sEhQaqq/uYAn70qzYTBNwtdGbOBfsfjHLXB9WMCdEdDcy5 ywxXDieNEgzybq9m2Hwa8pMxQ/Vu/jd0qhBeaAs4g+wjHI1pbecW89BvA EyhiXRqmEGk+Bu25MEf1a2FeMCS22Fss8CsvDmuRncfqniWHXcINKNpBp MsBYocXd1jw6JK3Kd7ZyiS83gFEw85o55EhbvoO4XLsU92ZSuLe4tyjHh 6FIRAvkPQ3F6F+wIyypzVyuxMm2KIvgAkqAulDC4YabQ8iOd+CANknl4u La9F/6RTB+LAJgSQDpEYT+8sNonKTIZGrt3o8dVX5h9BU8d9EoX4ckMk0 g==; X-CSE-ConnectionGUID: w+O+39rgTQa2eEEY/Fso4w== X-CSE-MsgGUID: zJQEQr7sSWO5TpzFKCkm7w== X-IronPort-AV: E=McAfee;i="6700,10204,11453"; a="76424287" X-IronPort-AV: E=Sophos;i="6.16,206,1744095600"; d="scan'208";a="76424287" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2025 12:24:26 -0700 X-CSE-ConnectionGUID: miO0Y1TOQwe7z49Uyp5n7Q== X-CSE-MsgGUID: /t8cQMNhSGaamAnlk9bXsw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,206,1744095600"; d="scan'208";a="175821248" Received: from unknown (HELO d368ed45d7ae.iind.intel.com) ([10.66.234.123]) by fmviesa001.fm.intel.com with ESMTP; 03 Jun 2025 12:24:23 -0700 From: Jeevaka Prabu Badrappan To: igt-dev@lists.freedesktop.org Cc: zbigniew.kempczynski@intel.com, kamil.konieczny@intel.com, markyacoub@google.com, seanpaul@google.com, carlos.santa@intel.com, sapna1.singh@intel.com, Jeevaka Prabu Badrappan Subject: [PATCH i-g-t v14 00/11] Extend IGT to support Android Date: Tue, 3 Jun 2025 19:23:43 +0000 Message-ID: <20250603192355.77019-1-jeevaka.badrappan@intel.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" 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, libprocps libraries to satisfy IGT dependencies on Android. - Replace glib hash table with igt hash implementation 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 (10): lib/intel_batchbuffer: handle base64 encode fail tests/intel/*_intel_bb: handle base64 encode fail lib: Include local igt glib header for Android lib/igt_aux: Include local igt procps header for 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 lib/igt_device_scan: reuse igt hash Sapna Singh (1): include/android: Add stub for procps and glib include/android/glib.h | 44 +++++++++++++++++++++ include/android/procps.h | 40 +++++++++++++++++++ lib/igt_aux.c | 6 ++- lib/igt_chamelium.c | 4 ++ lib/igt_core.c | 4 ++ lib/igt_device_scan.c | 78 +++++++++++++++++++------------------- lib/igt_rc.h | 4 ++ lib/intel_batchbuffer.c | 7 ++++ lib/meson.build | 1 + runner/executor.c | 4 ++ runner/settings.h | 4 ++ tests/intel/api_intel_bb.c | 7 +++- tests/intel/gem_ccs.c | 4 ++ tests/intel/xe_ccs.c | 4 ++ tests/intel/xe_create.c | 2 + tests/intel/xe_intel_bb.c | 7 +++- tests/testdisplay.h | 4 ++ tools/igt_dp_compliance.h | 4 ++ tools/intel_pm_rpm.c | 4 ++ tools/lsgpu.c | 4 ++ 20 files changed, 195 insertions(+), 41 deletions(-) create mode 100644 include/android/glib.h create mode 100644 include/android/procps.h -- 2.49.0