[igt-dev] [PATCH i-g-t 1/2] lib/intel_batchbuffer: Add Meteorlake gpgpu fill entry
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Sep 13 14:24:16 UTC 2023
From: Arjun Melkaveri <arjun.melkaveri at intel.com>
Meteorlake is using XeHP pipeline for gpgpu fill so it must be
added first as it is an exception in newer platforms condition.
Signed-off-by: Arjun Melkaveri <arjun.melkaveri at intel.com>
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
---
lib/intel_batchbuffer.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 682c0fe1d2..e7b1b755fd 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -755,7 +755,9 @@ igt_fillfunc_t igt_get_gpgpu_fillfunc(int devid)
{
igt_fillfunc_t fill = NULL;
- if (intel_graphics_ver(devid) >= IP_VER(12, 60))
+ if (IS_METEORLAKE(devid))
+ fill = xehp_gpgpu_fillfunc;
+ else if (intel_graphics_ver(devid) >= IP_VER(12, 60))
fill = xehpc_gpgpu_fillfunc;
else if (intel_graphics_ver(devid) >= IP_VER(12, 50))
fill = xehp_gpgpu_fillfunc;
--
2.34.1
More information about the igt-dev
mailing list