Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: janga.rahul.kumar@intel.com
To: igt-dev@lists.freedesktop.org, ramadevi.gandi@intel.com,
	janga.rahul.kumar@intel.com
Subject: [igt-dev] [PATCH i-g-t] lib/intel_compute: Fix Incorrect array size for XEHPC platforms
Date: Thu, 21 Sep 2023 02:16:32 +0530	[thread overview]
Message-ID: <20230920204632.730526-1-janga.rahul.kumar@intel.com> (raw)

From: Janga Rahul Kumar <janga.rahul.kumar@intel.com>

Correct the STATE_BASE_ADDRESS Instruction data size.

Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 lib/intel_compute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/intel_compute.c b/lib/intel_compute.c
index 4f6716d23..0c30f39c1 100644
--- a/lib/intel_compute.c
+++ b/lib/intel_compute.c
@@ -1030,7 +1030,7 @@ static void xehpc_compute_exec(int fd, const unsigned char *kernel,
 			       unsigned int size)
 {
 #define XEHPC_BO_DICT_ENTRIES 6
-	struct bo_dict_entry bo_dict[XEHP_BO_DICT_ENTRIES] = {
+	struct bo_dict_entry bo_dict[XEHPC_BO_DICT_ENTRIES] = {
 		{ .addr = XEHP_ADDR_INSTRUCTION_STATE_BASE + OFFSET_KERNEL,
 		  .name = "instr state base"},
 		{ .addr = XEHP_ADDR_GENERAL_STATE_BASE + OFFSET_INDIRECT_DATA_START,
-- 
2.25.1

             reply	other threads:[~2023-09-20 20:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 20:46 janga.rahul.kumar [this message]
2023-09-20 23:28 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/intel_compute: Fix Incorrect array size for XEHPC platforms Patchwork
2023-09-21  0:11 ` [igt-dev] ✗ CI.xeBAT: failure " Patchwork
2023-09-21  7:14 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2023-09-22  8:55 ` [igt-dev] [PATCH i-g-t] " 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=20230920204632.730526-1-janga.rahul.kumar@intel.com \
    --to=janga.rahul.kumar@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ramadevi.gandi@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