From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/2] build: Remove xe_driver options
Date: Mon, 15 Jan 2024 08:14:49 +0100 [thread overview]
Message-ID: <20240115081449.758afc65@maurocar-mobl2> (raw)
In-Reply-To: <20240111213358.1656641-2-lucas.demarchi@intel.com>
On Thu, 11 Jan 2024 13:33:58 -0800
Lucas De Marchi <lucas.demarchi@intel.com> wrote:
> Always build with xe tests.
IMO patch 1 is enough.
I mean, having an option to disable drivers on IGT doesn't seem a bad idea...
I would instead add something similar to disable i915_driver in the future,
as this could allow faster builds when just one driver is needed.
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Anyway, if you don't agree, you may add my Acked-by.
> ---
> docs/testplan/meson.build | 17 +++++------------
> meson.build | 1 -
> meson_options.txt | 5 -----
> tests/meson.build | 5 +----
> 4 files changed, 6 insertions(+), 22 deletions(-)
>
> diff --git a/docs/testplan/meson.build b/docs/testplan/meson.build
> index 9e0c3aee0..e027e41ed 100644
> --- a/docs/testplan/meson.build
> +++ b/docs/testplan/meson.build
> @@ -31,18 +31,11 @@ else
> doc_dependencies = []
> endif
>
> -if build_xe
> - test_dict = {
> - 'i915_tests': { 'input': i915_test_config, 'extra_args': check_testlist },
> - 'kms_tests': { 'input': kms_test_config, 'extra_args': kms_check_testlist },
> - 'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist }
> - }
> -else
> - test_dict = {
> - 'i915_tests': { 'input': i915_test_config, 'extra_args': check_testlist },
> - 'kms_tests': { 'input': kms_test_config, 'extra_args': kms_check_testlist }
> - }
> -endif
> +test_dict = {
> + 'i915_tests': { 'input': i915_test_config, 'extra_args': check_testlist },
> + 'kms_tests': { 'input': kms_test_config, 'extra_args': kms_check_testlist },
> + 'xe_tests': { 'input': xe_test_config, 'extra_args': check_testlist }
> +}
>
> foreach testplan, fields: test_dict
> rst = custom_target(testplan + '.rst',
> diff --git a/meson.build b/meson.build
> index b35a00faa..a16fdbc46 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -85,7 +85,6 @@ endforeach
> build_chamelium = get_option('chamelium')
> build_docs = get_option('docs')
> build_tests = not get_option('tests').disabled()
> -build_xe = not get_option('xe_driver').disabled()
> with_libdrm = get_option('libdrm_drivers')
>
> build_info = ['Build type: ' + get_option('buildtype')]
> diff --git a/meson_options.txt b/meson_options.txt
> index 6a9493ea6..2cb44f201 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -37,11 +37,6 @@ option('tests',
> type : 'feature',
> description : 'Build tests')
>
> -option('xe_driver',
> - type : 'feature',
> - value : 'enabled',
> - description : 'Build tests for Xe driver')
> -
> option('libdrm_drivers',
> type : 'array',
> value : ['auto'],
> diff --git a/tests/meson.build b/tests/meson.build
> index a6a8498e2..f783903f5 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -401,10 +401,7 @@ endforeach
>
> intel_progs = intel_i915_xe_progs
> intel_progs += intel_i915_progs + intel_kms_progs
> -if build_xe
> - build_info += 'Xe **experimental** tests enabled.'
> - intel_progs += intel_xe_progs
> -endif
> +intel_progs += intel_xe_progs
>
> foreach prog : intel_progs
> testexe = executable(prog,
next prev parent reply other threads:[~2024-01-15 7:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 21:33 [PATCH i-g-t 1/2] build: Build xe tests by default Lucas De Marchi
2024-01-11 21:33 ` [PATCH i-g-t 2/2] build: Remove xe_driver options Lucas De Marchi
2024-01-12 10:31 ` Kamil Konieczny
2024-01-15 7:14 ` Mauro Carvalho Chehab [this message]
2024-01-11 22:15 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] build: Build xe tests by default Patchwork
2024-01-11 23:30 ` ✗ CI.xeBAT: failure " Patchwork
2024-01-15 13:23 ` Kamil Konieczny
2024-01-12 2:51 ` ✗ Fi.CI.IGT: " Patchwork
2024-01-15 13:39 ` Kamil Konieczny
2024-01-12 10:28 ` [PATCH i-g-t 1/2] " Kamil Konieczny
2024-01-15 7:15 ` Mauro Carvalho Chehab
2024-01-15 15:21 ` Kamil Konieczny
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=20240115081449.758afc65@maurocar-mobl2 \
--to=mauro.chehab@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
/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