* [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl.
@ 2023-11-10 11:07 sai.gowtham.ch
2023-11-10 11:43 ` [igt-dev] ✗ Fi.CI.BUILD: failure for " Patchwork
0 siblings, 1 reply; 6+ messages in thread
From: sai.gowtham.ch @ 2023-11-10 11:07 UTC (permalink / raw)
To: igt-dev, sai.gowtham.ch
From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Add Negative tests for get exec_queue property ioctl.
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
---
tests/intel/xe_exec_queue_property.c | 36 +++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index 4e32aefa5..40546da03 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -4,7 +4,7 @@
*/
/**
- * TEST: Basic tests to check exec_queue set property functionality
+ * TEST: Basic tests to check exec_queue set/get property functionality
* Category: Software building block
* Sub-category: exec queue property
* Functionality: exec queue set property
@@ -108,6 +108,34 @@ static void test_property_min_max(int xe, int engine, const char **property)
test_set_property(xe, property_name, min - 1, -EINVAL);
}
+/**
+ * SUBTEST: Invalid_exec_queue
+ * Description: Negative test to check the expected behaviour with invalid exec_queue_id.
+ * Test category: functionality test
+ */
+static void Invalid_exec_queue_id(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .exec_queue_id = 0xffff,
+ };
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, ENOENT);
+}
+
+/**
+ * SUBTEST: non-zero-reserved
+ * Description: Negative test to check the expected behaviour with non-zero reserved.
+ * Test category: functionality test
+ */
+static void non_zero_reserved(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .reserved[0] = 0xffff,
+ };
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, EINVAL);
+}
+
igt_main
{
static const struct {
@@ -182,6 +210,12 @@ igt_main
}
}
+ igt_subtest("Invalid-exec-queue")
+ Invalid_exec_queue_id(xe);
+
+ igt_subtest("non-zero-reserved")
+ non_zero_reserved(xe);
+
igt_fixture {
xe_device_put(xe);
drm_close_driver(xe);
--
2.39.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] ✗ Fi.CI.BUILD: failure for tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl.
2023-11-10 11:07 [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl sai.gowtham.ch
@ 2023-11-10 11:43 ` Patchwork
0 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2023-11-10 11:43 UTC (permalink / raw)
To: sai.gowtham.ch; +Cc: igt-dev
== Series Details ==
Series: tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl.
URL : https://patchwork.freedesktop.org/series/126266/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
453b9df12fbc9fff561bdb4eb97992983e74c3d4 tests/intel/xe_exec_queue_property: Add scheduler exec queue set property
Tail of build.log:
[1610/1657] Linking target tools/intel_gvtg_test.
[1611/1657] Linking target tools/intel_dp_compliance.
[1612/1657] Linking target tools/intel_residency.
[1613/1657] Linking target runner/testdata/skippers.
[1614/1657] Linking target runner/testdata/successtest.
[1615/1657] Linking target tools/intel_reg_checker.
[1616/1657] Linking target tools/amd_hdmi_compliance.
[1617/1657] Linking target tools/intel_watermark.
[1618/1657] Linking target runner/testdata/abort-simple.
[1619/1657] Linking target runner/igt_runner.
[1620/1657] Linking target tools/intel_vbt_decode.
[1621/1657] Linking target runner/testdata/dynamic.
[1622/1657] Linking target tools/intel_reg.
[1623/1657] Linking target runner/igt_results.
[1624/1657] Linking target runner/testdata/abort-fixture.
[1625/1657] Linking target runner/testdata/abort.
[1626/1657] Linking target tools/lsgpu.
[1627/1657] Generating gem_stress.testlist with a meson_exe.py custom command.
[1628/1657] Linking target runner/testdata/no-subtests.
[1629/1657] Linking target runner/runner_json_test.
[1630/1657] Linking target runner/igt_comms_decoder.
[1631/1657] Linking target tools/intel_l3_parity.
[1632/1657] Linking target tools/msm_dp_compliance.
[1633/1657] Linking target runner/igt_resume.
[1634/1657] Linking target runner/testdata/abort-dynamic.
[1635/1657] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt1.c.o'.
[1636/1657] Compiling C object 'runner/527aa9f@@runner_test@exe/runner_tests.c.o'.
[1637/1657] Linking target runner/runner_test.
[1638/1657] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt2.c.o'.
[1639/1657] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt3.c.o'.
[1640/1657] Linking target lib/libi915_perf.so.1.5.
[1641/1657] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[1642/1657] Linking target tools/i915-perf/i915-perf-configs.
[1643/1657] Linking target tools/i915-perf/i915-perf-recorder.
[1644/1657] Linking target tools/i915-perf/i915-perf-reader.
[1645/1657] Linking target tests/gem_barrier_race.
[1646/1657] Linking target tests/perf.
[1647/1657] Linking target tests/core_hotunplug.
[1648/1657] Generating gem_barrier_race.testlist with a meson_exe.py custom command.
[1649/1657] Generating core_hotunplug.testlist with a meson_exe.py custom command.
[1650/1657] Generating perf.testlist with a meson_exe.py custom command.
[1651/1657] Generating xe_tests.rst with a custom command.
FAILED: docs/testplan/xe_tests.rst
/usr/src/igt-gpu-tools/scripts/igt_doc.py --config /usr/src/igt-gpu-tools/tests/intel/xe_test_config.json --rest docs/testplan/xe_tests.rst --check-testlist --igt-build-path /opt/igt/build
Warning: Documented igt@xe_exec_queue_property@Invalid_exec_queue doesn't exist on source files
Warning: Missing documentation for igt@xe_exec_queue_property@Invalid-exec-queue
Please refer: docs/test_documentation.md for more details
[1652/1657] Generating i915_tests.rst with a custom command.
[1653/1657] Generating kms_tests.rst with a custom command.
ninja: build stopped: subcommand failed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl
@ 2023-11-14 6:15 sai.gowtham.ch
0 siblings, 0 replies; 6+ messages in thread
From: sai.gowtham.ch @ 2023-11-14 6:15 UTC (permalink / raw)
To: igt-dev, sai.gowtham.ch
From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Add Negative tests for get exec_queue property ioctl.
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
---
tests/intel/xe_exec_queue_property.c | 36 +++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index 4e32aefa5..bdd0648b9 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -4,7 +4,7 @@
*/
/**
- * TEST: Basic tests to check exec_queue set property functionality
+ * TEST: Basic tests to check exec_queue set/get property functionality
* Category: Software building block
* Sub-category: exec queue property
* Functionality: exec queue set property
@@ -108,6 +108,34 @@ static void test_property_min_max(int xe, int engine, const char **property)
test_set_property(xe, property_name, min - 1, -EINVAL);
}
+/**
+ * SUBTEST: Invalid-exec-queue
+ * Description: Negative test to check the expected behaviour with invalid exec_queue_id.
+ * Test category: functionality test
+ */
+static void Invalid_exec_queue_id(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .exec_queue_id = 0xffff,
+ };
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, ENOENT);
+}
+
+/**
+ * SUBTEST: non-zero-reserved
+ * Description: Negative test to check the expected behaviour with non-zero reserved.
+ * Test category: functionality test
+ */
+static void non_zero_reserved(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .reserved[0] = 0xffff,
+ };
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, EINVAL);
+}
+
igt_main
{
static const struct {
@@ -182,6 +210,12 @@ igt_main
}
}
+ igt_subtest("Invalid-exec-queue")
+ Invalid_exec_queue_id(xe);
+
+ igt_subtest("non-zero-reserved")
+ non_zero_reserved(xe);
+
igt_fixture {
xe_device_put(xe);
drm_close_driver(xe);
--
2.39.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl
@ 2023-11-14 12:28 sai.gowtham.ch
2023-11-14 15:50 ` Kumar, Janga Rahul
2023-11-15 10:24 ` Kamil Konieczny
0 siblings, 2 replies; 6+ messages in thread
From: sai.gowtham.ch @ 2023-11-14 12:28 UTC (permalink / raw)
To: igt-dev, sai.gowtham.ch
From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Add Negative tests for get exec_queue property ioctl.
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
---
tests/intel/xe_exec_queue_property.c | 77 +++++++++++++++++++++++++++-
1 file changed, 76 insertions(+), 1 deletion(-)
diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index 4e32aefa5..5278304be 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -4,7 +4,7 @@
*/
/**
- * TEST: Basic tests to check exec_queue set property functionality
+ * TEST: Basic tests to check exec_queue set/get property functionality
* Category: Software building block
* Sub-category: exec queue property
* Functionality: exec queue set property
@@ -108,6 +108,72 @@ static void test_property_min_max(int xe, int engine, const char **property)
test_set_property(xe, property_name, min - 1, -EINVAL);
}
+/**
+ * SUBTEST: Invalid-exec-queue
+ * Description: Negative test to check the expected behaviour with invalid exec_queue_id.
+ * Test category: functionality test
+ */
+static void Invalid_exec_queue_id(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .exec_queue_id = 0xffff,
+ .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
+ };
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, ENOENT);
+}
+
+/**
+ * SUBTEST: non-zero-reserved
+ * Description: Negative test to check the expected behaviour with non-zero reserved.
+ * Test category: functionality test
+ */
+static void non_zero_reserved(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .reserved[0] = 0xffff,
+ .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
+ };
+ uint32_t vm;
+ uint32_t exec_queue;
+
+ vm = xe_vm_create(xe, 0, 0);
+ exec_queue = xe_exec_queue_create_class(xe, vm, DRM_XE_ENGINE_CLASS_COPY);
+ args.exec_queue_id = exec_queue;
+
+ do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, EINVAL);
+
+ xe_exec_queue_destroy(xe, exec_queue);
+ xe_vm_destroy(xe, vm);
+}
+
+/**
+ * SUBTEST: invalid-value
+ * Description: Check if get property value works fine.
+ * Test category: functionality test
+ */
+static void invalid_value(int xe)
+{
+ struct drm_xe_exec_queue_get_property args = {
+ .value = -1,
+ .reserved[0] = 0,
+ .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
+ };
+
+ uint32_t exec_queue;
+ uint32_t vm;
+
+ vm = xe_vm_create(xe, 0, 0);
+ exec_queue = xe_exec_queue_create_class(xe, vm, DRM_XE_ENGINE_CLASS_COPY);
+ args.exec_queue_id = exec_queue;
+
+ do_ioctl(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args);
+ igt_assert(args.value == 0);
+
+ xe_exec_queue_destroy(xe, exec_queue);
+ xe_vm_destroy(xe, vm);
+}
+
igt_main
{
static const struct {
@@ -182,6 +248,15 @@ igt_main
}
}
+ igt_subtest("Invalid-exec-queue")
+ Invalid_exec_queue_id(xe);
+
+ igt_subtest("non-zero-reserved")
+ non_zero_reserved(xe);
+
+ igt_subtest("invalid-value")
+ invalid_value(xe);
+
igt_fixture {
xe_device_put(xe);
drm_close_driver(xe);
--
2.39.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl
2023-11-14 12:28 sai.gowtham.ch
@ 2023-11-14 15:50 ` Kumar, Janga Rahul
2023-11-15 10:24 ` Kamil Konieczny
1 sibling, 0 replies; 6+ messages in thread
From: Kumar, Janga Rahul @ 2023-11-14 15:50 UTC (permalink / raw)
To: Ch, Sai Gowtham, igt-dev@lists.freedesktop.org, Ch, Sai Gowtham
> -----Original Message-----
> From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of
> sai.gowtham.ch@intel.com
> Sent: Tuesday, November 14, 2023 5:58 PM
> To: igt-dev@lists.freedesktop.org; Ch, Sai Gowtham
> <sai.gowtham.ch@intel.com>
> Subject: [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative
> tests for get exec_queue property ioctl
>
> From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
>
> Add Negative tests for get exec_queue property ioctl.
>
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
> ---
> tests/intel/xe_exec_queue_property.c | 77 +++++++++++++++++++++++++++-
> 1 file changed, 76 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_exec_queue_property.c
> b/tests/intel/xe_exec_queue_property.c
> index 4e32aefa5..5278304be 100644
> --- a/tests/intel/xe_exec_queue_property.c
> +++ b/tests/intel/xe_exec_queue_property.c
> @@ -4,7 +4,7 @@
> */
>
> /**
> - * TEST: Basic tests to check exec_queue set property functionality
> + * TEST: Basic tests to check exec_queue set/get property functionality
> * Category: Software building block
> * Sub-category: exec queue property
> * Functionality: exec queue set property @@ -108,6 +108,72 @@ static void
> test_property_min_max(int xe, int engine, const char **property)
> test_set_property(xe, property_name, min - 1, -EINVAL); }
>
> +/**
> + * SUBTEST: Invalid-exec-queue
> + * Description: Negative test to check the expected behaviour with invalid
> exec_queue_id.
> + * Test category: functionality test
> + */
> +static void Invalid_exec_queue_id(int xe) {
> + struct drm_xe_exec_queue_get_property args = {
> + .exec_queue_id = 0xffff,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> +
> + do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY,
> &args, ENOENT);
> +}
> +
> +/**
> + * SUBTEST: non-zero-reserved
> + * Description: Negative test to check the expected behaviour with non-zero
> reserved.
> + * Test category: functionality test
> + */
> +static void non_zero_reserved(int xe)
> +{
> + struct drm_xe_exec_queue_get_property args = {
> + .reserved[0] = 0xffff,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> + uint32_t vm;
> + uint32_t exec_queue;
> +
> + vm = xe_vm_create(xe, 0, 0);
> + exec_queue = xe_exec_queue_create_class(xe, vm,
> DRM_XE_ENGINE_CLASS_COPY);
> + args.exec_queue_id = exec_queue;
> +
> + do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY,
> &args, EINVAL);
> +
> + xe_exec_queue_destroy(xe, exec_queue);
> + xe_vm_destroy(xe, vm);
> +}
> +
> +/**
> + * SUBTEST: invalid-value
This looks like a basic test more than a negative test. Pls update the test name wherever required.
With that change,
Reviewed-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
> + * Description: Check if get property value works fine.
> + * Test category: functionality test
> + */
> +static void invalid_value(int xe)
> +{
> + struct drm_xe_exec_queue_get_property args = {
> + .value = -1,
> + .reserved[0] = 0,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> +
> + uint32_t exec_queue;
> + uint32_t vm;
> +
> + vm = xe_vm_create(xe, 0, 0);
> + exec_queue = xe_exec_queue_create_class(xe, vm,
> DRM_XE_ENGINE_CLASS_COPY);
> + args.exec_queue_id = exec_queue;
> +
> + do_ioctl(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args);
> + igt_assert(args.value == 0);
> +
> + xe_exec_queue_destroy(xe, exec_queue);
> + xe_vm_destroy(xe, vm);
> +}
> +
> igt_main
> {
> static const struct {
> @@ -182,6 +248,15 @@ igt_main
> }
> }
>
> + igt_subtest("Invalid-exec-queue")
> + Invalid_exec_queue_id(xe);
> +
> + igt_subtest("non-zero-reserved")
> + non_zero_reserved(xe);
> +
> + igt_subtest("invalid-value")
> + invalid_value(xe);
> +
> igt_fixture {
> xe_device_put(xe);
> drm_close_driver(xe);
> --
> 2.39.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl
2023-11-14 12:28 sai.gowtham.ch
2023-11-14 15:50 ` Kumar, Janga Rahul
@ 2023-11-15 10:24 ` Kamil Konieczny
1 sibling, 0 replies; 6+ messages in thread
From: Kamil Konieczny @ 2023-11-15 10:24 UTC (permalink / raw)
To: igt-dev
Hi sai.gowtham.ch,
On 2023-11-14 at 17:58:10 +0530, sai.gowtham.ch@intel.com wrote:
> From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
>
> Add Negative tests for get exec_queue property ioctl.
>
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Thank you for patch, did you address Rahul comment?
Regards,
Kamil
> ---
> tests/intel/xe_exec_queue_property.c | 77 +++++++++++++++++++++++++++-
> 1 file changed, 76 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
> index 4e32aefa5..5278304be 100644
> --- a/tests/intel/xe_exec_queue_property.c
> +++ b/tests/intel/xe_exec_queue_property.c
> @@ -4,7 +4,7 @@
> */
>
> /**
> - * TEST: Basic tests to check exec_queue set property functionality
> + * TEST: Basic tests to check exec_queue set/get property functionality
> * Category: Software building block
> * Sub-category: exec queue property
> * Functionality: exec queue set property
> @@ -108,6 +108,72 @@ static void test_property_min_max(int xe, int engine, const char **property)
> test_set_property(xe, property_name, min - 1, -EINVAL);
> }
>
> +/**
> + * SUBTEST: Invalid-exec-queue
> + * Description: Negative test to check the expected behaviour with invalid exec_queue_id.
> + * Test category: functionality test
> + */
> +static void Invalid_exec_queue_id(int xe)
> +{
> + struct drm_xe_exec_queue_get_property args = {
> + .exec_queue_id = 0xffff,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> +
> + do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, ENOENT);
> +}
> +
> +/**
> + * SUBTEST: non-zero-reserved
> + * Description: Negative test to check the expected behaviour with non-zero reserved.
> + * Test category: functionality test
> + */
> +static void non_zero_reserved(int xe)
> +{
> + struct drm_xe_exec_queue_get_property args = {
> + .reserved[0] = 0xffff,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> + uint32_t vm;
> + uint32_t exec_queue;
> +
> + vm = xe_vm_create(xe, 0, 0);
> + exec_queue = xe_exec_queue_create_class(xe, vm, DRM_XE_ENGINE_CLASS_COPY);
> + args.exec_queue_id = exec_queue;
> +
> + do_ioctl_err(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args, EINVAL);
> +
> + xe_exec_queue_destroy(xe, exec_queue);
> + xe_vm_destroy(xe, vm);
> +}
> +
> +/**
> + * SUBTEST: invalid-value
> + * Description: Check if get property value works fine.
> + * Test category: functionality test
> + */
> +static void invalid_value(int xe)
> +{
> + struct drm_xe_exec_queue_get_property args = {
> + .value = -1,
> + .reserved[0] = 0,
> + .property = XE_EXEC_QUEUE_GET_PROPERTY_BAN,
> + };
> +
> + uint32_t exec_queue;
> + uint32_t vm;
> +
> + vm = xe_vm_create(xe, 0, 0);
> + exec_queue = xe_exec_queue_create_class(xe, vm, DRM_XE_ENGINE_CLASS_COPY);
> + args.exec_queue_id = exec_queue;
> +
> + do_ioctl(xe, DRM_IOCTL_XE_EXEC_QUEUE_GET_PROPERTY, &args);
> + igt_assert(args.value == 0);
> +
> + xe_exec_queue_destroy(xe, exec_queue);
> + xe_vm_destroy(xe, vm);
> +}
> +
> igt_main
> {
> static const struct {
> @@ -182,6 +248,15 @@ igt_main
> }
> }
>
> + igt_subtest("Invalid-exec-queue")
> + Invalid_exec_queue_id(xe);
> +
> + igt_subtest("non-zero-reserved")
> + non_zero_reserved(xe);
> +
> + igt_subtest("invalid-value")
> + invalid_value(xe);
> +
> igt_fixture {
> xe_device_put(xe);
> drm_close_driver(xe);
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-11-15 10:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 11:07 [igt-dev] [PATCH i-g-t] tests/intel/xe_exec_queue_property: Negative tests for get exec_queue property ioctl sai.gowtham.ch
2023-11-10 11:43 ` [igt-dev] ✗ Fi.CI.BUILD: failure for " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2023-11-14 6:15 [igt-dev] [PATCH i-g-t] " sai.gowtham.ch
2023-11-14 12:28 sai.gowtham.ch
2023-11-14 15:50 ` Kumar, Janga Rahul
2023-11-15 10:24 ` Kamil Konieczny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox