From: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
<igt-dev@lists.freedesktop.org>,
Rob Clark <robdclark@chromium.org>,
"Helen Koike" <helen.koike@collabora.com>,
Emma Anholt <emma@anholt.net>
Subject: Re: [i-g-t V2 2/3] tests/msm: Move MSM tests to new dir
Date: Wed, 12 Jun 2024 16:26:43 +0530 [thread overview]
Message-ID: <5bd489d6-4582-4580-88bb-65c4fe2580e0@intel.com> (raw)
In-Reply-To: <20240612085917.fuedflaohprijgr2@kamilkon-DESK.igk.intel.com>
On 12-06-2024 02:29 pm, Kamil Konieczny wrote:
> Hi Bhanuprakash,
> On 2024-06-12 at 12:33:34 +0530, Bhanuprakash Modem wrote:
>> Move all MSM specific tests (tests/msm_*) to new dir
>> (tests/msm/msm_*).
>>
>> Cc: Rob Clark <robdclark@chromium.org>
>> Cc: Helen Koike <helen.koike@collabora.com>
>> Cc: Emma Anholt <emma@anholt.net>
>> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
>> Acked-by: Rob Clark <robdclark@chromium.org>
>> ---
>> meson.build | 8 ++++++++
>> tests/meson.build | 19 ++-----------------
>> tests/msm/meson.build | 16 ++++++++++++++++
>> 3 files changed, 26 insertions(+), 17 deletions(-)
>
> I do not see any msm files moved, is this an ommision?
Yeah, we are not moving any source files, but we are storing bins in new
directory.
Can I change the commit message?
- Bhanu
>
> Regards,
> Kamil
>
>> create mode 100644 tests/msm/meson.build
>>
>> diff --git a/meson.build b/meson.build
>> index 701a5cc35..6ae3c2684 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')
>> +msmdir = join_paths(libexecdir, 'msm')
>> panfrostdir = join_paths(libexecdir, 'panfrost')
>> v3ddir = join_paths(libexecdir, 'v3d')
>> vc4dir = join_paths(libexecdir, 'vc4')
>> @@ -316,6 +317,12 @@ if get_option('use_rpath')
>> endforeach
>> amdgpudir_rpathdir = join_paths(amdgpudir_rpathdir, libdir)
>>
>> + msm_rpathdir = '$ORIGIN'
>> + foreach p : msmdir.split('/')
>> + msm_rpathdir = join_paths(msm_rpathdir, '..')
>> + endforeach
>> + msm_rpathdir = join_paths(msm_rpathdir, libdir)
>> +
>> panfrost_rpathdir = '$ORIGIN'
>> foreach p : panfrostdir.split('/')
>> panfrost_rpathdir = join_paths(panfrost_rpathdir, '..')
>> @@ -343,6 +350,7 @@ else
>> bindir_rpathdir = ''
>> libexecdir_rpathdir = ''
>> amdgpudir_rpathdir = ''
>> + msm_rpathdir = ''
>> panfrost_rpathdir = ''
>> v3d_rpathdir = ''
>> vc4_rpathdir = ''
>> diff --git a/tests/meson.build b/tests/meson.build
>> index 16896de99..122fbd07c 100644
>> --- a/tests/meson.build
>> +++ b/tests/meson.build
>> @@ -314,14 +314,6 @@ intel_xe_progs = [
>> 'xe_sysfs_scheduler',
>> ]
>>
>> -msm_progs = [
>> - 'msm_mapping',
>> - 'msm_recovery',
>> - 'msm_shrink',
>> - 'msm_submit',
>> - 'msm_submitoverhead',
>> -]
>> -
>> chamelium_progs = [
>> 'kms_chamelium_audio',
>> 'kms_chamelium_color',
>> @@ -424,15 +416,6 @@ foreach prog : intel_progs
>> endif
>> endforeach
>>
>> -foreach prog : msm_progs
>> - test_executables += executable(prog, join_paths('msm', prog + '.c'),
>> - dependencies : test_deps,
>> - install_dir : libexecdir,
>> - install_rpath : libexecdir_rpathdir,
>> - install : true)
>> - test_list += prog
>> -endforeach
>> -
>> if chamelium.found()
>> foreach prog : chamelium_progs
>> testexe = executable(prog,
>> @@ -457,6 +440,8 @@ endif
>>
>> subdir('amdgpu')
>>
>> +subdir('msm')
>> +
>> subdir('panfrost')
>>
>> subdir('v3d')
>> diff --git a/tests/msm/meson.build b/tests/msm/meson.build
>> new file mode 100644
>> index 000000000..74169b5b2
>> --- /dev/null
>> +++ b/tests/msm/meson.build
>> @@ -0,0 +1,16 @@
>> +msm_progs = [
>> + 'msm_mapping',
>> + 'msm_recovery',
>> + 'msm_shrink',
>> + 'msm_submit',
>> + 'msm_submitoverhead',
>> +]
>> +
>> +foreach prog : msm_progs
>> + test_executables += executable(prog, prog + '.c',
>> + dependencies : test_deps,
>> + install_dir : msmdir,
>> + install_rpath : msm_rpathdir,
>> + install : true)
>> + test_list += join_paths('msm', prog)
>> +endforeach
>> --
>> 2.43.2
>>
next prev parent reply other threads:[~2024-06-12 10:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 7:03 [i-g-t V2 0/3] Move non-Intel tests to new directories Bhanuprakash Modem
2024-06-12 7:03 ` [i-g-t V2 1/3] tests/panfrost: Move Panfrost tests to new dir Bhanuprakash Modem
2024-06-18 8:39 ` Kamil Konieczny
2024-06-25 4:56 ` Modem, Bhanuprakash
2024-06-25 9:58 ` Kamil Konieczny
2024-06-12 7:03 ` [i-g-t V2 2/3] tests/msm: Move MSM " Bhanuprakash Modem
2024-06-12 8:59 ` Kamil Konieczny
2024-06-12 10:56 ` Modem, Bhanuprakash [this message]
2024-06-12 12:28 ` Kamil Konieczny
2024-06-13 4:19 ` Modem, Bhanuprakash
2024-06-13 4:23 ` [i-g-t V3 2/3] tests/msm: Generate MSM test bins in " Bhanuprakash Modem
2024-06-12 7:03 ` [i-g-t V2 3/3] tests/intel-ci: Update blocklists Bhanuprakash Modem
2024-06-12 7:55 ` ✓ CI.xeBAT: success for Move non-Intel tests to new directories Patchwork
2024-06-12 8:19 ` ✓ Fi.CI.BAT: " Patchwork
2024-06-12 9:35 ` ✓ CI.xeFULL: " Patchwork
2024-06-12 21:31 ` ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bd489d6-4582-4580-88bb-65c4fe2580e0@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=emma@anholt.net \
--cc=helen.koike@collabora.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=robdclark@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox