From mboxrd@z Thu Jan 1 00:00:00 1970 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 805F8C27C53 for ; Wed, 12 Jun 2024 07:11:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F034410E7BA; Wed, 12 Jun 2024 07:11:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="A8vX75Aq"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22D2010E7AB for ; Wed, 12 Jun 2024 07:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718176287; x=1749712287; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h0K76JcFoSnRDzlrIPiEOy1f55yKd5NQyyENiRU69gU=; b=A8vX75Aqfh/cJVcJdCyoaUevRBsTy1UTi3Nl4v1WmynJhjNJIl7UwBA1 0Rxr5Di/RiOrnm9IBQ1T6M+fVtyp4/dNG9hdeBdw50gzUuYEJRMC/GpUH ZrGLWN/hZfJ6Ye+y2XY0YjrE+mo8gGpvxfu/RCnNoKv1wYGjCCFYA8CAe pCFKwUI6i5lxYGz2gsTH0Ifm1IM8dJ6RaDi1R3lhaM4D4i0qD0r6P0vR/ aQBZcCkmS4Q5woln1q6j5pKvHNZhTB0YpwUL3a6Q3o6CgV1i4Cqsx8OdA CmE9KV6G2G5kPTCd0uEED2jovaCvbiB8KBAJlRwyhgSG0uDUK4MnFbx6j Q==; X-CSE-ConnectionGUID: tOAW1241TP2WYR+YIueWRA== X-CSE-MsgGUID: +bW+zSOeTNaMQOXUtCffrA== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="15092489" X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="15092489" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 00:11:27 -0700 X-CSE-ConnectionGUID: ogAveWf3SveLxJUrtoiAlw== X-CSE-MsgGUID: coPNtDEORiqO7PvZyvpg9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="62868011" Received: from bhanu-nuclab.iind.intel.com ([10.145.169.172]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 00:11:25 -0700 From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Cc: Bhanuprakash Modem , Boris Brezillon , Alyssa Rosenzweig , Kamil Konieczny Subject: [i-g-t V2 1/3] tests/panfrost: Move Panfrost tests to new dir Date: Wed, 12 Jun 2024 12:33:33 +0530 Message-ID: <20240612070335.3758500-2-bhanuprakash.modem@intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240612070335.3758500-1-bhanuprakash.modem@intel.com> References: <20240612070335.3758500-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 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" Move all Panfrost specific tests (tests/panfrost_*) to new dir (tests/panfrost/panfrost_*). Cc: Boris Brezillon Cc: Alyssa Rosenzweig Cc: Kamil Konieczny Signed-off-by: Bhanuprakash Modem Reviewed-by: Kamil Konieczny --- meson.build | 8 ++++++++ tests/meson.build | 6 ++---- tests/panfrost/meson.build | 15 +++++++++++++++ tests/{ => panfrost}/panfrost_gem_new.c | 0 tests/{ => panfrost}/panfrost_get_param.c | 0 tests/{ => panfrost}/panfrost_prime.c | 0 tests/{ => panfrost}/panfrost_submit.c | 0 7 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 tests/panfrost/meson.build rename tests/{ => panfrost}/panfrost_gem_new.c (100%) rename tests/{ => panfrost}/panfrost_get_param.c (100%) rename tests/{ => panfrost}/panfrost_prime.c (100%) rename tests/{ => panfrost}/panfrost_submit.c (100%) diff --git a/meson.build b/meson.build index ab44aadb1..701a5cc35 100644 --- a/meson.build +++ b/meson.build @@ -276,6 +276,7 @@ includedir = get_option('includedir') libdir = get_option('libdir') libexecdir = join_paths(get_option('libexecdir'), 'igt-gpu-tools') amdgpudir = join_paths(libexecdir, 'amdgpu') +panfrostdir = join_paths(libexecdir, 'panfrost') v3ddir = join_paths(libexecdir, 'v3d') vc4dir = join_paths(libexecdir, 'vc4') vmwgfxdir = join_paths(libexecdir, 'vmwgfx') @@ -315,6 +316,12 @@ if get_option('use_rpath') endforeach amdgpudir_rpathdir = join_paths(amdgpudir_rpathdir, libdir) + panfrost_rpathdir = '$ORIGIN' + foreach p : panfrostdir.split('/') + panfrost_rpathdir = join_paths(panfrost_rpathdir, '..') + endforeach + panfrost_rpathdir = join_paths(panfrost_rpathdir, libdir) + v3d_rpathdir = '$ORIGIN' foreach p : v3ddir.split('/') v3d_rpathdir = join_paths(v3d_rpathdir, '..') @@ -336,6 +343,7 @@ else bindir_rpathdir = '' libexecdir_rpathdir = '' amdgpudir_rpathdir = '' + panfrost_rpathdir = '' v3d_rpathdir = '' vc4_rpathdir = '' vmwgfx_rpathdir = '' diff --git a/tests/meson.build b/tests/meson.build index 758ae090c..16896de99 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -65,10 +65,6 @@ test_progs = [ 'kms_vrr', 'kms_writeback', 'meta_test', - 'panfrost_get_param', - 'panfrost_gem_new', - 'panfrost_prime', - 'panfrost_submit', 'prime_udl', 'prime_vgem', 'sriov_basic', @@ -461,6 +457,8 @@ endif subdir('amdgpu') +subdir('panfrost') + subdir('v3d') subdir('vc4') diff --git a/tests/panfrost/meson.build b/tests/panfrost/meson.build new file mode 100644 index 000000000..b633d1be9 --- /dev/null +++ b/tests/panfrost/meson.build @@ -0,0 +1,15 @@ +panfrost_progs = [ + 'panfrost_get_param', + 'panfrost_gem_new', + 'panfrost_prime', + 'panfrost_submit', +] + +foreach prog : panfrost_progs + test_executables += executable(prog, prog + '.c', + dependencies : test_deps, + install_dir : panfrostdir, + install_rpath : panfrost_rpathdir, + install : true) + test_list += join_paths('panfrost', prog) +endforeach diff --git a/tests/panfrost_gem_new.c b/tests/panfrost/panfrost_gem_new.c similarity index 100% rename from tests/panfrost_gem_new.c rename to tests/panfrost/panfrost_gem_new.c diff --git a/tests/panfrost_get_param.c b/tests/panfrost/panfrost_get_param.c similarity index 100% rename from tests/panfrost_get_param.c rename to tests/panfrost/panfrost_get_param.c diff --git a/tests/panfrost_prime.c b/tests/panfrost/panfrost_prime.c similarity index 100% rename from tests/panfrost_prime.c rename to tests/panfrost/panfrost_prime.c diff --git a/tests/panfrost_submit.c b/tests/panfrost/panfrost_submit.c similarity index 100% rename from tests/panfrost_submit.c rename to tests/panfrost/panfrost_submit.c -- 2.43.2