[PATCH i-g-t v6 6/6] tests/gem_gpgpu_fill: Add offset-16x16 subtest
Grzegorzek, Dominik
dominik.grzegorzek at intel.com
Fri Nov 22 07:50:44 UTC 2024
On Fri, 2024-11-22 at 08:29 +0100, Zbigniew Kempczyński wrote:
> Add subtest which verifies rectangle filled by pattern starts at
> offset <x,y> == <16,16>.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
Reviwewd-by: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
> ---
> tests/intel/gem_gpgpu_fill.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/tests/intel/gem_gpgpu_fill.c b/tests/intel/gem_gpgpu_fill.c
> index ec34e95844..961e075d08 100644
> --- a/tests/intel/gem_gpgpu_fill.c
> +++ b/tests/intel/gem_gpgpu_fill.c
> @@ -58,6 +58,10 @@
> * Feature: compute
> *
> * SUBTEST: basic
> + * Description: run gpgpu fill
> + *
> + * SUBTEST: offset-16x16
> + * Description: run gpgpu fill with <x,y> start position == <16,16>
> */
>
> #define WIDTH 64
> @@ -239,6 +243,14 @@ igt_main_args("dW:H:X:Y:", NULL, help_str, opt_handler, NULL)
> }
> }
>
> + igt_subtest("offset-16x16") {
> + gpgpu_fill(&data, fill_fn, 0,
> + surfwidth, surfheight,
> + 16, 16,
> + surfwidth / 2,
> + surfheight / 2);
> + }
> +
> igt_fixture {
> igt_collection_destroy(region_set);
> free(region_info);
More information about the igt-dev
mailing list