From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/2] lib/i915_crc: Use graphics version to determine ALU SHL/SHR caps
Date: Wed, 1 Feb 2023 14:26:57 +0100 [thread overview]
Message-ID: <20230201132657.575932-3-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20230201132657.575932-1-zbigniew.kempczynski@intel.com>
Start supporting crc calculations on platforms which contains necessary
ALU instructions.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
lib/i915/i915_crc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/i915/i915_crc.c b/lib/i915/i915_crc.c
index cdd3cef6df..7d68f8e5c4 100644
--- a/lib/i915/i915_crc.c
+++ b/lib/i915/i915_crc.c
@@ -295,5 +295,5 @@ bool supports_i915_crc32(int i915)
{
uint16_t devid = intel_get_drm_devid(i915);
- return IS_DG2(devid);
+ return intel_graphics_ver(devid) > IP_VER(12, 50);
}
--
2.34.1
next prev parent reply other threads:[~2023-02-01 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 13:26 [igt-dev] [PATCH i-g-t 0/2] Unblock crc32 calculation Zbigniew Kempczyński
2023-02-01 13:26 ` [igt-dev] [PATCH i-g-t 1/2] lib/i915_crc: Use system memory buffer on integrated platforms Zbigniew Kempczyński
2023-02-01 15:41 ` Kamil Konieczny
2023-02-01 13:26 ` Zbigniew Kempczyński [this message]
2023-02-01 15:44 ` [igt-dev] [PATCH i-g-t 2/2] lib/i915_crc: Use graphics version to determine ALU SHL/SHR caps Kamil Konieczny
2023-02-02 8:38 ` Zbigniew Kempczyński
2023-02-01 13:57 ` [igt-dev] ✓ Fi.CI.BAT: success for Unblock crc32 calculation Patchwork
2023-02-01 14:59 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-02-01 15:13 ` [igt-dev] [PATCH i-g-t 0/2] " Das, Nirmoy
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=20230201132657.575932-3-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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