public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Das, Nirmoy" <nirmoy.das@linux.intel.com>
To: Karolina Stolarek <karolina.stolarek@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v5 0/6] Introduce blt_cmd_info struct
Date: Tue, 17 Jan 2023 11:51:34 +0100	[thread overview]
Message-ID: <9b1ee1d5-8446-1045-0566-af69147a4918@linux.intel.com> (raw)
In-Reply-To: <cover.1673951674.git.karolina.stolarek@intel.com>


On 1/17/2023 11:39 AM, Karolina Stolarek wrote:
> This patch series introduces a new way of checking if a specific
> tiling format and/or blitter copy command is supported on
> the current platform. Instead of using functions with hardcoded
> devices, now we store information about available features in
> blt_cmd_info struct, each of the instances connected to the
> intel_device_info definitions.

Thanks for doing this, I am not expert in this topic but overall code 
good to me and  this functionality

will be very useful.

Acked-by: Nirmoy Das <nirmoy.das@intel.com for the series.



>
> Two patches that follow the introduction of blt_cmd_info and
> intel_device_info modification are a prep work for the fast
> copy test -- extracting needed functions and updating
> fill_data() to support TileYF (available only for Pre-gen12).
>
> In addition to this, the patchset adds two fast copy tests: basic
> fast-copy where two blit copies are done in separate batches, and
> fast-copy-emit which uses emit_blt_fast_copy() and manually
> crafts two copies in one batch.
>
> v5:
>    - Rebase, fix conflict in gem_ccs.c
>
> v4:
>    - Move the inclusion of igt_core.h to intel_blt_info.c
>      (Kamil/Petri)
>    - Rename __MAX_TILING and __MAX_CMD so they are blitter-specific
>      (Kamil)
>    - Use BIT() macro from intel_chipset.h (Zbigniew)
>    - Check for empty blt_tiling_info in tiling_info(), and warn
>      about it
>    - Change blt_cmd_info declarations in intel_blt_info. Add a
>      separate file for their definitions (intel_tiling_info.c).
>      Update lib/mason.build to reflect that change (Zbigniew)
>    - Remove definitions for ATS-M, as we can reuse dg2's (Zbigniew)
>    - Add EXEC_OBJECT_WRITE flag for dest in fast-copy-emit subtest
>      (Zbigniew)
>
> v3:
>    - Rewrite blt_tiling_type to be contiguous (Zbigniew, Kamil)
>    - Add BLT_BIT macro to create bit flags during .supported_tiling
>      field initialization (Zbigniew)
>    - Undo accidental line deletion in intel_chipset.c (Kamil)
>    - Add __TILING_MAX to blt_tiling_type (Zbigniew)
>    - Use asprintf when creating strings of subtest and PNG files
>      names (Zbigniew)
>    - Delete a duplicate WRITE_PNG call in fast_copy test (Zbigniew)
>    - Update documentation
>    - Update year in copyright headers
>
>
>
> Karolina Stolarek (6):
>    i915/lib: Add new library for blitter and tiling formats
>    lib: Update platform definitions with blitter information
>    lib/i915_blt: Check for Tile-YF in fast_copy
>    lib/i915_blt: Add common functions for blt_copy_object
>    tests/gem_exercise_blt: Add fast-copy test
>    tests/gem_exercise_blt: Add fast-copy-emit test
>
>   .../igt-gpu-tools/igt-gpu-tools-docs.xml      |   1 +
>   lib/i915/i915_blt.c                           | 195 +++++++--
>   lib/i915/i915_blt.h                           |  48 ++-
>   lib/i915/intel_blt_info.c                     | 156 +++++++
>   lib/i915/intel_blt_info.h                     |  93 +++++
>   lib/i915/intel_tiling_info.c                  |  87 ++++
>   lib/intel_chipset.h                           |   4 +
>   lib/intel_device_info.c                       |  47 +++
>   lib/meson.build                               |  14 +-
>   tests/i915/gem_ccs.c                          | 209 +++-------
>   tests/i915/gem_exercise_blt.c                 | 387 ++++++++++++++++++
>   tests/i915/gem_lmem_swapping.c                |  81 +---
>   tests/meson.build                             |   1 +
>   13 files changed, 1058 insertions(+), 265 deletions(-)
>   create mode 100644 lib/i915/intel_blt_info.c
>   create mode 100644 lib/i915/intel_blt_info.h
>   create mode 100644 lib/i915/intel_tiling_info.c
>   create mode 100644 tests/i915/gem_exercise_blt.c
>

  parent reply	other threads:[~2023-01-17 10:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 10:39 [igt-dev] [PATCH i-g-t v5 0/6] Introduce blt_cmd_info struct Karolina Stolarek
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 1/6] i915/lib: Add new library for blitter and tiling formats Karolina Stolarek
2023-01-17 15:45   ` Kamil Konieczny
2023-01-18  7:20     ` Karolina Stolarek
2023-01-18 11:05   ` Zbigniew Kempczyński
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 2/6] lib: Update platform definitions with blitter information Karolina Stolarek
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 3/6] lib/i915_blt: Check for Tile-YF in fast_copy Karolina Stolarek
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 4/6] lib/i915_blt: Add common functions for blt_copy_object Karolina Stolarek
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 5/6] tests/gem_exercise_blt: Add fast-copy test Karolina Stolarek
2023-01-17 10:39 ` [igt-dev] [PATCH i-g-t v5 6/6] tests/gem_exercise_blt: Add fast-copy-emit test Karolina Stolarek
2023-01-17 10:51 ` Das, Nirmoy [this message]
2023-01-17 14:20 ` [igt-dev] ✓ Fi.CI.BAT: success for Introduce blt_cmd_info struct (rev5) Patchwork
2023-01-17 20:28 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-01-18  8:40 ` [igt-dev] [PATCH i-g-t v5 0/6] Introduce blt_cmd_info struct Zbigniew Kempczyński

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=9b1ee1d5-8446-1045-0566-af69147a4918@linux.intel.com \
    --to=nirmoy.das@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karolina.stolarek@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