tests/i915/gem_exec_capture: Add support for local memory
PATCH 1/1 tests/i915/gem_exec_capture: Add support for local memory
From: Ch Sai Gowtham <[email protected]>
Add support for local memory region (Device memory)
--- tests/i915/gem_exec_capture.c | 41 +++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-)
tests/i915/gem_exec_capture.c +29 -12
@@ -243,7 +243,7 @@ static void wait_to_die(int fence_out)static void __capture1 (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx,const struct intel_execution_engine2 *e, -uint32_t target,uint64_t target_size) +uint32_t target,uint64_t target_size,uint32_t region) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];
@@ -260,13 +260,13 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,configure_hangs (fd, e, ctx->id);memset (obj,0 ,sizeof (obj)); - obj[SCRATCH ].handle =gem_create (fd,4096 ); + obj[SCRATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); obj[SCRATCH ].flags =EXEC_OBJECT_WRITE ; obj[CAPTURE ].handle = target; obj[CAPTURE ].flags =EXEC_OBJECT_CAPTURE ; obj[NOCAPTURE ].handle =gem_create (fd,4096 ); - obj[BATCH ].handle =gem_create (fd,4096 ); + obj[BATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); obj[BATCH ].relocs_ptr = (uintptr_t )reloc; obj[BATCH ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ;
@@ -374,16 +374,16 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, }static void capture (int fd,int dir,const intel_ctx_t *ctx, -const struct intel_execution_engine2 *e) +const struct intel_execution_engine2 *e,uint32_t region) {uint32_t handle;uint64_t ahnd;int obj_size =4096 ; - handle =gem_create (fd, obj_size); + handle =gem_create_in_memory_regions (fd, obj_size, region); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region);gem_close (fd, handle);put_ahnd (ahnd);
@@ -696,6 +696,7 @@ static void userptr(int fd, int dir)uint64_t ahnd;void *ptr;int obj_size =4096 ; +uint32_t system_region =INTEL_MEMORY_REGION_ID (I915_SYSTEM_MEMORY ,0 );find_first_available_engine (fd, ctx, e);
@@ -704,7 +705,7 @@ static void userptr(int fd, int dir)igt_require (__gem_userptr (fd, ptr, obj_size,0 ,0 , &handle) ==0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, system_region);gem_close (fd, handle);put_ahnd (ahnd);
@@ -731,7 +732,6 @@ static size_t safer_strlen(const char *s)#define test_each_engine (T , i915, ctx, e) \ igt_subtest_with_dynamic(T) for_each_ctx_engine(i915, ctx, e) \ for_each_if(gem_class_can_store_dword(i915, (e)->class)) \ - igt_dynamic_f("%s", (e)->name) igt_main {
@@ -740,6 +740,10 @@ igt_mainigt_hang_t hang;int fd =-1 ;int dir =-1 ; +struct drm_i915_query_memory_regions *query_info; +struct igt_collection *regions, *set; +char *sub_name; +uint32_t region; igt_fixture {int gen;
@@ -751,7 +755,7 @@ igt_mainigt_device_set_master (fd);igt_require_gem (fd); -gem_require_mmap_wc (fd); +gem_require_mmap_device_coherent (fd);igt_require (has_capture (fd)); ctx =intel_ctx_create_all_physical (fd);igt_allow_hang (fd, ctx->id,HANG_ALLOW_CAPTURE |HANG_WANT_ENGINE_RESET );
@@ -759,10 +763,22 @@ igt_main dir =igt_sysfs_open (fd);igt_require (igt_sysfs_set (dir,"error" ,"Begone!" ));igt_require (safer_strlen (igt_sysfs_get (dir,"error" )) >0 ); + query_info =gem_get_query_memory_regions (fd); +igt_assert (query_info); + set =get_memory_region_set (query_info, +I915_SYSTEM_MEMORY , +I915_DEVICE_MEMORY ); } - test_each_engine("capture", fd, ctx, e) -capture (fd, dir, ctx, e); + test_each_engine("capture", fd, ctx, e) { +for_each_combination (regions,1 , set) { + sub_name =memregion_dynamic_subtest_name (regions); + region =igt_collection_get_value (regions,0 ); + igt_dynamic_f("%s-%s", e->name, sub_name) +capture (fd, dir, ctx, e, region); +free (sub_name); + } + } igt_subtest_f("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 ));
@@ -797,7 +813,8 @@ igt_main } test_each_engine("pi", fd, ctx, e) -prioinv (fd, dir, ctx, e); + igt_dynamic_f("%s", (e)->name) +prioinv (fd, dir, ctx, e); igt_fixture {close (dir);
Signature · 1 line
2.32.0
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_exec_capture: Add support for local memory (rev4)
== Series Details ==
== Series Details ==
Series: tests/i915/gem_exec_capture: Add support for local memory (rev4)
URL : https://patchwork.freedesktop.org/series/97149/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11032 -> IGTPW_6511
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/index.html
Participating hosts (44 -> 34)
------------------------------
Missing (10): bat-dg1-6 bat-dg1-5 fi-tgl-u2 fi-icl-u2 fi-bsw-cyan bat-adlp-6 bat-adlp-4 fi-pnv-d510 bat-jsl-2 fi-bdw-samus
Known issues
------------
Here are the changes found in IGTPW_6511 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-snb-2600/igt@amdgpu/[email protected]
* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [PASS][2] -> [INCOMPLETE][3] ([i915#2940])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/fi-bsw-n3050/igt@i915_selftest@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-bsw-n3050/igt@i915_selftest@[email protected]
* igt@kms_psr@primary_page_flip:
- fi-skl-6600u: [PASS][4] -> [FAIL][5] ([i915#4547])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
* igt@runner@aborted:
- fi-skl-6600u: NOTRUN -> [FAIL][6] ([i915#4312])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-skl-6600u/igt@[email protected]
- fi-bdw-5557u: NOTRUN -> [FAIL][7] ([i915#2426] / [i915#4312])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-bdw-5557u/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@smem:
- fi-bdw-5557u: [INCOMPLETE][8] ([i915#146]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/fi-bdw-5557u/igt@gem_exec_suspend@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-bdw-5557u/igt@gem_exec_suspend@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-hsw-4770: [SKIP][10] ([fdo#109271]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/fi-hsw-4770/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-hsw-4770/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][12] ([i915#3921]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/fi-snb-2600/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/fi-snb-2600/igt@i915_selftest@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6317 -> IGTPW_6511
CI-20190529: 20190529
CI_DRM_11032: e9aa5feec24dea1306e2cc7cd3f8ff130b750ab2 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6511: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/index.html
IGT_6317: 704a1a42db2fad72c382e95c9da200b5bde5e5fc @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/i915/gem_exec_capture: Add support for local memory (rev4)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: tests/i915/gem_exec_capture: Add support for local memory (rev4)
URL : https://patchwork.freedesktop.org/series/97149/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11032_full -> IGTPW_6511_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/index.html
Participating hosts (10 -> 7)
------------------------------
Missing (3): pig-skl-6260u pig-kbl-iris pig-glk-j5005
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_6511_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling}:
- shard-iclb: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling.html
* {igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling}:
- shard-iclb: [PASS][2] -> [SKIP][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html
New tests
---------
New tests have been introduced between CI_DRM_11032_full and IGTPW_6511_full:
### New IGT tests (5) ###
* igt@gem_exec_capture@capture@bcs0-smem:
- Statuses : 5 pass(s)
- Exec time: [1.27, 1.28] s
* igt@gem_exec_capture@capture@rcs0-smem:
- Statuses : 5 pass(s)
- Exec time: [1.27, 1.29] s
* igt@gem_exec_capture@capture@vcs0-smem:
- Statuses : 5 pass(s)
- Exec time: [1.27, 1.28] s
* igt@gem_exec_capture@capture@vcs1-smem:
- Statuses : 2 pass(s)
- Exec time: [1.27] s
* igt@gem_exec_capture@capture@vecs0-smem:
- Statuses : 5 pass(s)
- Exec time: [1.27, 1.28] s
Known issues
------------
Here are the changes found in IGTPW_6511_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-4x:
- shard-iclb: NOTRUN -> [SKIP][4] ([i915#1839])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb4/igt@[email protected]
* igt@feature_discovery@psr2:
- shard-iclb: [PASS][5] -> [SKIP][6] ([i915#658])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb3/igt@[email protected]
* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglb: NOTRUN -> [SKIP][7] ([fdo#109314])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][8] ([fdo#109314])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb7/igt@[email protected]
* igt@gem_ctx_sseu@mmap-args:
- shard-tglb: NOTRUN -> [SKIP][9] ([i915#280])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb1/igt@[email protected]
* igt@gem_eio@kms:
- shard-tglb: [PASS][10] -> [FAIL][11] ([i915#232])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-tglb6/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb1/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: NOTRUN -> [FAIL][12] ([i915#2842])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2842]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-glk: [PASS][14] -> [FAIL][15] ([i915#2842]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk9/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-verify-multi:
- shard-tglb: NOTRUN -> [SKIP][16] ([i915#4613])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- shard-kbl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#4613])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl6/igt@[email protected]
* igt@gem_lmem_swapping@random-engines:
- shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4613])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@gem_pxp@fail-invalid-protected-context:
- shard-tglb: NOTRUN -> [SKIP][19] ([i915#4270]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb6/igt@[email protected]
* igt@gem_render_copy@x-tiled-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][20] ([i915#768])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb6/igt@[email protected]
* igt@gem_userptr_blits@access-control:
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#3297])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#3297])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb8/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][23] ([i915#3002])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl4/igt@[email protected]
* igt@gen3_render_tiledy_blits:
- shard-tglb: NOTRUN -> [SKIP][24] ([fdo#109289]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb1/igt@gen3_render_tiledy_blits.html
- shard-iclb: NOTRUN -> [SKIP][25] ([fdo#109289]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb1/igt@gen3_render_tiledy_blits.html
* igt@gen9_exec_parse@allowed-all:
- shard-apl: [PASS][26] -> [DMESG-WARN][27] ([i915#1436] / [i915#716])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-apl1/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl3/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#2856])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb8/igt@[email protected]
* igt@gen9_exec_parse@bb-start-out:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#2856])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb8/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-apl: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#658])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl4/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-tglb: NOTRUN -> [FAIL][31] ([i915#454])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb5/igt@[email protected]
* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-apl: NOTRUN -> [SKIP][32] ([fdo#109271]) +60 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@i915_query@query-topology-unsupported:
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#109302])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][34] ([fdo#109302])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110725] / [fdo#111614])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][36] ([fdo#111614])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb6/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-0:
- shard-glk: [PASS][37] -> [DMESG-WARN][38] ([i915#118]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180:
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#110723]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb5/igt@[email protected]
* igt@kms_big_joiner@2x-modeset:
- shard-tglb: NOTRUN -> [SKIP][40] ([i915#2705])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb2/igt@[email protected]
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#3886]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl8/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][42] ([fdo#109271] / [i915#3886]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109278] / [i915#3886]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb7/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][44] ([fdo#111615] / [i915#3689]) +2 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb8/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-yf_tiled_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3689]) +3 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb2/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@dp-hpd-fast:
- shard-snb: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-snb7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk8/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- shard-apl: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +7 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- shard-tglb: NOTRUN -> [SKIP][49] ([fdo#109284] / [fdo#111827]) +6 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-max:
- shard-iclb: NOTRUN -> [SKIP][50] ([fdo#109284] / [fdo#111827]) +2 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb2/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-gamma:
- shard-kbl: NOTRUN -> [SKIP][51] ([fdo#109271] / [fdo#111827]) +6 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-limited-range:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb8/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-apl: NOTRUN -> [TIMEOUT][53] ([i915#1319])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl8/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-kbl: NOTRUN -> [TIMEOUT][54] ([i915#1319])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][55] ([i915#2105])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-apl: NOTRUN -> [DMESG-WARN][56] ([i915#180])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x10-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109278]) +10 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-sliding:
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#109279] / [i915#3359]) +3 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109278] / [fdo#109279]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][60] ([i915#3359]) +4 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][61] -> [DMESG-WARN][62] ([i915#180]) +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl3/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge:
- shard-snb: NOTRUN -> [SKIP][63] ([fdo#109271]) +17 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-snb6/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-d-64x64-left-edge:
- shard-kbl: NOTRUN -> [SKIP][64] ([fdo#109271]) +67 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl6/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-tglb: NOTRUN -> [SKIP][65] ([i915#4103])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb1/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb-interruptible:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb6/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-tglb: NOTRUN -> [SKIP][67] ([fdo#111825]) +20 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb3/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@b-edp1:
- shard-tglb: [PASS][68] -> [DMESG-WARN][69] ([i915#2411] / [i915#2867])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-tglb5/igt@kms_flip@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb3/igt@kms_flip@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- shard-tglb: NOTRUN -> [SKIP][70] ([fdo#109285])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109280]) +7 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb3/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu:
- shard-glk: NOTRUN -> [SKIP][72] ([fdo#109271]) +12 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk6/igt@[email protected]
* igt@kms_hdr@static-toggle-suspend:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#1187])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][74] ([i915#1187])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb1/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#533])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl1/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][76] ([fdo#109271] / [i915#533])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl4/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-apl: [PASS][77] -> [DMESG-WARN][78] ([i915#180]) +4 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-apl3/igt@kms_plane@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl3/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][79] ([fdo#108145] / [i915#265])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][80] ([fdo#108145] / [i915#265])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#2733])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl4/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-kbl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#658])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl3/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: NOTRUN -> [SKIP][83] ([fdo#109441])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb8/igt@kms_psr@psr2_cursor_mmap_cpu.html
- shard-tglb: NOTRUN -> [FAIL][84] ([i915#132] / [i915#3467])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb5/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][85] -> [SKIP][86] ([fdo#109441])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb6/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-tglb: NOTRUN -> [SKIP][87] ([fdo#111615]) +3 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][88] -> [DMESG-WARN][89] ([i915#180] / [i915#295])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl1/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl4/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#2437])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@nouveau_crc@pipe-d-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][91] ([i915#2530])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb2/igt@[email protected]
* igt@prime_nv_test@i915_import_gtt_mmap:
- shard-tglb: NOTRUN -> [SKIP][92] ([fdo#109291])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb6/igt@prime_nv_test@i915_import_gtt_mmap.html
* igt@sysfs_clients@fair-3:
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#2994]) +3 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][94] ([i915#2994])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb7/igt@[email protected]
* igt@sysfs_clients@split-25:
- shard-apl: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#2994]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl4/igt@[email protected]
* igt@tools_test@sysfs_l3_parity:
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109307])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb5/igt@tools_test@sysfs_l3_parity.html
- shard-tglb: NOTRUN -> [SKIP][97] ([fdo#109307])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb3/igt@tools_test@sysfs_l3_parity.html
#### Possible fixes ####
* igt@gem_eio@in-flight-contexts-immediate:
- shard-tglb: [TIMEOUT][98] ([i915#3063]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-tglb1/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb1/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [FAIL][100] ([i915#2842]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk9/igt@gem_exec_fair@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [FAIL][102] ([i915#2842]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-apl8/igt@gem_exec_fair@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [FAIL][104] ([i915#2842]) -> [PASS][105] +2 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl4/igt@gem_exec_fair@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_schedule@wide@vcs1:
- shard-kbl: [INCOMPLETE][106] -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl1/igt@gem_exec_schedule@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl6/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_whisper@basic-fds-priority:
- shard-glk: [DMESG-WARN][108] ([i915#118]) -> [PASS][109] +2 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk1/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk1/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-kbl: [DMESG-WARN][110] ([i915#180]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl4/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-kbl1/igt@[email protected]
* igt@gem_workarounds@suspend-resume:
- shard-iclb: [SKIP][112] -> [PASS][113] +1 similar issue
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb5/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb2/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][114] ([i915#454]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb3/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb1/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][116] ([fdo#109271]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-apl1/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl1/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][118] ([i915#180]) -> [PASS][119] +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-apl4/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][120] ([i915#2346]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk7/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk8/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][122] ([i915#79]) -> [PASS][123] +1 similar issue
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk4/igt@kms_flip@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk7/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-wc:
- shard-glk: [FAIL][124] ([i915#1888] / [i915#2546]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk9/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-wc.html
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk6/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-blt:
- shard-glk: [FAIL][126] ([i915#2546]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-glk1/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-glk7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-tglb: [INCOMPLETE][128] -> [PASS][129] +1 similar issue
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-onoff:
- shard-iclb: [FAIL][130] ([i915#2546]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-iclb5/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-tglb: [DMESG-WARN][132] ([i915#2411] / [i915#2867]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-tglb5/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/shard-tglb7/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [INCOMPLETE][134] ([i915#794]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11032/shard-kbl4/igt@[email protected]
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6511/index.html
Quoted 6 lines · On Thu, Dec 23, 2021 at 10:37:21AM +0530, [email protected] wrote:
From: Ch Sai Gowtham <[email protected]>
Add support for local memory region (Device memory)
Signed-off-by Ch Sai Gowtham <[email protected]>Cc Zbigniew Kempczyński <[email protected]>
Change looks correct and I'm going to merge it. But I went over the whole test I see there're also "many-*" subtests which are not extended to device memory. Be aware that checking memory size in many() doesn't properly handle device memory size so it needs to be adjust. I'm not sure how this change will extend execution time when iteration over memory regions will be added but at least one of many-* subtest should be extended.
But for this change:
--
Zbigniew
Quoted 136 lines
--- tests/i915/gem_exec_capture.c | 41 +++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-)tests/i915/gem_exec_capture.c +29
-12@@ -243,7 +243,7 @@ static void wait_to_die(int fence_out)static void __capture1 (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx,const struct intel_execution_engine2 *e, -uint32_t target,uint64_t target_size) +uint32_t target,uint64_t target_size,uint32_t region) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];@@ -260,13 +260,13 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,configure_hangs (fd, e, ctx->id);memset (obj,0 ,sizeof (obj)); - obj[SCRATCH ].handle =gem_create (fd,4096 ); + obj[SCRATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); obj[SCRATCH ].flags =EXEC_OBJECT_WRITE ; obj[CAPTURE ].handle = target; obj[CAPTURE ].flags =EXEC_OBJECT_CAPTURE ; obj[NOCAPTURE ].handle =gem_create (fd,4096 ); - obj[BATCH ].handle =gem_create (fd,4096 ); + obj[BATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); obj[BATCH ].relocs_ptr = (uintptr_t )reloc; obj[BATCH ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ;@@ -374,16 +374,16 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, }static void capture (int fd,int dir,const intel_ctx_t *ctx, -const struct intel_execution_engine2 *e) +const struct intel_execution_engine2 *e,uint32_t region) {uint32_t handle;uint64_t ahnd;int obj_size =4096 ; - handle =gem_create (fd, obj_size); + handle =gem_create_in_memory_regions (fd, obj_size, region); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region);gem_close (fd, handle);put_ahnd (ahnd);@@ -696,6 +696,7 @@ static void userptr(int fd, int dir)uint64_t ahnd;void *ptr;int obj_size =4096 ; +uint32_t system_region =INTEL_MEMORY_REGION_ID (I915_SYSTEM_MEMORY ,0 );find_first_available_engine (fd, ctx, e);@@ -704,7 +705,7 @@ static void userptr(int fd, int dir)igt_require (__gem_userptr (fd, ptr, obj_size,0 ,0 , &handle) ==0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, system_region);gem_close (fd, handle);put_ahnd (ahnd);@@ -731,7 +732,6 @@ static size_t safer_strlen(const char *s)#define test_each_engine (T , i915, ctx, e) \ igt_subtest_with_dynamic(T) for_each_ctx_engine(i915, ctx, e) \ for_each_if(gem_class_can_store_dword(i915, (e)->class)) \ - igt_dynamic_f("%s", (e)->name) igt_main {@@ -740,6 +740,10 @@ igt_mainigt_hang_t hang;int fd =-1 ;int dir =-1 ; +struct drm_i915_query_memory_regions *query_info; +struct igt_collection *regions, *set; +char *sub_name; +uint32_t region; igt_fixture {int gen;@@ -751,7 +755,7 @@ igt_mainigt_device_set_master (fd);igt_require_gem (fd); -gem_require_mmap_wc (fd); +gem_require_mmap_device_coherent (fd);igt_require (has_capture (fd)); ctx =intel_ctx_create_all_physical (fd);igt_allow_hang (fd, ctx->id,HANG_ALLOW_CAPTURE |HANG_WANT_ENGINE_RESET );@@ -759,10 +763,22 @@ igt_main dir =igt_sysfs_open (fd);igt_require (igt_sysfs_set (dir,"error" ,"Begone!" ));igt_require (safer_strlen (igt_sysfs_get (dir,"error" )) >0 ); + query_info =gem_get_query_memory_regions (fd); +igt_assert (query_info); + set =get_memory_region_set (query_info, +I915_SYSTEM_MEMORY , +I915_DEVICE_MEMORY ); } - test_each_engine("capture", fd, ctx, e) -capture (fd, dir, ctx, e); + test_each_engine("capture", fd, ctx, e) { +for_each_combination (regions,1 , set) { + sub_name =memregion_dynamic_subtest_name (regions); + region =igt_collection_get_value (regions,0 ); + igt_dynamic_f("%s-%s", e->name, sub_name) +capture (fd, dir, ctx, e, region); +free (sub_name); + } + } igt_subtest_f("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 ));@@ -797,7 +813,8 @@ igt_main } test_each_engine("pi", fd, ctx, e) -prioinv (fd, dir, ctx, e); + igt_dynamic_f("%s", (e)->name) +prioinv (fd, dir, ctx, e); igt_fixture {close (dir);Signature · 1 line
2.32.0