tests/i915/gem_caching: Used XY_FAST_COPY_BLT for executing this on MTL
PATCH 1/1 tests/i915/gem_caching: Used XY_FAST_COPY_BLT for executing this on MTL
From: Arjun Melkaveri <[email protected]>
Test case uses legacy command which is not supported on MTL. Modified test to use XY_FAST_COPY_BLT.
--- tests/i915/gem_caching.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)
tests/i915/gem_caching.c +13 -9
@@ -82,15 +82,19 @@ copy_bo(struct intel_bb *ibb, struct intel_buf *src, struct intel_buf *dst)intel_bb_add_intel_buf (ibb, src, false);intel_bb_add_intel_buf (ibb, dst, true); -intel_bb_out (ibb, -XY_SRC_COPY_BLT_CMD | -XY_SRC_COPY_BLT_WRITE_ALPHA | -XY_SRC_COPY_BLT_WRITE_RGB | - (6 +2 * has_64b_reloc)); - -intel_bb_out (ibb, (3 <<24 ) |/* 32 bits */ - (0xcc <<16 ) |/* copy ROP */ -4096 ); +if (intel_graphics_ver (ibb->devid) >=IP_VER (12 ,60 )) { +intel_bb_out (ibb,XY_FAST_COPY_BLT ); +intel_bb_out (ibb,XY_FAST_COPY_COLOR_DEPTH_32 |4096 ); + }else { +intel_bb_out (ibb, +XY_SRC_COPY_BLT_CMD | +XY_SRC_COPY_BLT_WRITE_ALPHA | +XY_SRC_COPY_BLT_WRITE_RGB | + (6 +2 * has_64b_reloc)); +intel_bb_out (ibb, (3 <<24 ) |/* 32 bits */ + (0xcc <<16 ) |/* copy ROP */ +4096 ); + }intel_bb_out (ibb,0 <<16 |0 );intel_bb_out (ibb, (BO_SIZE /4096 ) <<16 |1024 ); intel_bb_emit_reloc_fenced(ibb, dst->handle,
Signature · 1 line
2.25.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_caching: Used XY_FAST_COPY_BLT for executing this on MTL
== Series Details ==
== Series Details ==
Series: tests/i915/gem_caching: Used XY_FAST_COPY_BLT for executing this on MTL
URL : https://patchwork.freedesktop.org/series/111333/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12434 -> IGTPW_8154
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/index.html
Participating hosts (36 -> 38)
------------------------------
Additional (4): fi-cml-u2 fi-bdw-gvtdvm fi-cfl-guc bat-dg1-6
Missing (2): fi-ctg-p8600 fi-rkl-11600
Known issues
------------
Here are the changes found in IGTPW_8154 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- fi-cml-u2: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-cml-u2: NOTRUN -> [SKIP][2] ([i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-cfl-guc: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cfl-guc/igt@[email protected]
- fi-cml-u2: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg1-6: NOTRUN -> [SKIP][5] ([i915#4083])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][6] ([i915#4079]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][7] ([i915#4077]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- bat-dg1-6: NOTRUN -> [SKIP][8] ([i915#7561])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg1-6: NOTRUN -> [SKIP][9] ([i915#6621])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][10] -> [INCOMPLETE][11] ([i915#4785])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/fi-hsw-4770/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- fi-bsw-kefka: [PASS][12] -> [INCOMPLETE][13] ([i915#4817])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/fi-bsw-kefka/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-bsw-kefka/igt@[email protected]
- fi-bdw-gvtdvm: NOTRUN -> [INCOMPLETE][14] ([i915#146])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-bdw-gvtdvm/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-6: NOTRUN -> [SKIP][15] ([i915#4215])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg1-6: NOTRUN -> [SKIP][16] ([i915#4212]) +7 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- bat-adlp-4: NOTRUN -> [SKIP][17] ([fdo#111827])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-adlp-4/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-cfl-guc: NOTRUN -> [SKIP][18] ([fdo#109271] / [fdo#111827]) +8 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cfl-guc/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- bat-dg1-6: NOTRUN -> [SKIP][19] ([fdo#111827]) +8 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][20] ([fdo#109271] / [fdo#111827]) +7 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-bdw-gvtdvm/igt@[email protected]
* igt@kms_chamelium@vga-hpd-fast:
- fi-cml-u2: NOTRUN -> [SKIP][21] ([fdo#109284] / [fdo#111827]) +8 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-cml-u2: NOTRUN -> [SKIP][22] ([i915#4213])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
- bat-dg1-6: NOTRUN -> [SKIP][23] ([i915#4103] / [i915#4213])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@kms_flip@basic-plain-flip:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][24] ([fdo#109271]) +38 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-bdw-gvtdvm/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-cml-u2: NOTRUN -> [SKIP][25] ([fdo#109285])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
- bat-dg1-6: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-adlp-4: NOTRUN -> [SKIP][27] ([i915#3546])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-adlp-4/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-dg1-6: NOTRUN -> [SKIP][28] ([i915#1072] / [i915#4078]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg1-6: NOTRUN -> [SKIP][29] ([i915#3555])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
- fi-cml-u2: NOTRUN -> [SKIP][30] ([i915#3555])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
* igt@prime_vgem@basic-gtt:
- bat-dg1-6: NOTRUN -> [SKIP][31] ([i915#3708] / [i915#4077]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-dg1-6: NOTRUN -> [SKIP][32] ([i915#3708]) +3 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-cfl-guc: NOTRUN -> [SKIP][33] ([fdo#109271]) +9 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cfl-guc/igt@[email protected]
- fi-cml-u2: NOTRUN -> [SKIP][34] ([fdo#109295] / [i915#3301])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-cml-u2/igt@[email protected]
- bat-dg1-6: NOTRUN -> [SKIP][35] ([i915#3708] / [i915#4873])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-dg1-6/igt@[email protected]
* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][36] ([fdo#109271] / [i915#4312] / [i915#5594])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0@smem:
- {bat-rplp-1}: [DMESG-WARN][37] ([i915#2867]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rplp-1/igt@gem_exec_suspend@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-rplp-1/igt@gem_exec_suspend@[email protected]
- {fi-ehl-2}: [DMESG-WARN][39] ([i915#5122]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/fi-ehl-2/igt@gem_exec_suspend@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-ehl-2/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@migrate:
- bat-adlp-4: [INCOMPLETE][41] ([i915#7308] / [i915#7348]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-adlp-4/igt@i915_selftest@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-adlp-4/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- {bat-rpls-1}: [INCOMPLETE][43] ([i915#4983] / [i915#6257]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rpls-1/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/bat-rpls-1/igt@i915_selftest@[email protected]
#### Warnings ####
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][45] ([i915#7229]) -> [SKIP][46] ([fdo#109271])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/fi-pnv-d510/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/fi-pnv-d510/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5594]: https://gitlab.freedesktop.org/drm/intel/issues/5594
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#6434]: https://gitlab.freedesktop.org/drm/intel/issues/6434
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7308]: https://gitlab.freedesktop.org/drm/intel/issues/7308
[i915#7346]: https://gitlab.freedesktop.org/drm/intel/issues/7346
[i915#7348]: https://gitlab.freedesktop.org/drm/intel/issues/7348
[i915#7359]: https://gitlab.freedesktop.org/drm/intel/issues/7359
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7072 -> IGTPW_8154
CI-20190529: 20190529
CI_DRM_12434: 985931f189852e505af573997ddbf63bfbe2570b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8154: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/index.html
IGT_7072: 69ba7163475925cdc69aebbdfa0e87453ae165c7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8154/index.html
Hi Vikas,
You can update the commit message like below, better not to use past tense for commit message description.
Like:- Enable XY_FAST_COPY_BLT for MTL platform.
Thanks & Regards,
Sinjan
Quoted 58 lines
-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of Vikas Srivastava
Sent: Friday, November 25, 2022 3:12 PM
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t] tests/i915/gem_caching: UsedXY_FAST_COPY_BLTfor executing this on MTLFrom: Arjun Melkaveri <[email protected]>
Test case uses legacy command which is not supported on MTL. Modified test to use
XY_FAST_COPY_BLT.Cc Prasad Nallani <[email protected]>Cc Telukuntla Sreedhar <[email protected]>Signed-off-by Arjun Melkaveri <[email protected]>Signed-off-by Vikas Srivastava <[email protected]>--- tests/i915/gem_caching.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)tests/i915/gem_caching.c index renamed from tests/i915/gem_caching.c +0
-0
eb0170abc..a818a53c2100644tests/i915/gem_caching.c +13
-9@@ -82,15 +82,19 @@ copy_bo(struct intel_bb *ibb, struct intel_buf *src, struct intel_buf *dst)intel_bb_add_intel_buf (ibb ,src ,false );intel_bb_add_intel_buf (ibb, dst, true); -intel_bb_out (ibb, -XY_SRC_COPY_BLT_CMD | -XY_SRC_COPY_BLT_WRITE_ALPHA | -XY_SRC_COPY_BLT_WRITE_RGB | - (6 +2 * has_64b_reloc)); - -intel_bb_out (ibb, (3 <<24 ) |/* 32 bits */ - (0xcc <<16 ) |/* copy ROP */ -4096 ); +if (intel_graphics_ver (ibb->devid) >=IP_VER (12 ,60 )) { +intel_bb_out (ibb,XY_FAST_COPY_BLT ); +intel_bb_out (ibb,XY_FAST_COPY_COLOR_DEPTH_32 |4096 ); + }else { +intel_bb_out (ibb, +XY_SRC_COPY_BLT_CMD | +XY_SRC_COPY_BLT_WRITE_ALPHA | +XY_SRC_COPY_BLT_WRITE_RGB | + (6 +2 * has_64b_reloc)); +intel_bb_out (ibb, (3 <<24 ) |/* 32 bits */ + (0xcc <<16 ) |/* copy ROP */ +4096 ); + }intel_bb_out (ibb,0 <<16 |0 );intel_bb_out (ibb, (BO_SIZE /4096 ) <<16 |1024 );intel_bb_emit_reloc_fenced(ibb,
dst->handle,
--
2.25.1