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 E3AD8C27C5E for ; Mon, 10 Jun 2024 08:09:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 88D4510E359; Mon, 10 Jun 2024 08:09:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="dQzoAflM"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3857F10E354 for ; Mon, 10 Jun 2024 08:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718006978; x=1749542978; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dgZLZNuP92raARpO/oNgHxrEebcmusCXkwlCJX0gyUQ=; b=dQzoAflMjgi9T2SE8qRpxL3tTy0Tye4nDToFyt+eFRrUY6N5W7QJa6n0 kMohM3TJWf+PXYKnQ9tUg8PEQ7LNFmWek6cypF4M9EgObYQ628kX25+iF lqNuK07B3Vj8YzOdhmYA+ANxQWFPzOF/BkE0yazXhsbCn6pwOZhcpXtYR SjA6FVIpVqnmUr11mvnzazSJNrfKK5a0MLeVdi2VN1BQLoCaR/3XzgiXz Xef4lY5mOkv3pjE0udh4em3Ul1smcste09FCvnaESl501VxX5x8k7tQpn 0+xxnZpEFb6NNsOBvFPMtobhMBnR3XB9oJj9gHaJjcLYfLruRLdh0jpu+ w==; X-CSE-ConnectionGUID: v9JNDLajTOeMFsgBhty8iA== X-CSE-MsgGUID: odhbgqYARvaDwyIW7aIdHw== X-IronPort-AV: E=McAfee;i="6600,9927,11098"; a="18439421" X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="18439421" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 01:09:38 -0700 X-CSE-ConnectionGUID: 9zxWTIHzSECeYq4QCMZTJQ== X-CSE-MsgGUID: 9qU9c2YrSQ+9Lvf97raMhQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="39109787" Received: from bhanu-nuclab.iind.intel.com ([10.145.169.172]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 01:09:36 -0700 From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Cc: Bhanuprakash Modem , Kamil Konieczny Subject: [PATCH i-g-t 1/3] tests/panfrost: Move Panfrost tests to new dir Date: Mon, 10 Jun 2024 13:31:47 +0530 Message-ID: <20240610080150.3610871-2-bhanuprakash.modem@intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240610080150.3610871-1-bhanuprakash.modem@intel.com> References: <20240610080150.3610871-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: Kamil Konieczny Signed-off-by: Bhanuprakash Modem --- 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