From: Karolina Stolarek <karolina.stolarek@intel.com>
To: <sai.gowtham.ch@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/4] lib/intel_reg: Add copy commands in the lib
Date: Mon, 18 Sep 2023 11:01:46 +0200 [thread overview]
Message-ID: <c97fafe2-07e0-9c8d-bb7d-448bbcc78a6c@intel.com> (raw)
In-Reply-To: <20230915051617.9361-3-sai.gowtham.ch@intel.com>
On 15.09.2023 07:16, sai.gowtham.ch@intel.com wrote:
> From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
>
> Add memory copy and set commands to the lib.
>
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
> ---
> lib/intel_reg.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/lib/intel_reg.h b/lib/intel_reg.h
> index 3bf3676dc..322aec9fd 100644
> --- a/lib/intel_reg.h
> +++ b/lib/intel_reg.h
> @@ -2564,6 +2564,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>
> #define XY_FAST_COLOR_BLT ((0x2<<29)|(0x44<<22)|0xe)
>
> +/* RAW memory commands */
> +#define MEM_COPY_CMD ((0x2 << 29)|(0x5a << 22)|0x8)
> +#define MEM_SET_CMD ((0x2 << 29)|(0x5b << 22)|0x5)
> +
This is inserted in the middle of BLT commands and their arguments.
Could you move it so it's either before the BLT block or after
XY_FAST_COPY_COLOR_DEPTH_128?
Many thanks,
Karolina
> #define XY_FAST_COPY_BLT ((2<<29)|(0x42<<22)|0x8)
> /* dword 0 */
> #define XY_FAST_COPY_SRC_TILING_LINEAR (0 << 20)
next prev parent reply other threads:[~2023-09-18 9:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 5:16 [igt-dev] [PATCH i-g-t 0/4] Add copy basic test to exercise blt commands sai.gowtham.ch
2023-09-15 5:16 ` [igt-dev] [PATCH i-g-t 1/4] lib/intel_cmds_info: Add copy commands to blt_cmd_type sai.gowtham.ch
2023-09-18 8:54 ` Karolina Stolarek
2023-09-15 5:16 ` [igt-dev] [PATCH i-g-t 2/4] lib/intel_reg: Add copy commands in the lib sai.gowtham.ch
2023-09-18 9:01 ` Karolina Stolarek [this message]
2023-09-15 5:16 ` [igt-dev] [PATCH i-g-t 3/4] lib/intel_blt: Add wrappers to prepare batch buffers and submit exec sai.gowtham.ch
2023-09-18 9:56 ` Karolina Stolarek
2023-09-15 5:16 ` [igt-dev] [PATCH i-g-t 4/4] intel/xe_copy_basic: Add copy basic test to exercise blt commands sai.gowtham.ch
2023-09-18 8:40 ` Zbigniew Kempczyński
2023-09-18 10:47 ` Karolina Stolarek
2023-09-18 11:08 ` Zbigniew Kempczyński
2023-09-15 6:08 ` [igt-dev] ✓ CI.xeBAT: success for Add copy basic test to exercise blt commands (rev3) Patchwork
2023-09-15 6:14 ` [igt-dev] ✗ Fi.CI.BAT: failure " 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=c97fafe2-07e0-9c8d-bb7d-448bbcc78a6c@intel.com \
--to=karolina.stolarek@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=sai.gowtham.ch@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