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]>
Adding local memory support to many-4K-zero subtest and used new macro for_each_memory_region for memory regioning.
--- tests/i915/gem_exec_capture.c | 109 +++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 40 deletions(-)
tests/i915/gem_exec_capture.c +69 -40
@@ -250,7 +250,9 @@ 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 region) +uint32_t target,uint64_t target_size, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];
@@ -268,13 +270,13 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, saved_engine =configure_hangs (fd, e, ctx->id);memset (obj,0 ,sizeof (obj)); - obj[SCRATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); + obj[SCRATCH ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); 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_in_memory_regions (fd,4096 , region); + obj[BATCH ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[BATCH ].relocs_ptr = (uintptr_t )reloc; obj[BATCH ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ;
@@ -384,15 +386,17 @@ 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,uint32_t region) +const struct intel_execution_engine2 *e, +struct drm_i915_gem_memory_class_instance *region,uint32_t num_regions) {uint32_t handle;uint64_t ahnd, obj_size =4096 ; -igt_assert_eq (__gem_create_in_memory_regions (fd, &handle, &obj_size, region),0 ); +igt_assert_eq (__gem_create_in_memory_region_list (fd, &handle, &obj_size, region, + num_regions),0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region, num_regions);gem_close (fd, handle);put_ahnd (ahnd);
@@ -415,7 +419,9 @@ static struct offset * __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, const struct intel_execution_engine2 *e, unsigned int size, int count, - unsigned int flags, int *_fence_out) + unsigned int flags, int *_fence_out, + struct drm_i915_gem_memory_class_instance *region, + uint32_t num_regions) #define INCREMENTAL 0x1 #define ASYNC 0x2 {
@@ -436,9 +442,10 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, obj =calloc (count +2 ,sizeof (*obj));igt_assert (obj); - obj[0 ].handle =gem_create (fd,4096 ); + obj[0 ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[0 ].offset =get_offset (ahnd, obj[0 ].handle,4096 ,0 ); - obj[0 ].flags =EXEC_OBJECT_WRITE | (ahnd ?EXEC_OBJECT_PINNED :0 ); + obj[0 ].flags =EXEC_OBJECT_SUPPORTS_48B_ADDRESS |EXEC_OBJECT_WRITE | + (ahnd ?EXEC_OBJECT_PINNED :0 );for (i =0 ; i < count; i++) { obj[i +1 ].handle =gem_create (fd, size);
@@ -459,11 +466,11 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, } } - obj[count +1 ].handle =gem_create (fd,4096 ); + obj[count +1 ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[count +1 ].relocs_ptr = (uintptr_t )reloc; obj[count +1 ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ; obj[count +1 ].offset =get_offset (ahnd, obj[count +1 ].handle,4096 ,0 ); - obj[count +1 ].flags = ahnd ?EXEC_OBJECT_PINNED :0 ; + obj[count +1 ].flags =EXEC_OBJECT_SUPPORTS_48B_ADDRESS | ahnd ?EXEC_OBJECT_PINNED :0 ;memset (reloc,0 ,sizeof (reloc)); reloc[0 ].target_handle = obj[count +1 ].handle;/* recurse */
@@ -585,14 +592,17 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, saved =configure_hangs (fd, e, ctx->id); \ }while (0 ) -static void many(int fd, int dir, uint64_t size, unsigned int flags) +static void many(int fd, int dir, uint64_t size, unsigned int flags, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const struct intel_execution_engine2 *e;const intel_ctx_t *ctx; -uint64_t ram, gtt, ahnd; +uint64_t ram, gtt, ahnd, lmem_size;unsigned long count, blobs;struct offset *offsets;struct gem_engine_properties saved_engine; +struct drm_i915_query_memory_regions *info;find_first_available_engine (fd, ctx, e, saved_engine);
@@ -601,13 +611,21 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)igt_debug ("Available objects in GTT:%" PRIu64", RAM:%" PRIu64"\n" , gtt, ram); - count =min (gtt, ram) /4 ; + info =gem_get_query_memory_regions (fd); + lmem_size =gpu_meminfo_region_total_size (info,I915_MEMORY_CLASS_DEVICE ) / size; + +if (region->memory_class ==I915_MEMORY_CLASS_SYSTEM ) + count =min (gtt, ram) /4 ; +else + count =min (gtt, lmem_size) /4 ; +igt_require (count >1 );intel_require_memory (count, size,CHECK_RAM ); ahnd =get_reloc_ahnd (fd, ctx->id); - offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags,NULL ); + offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags,NULL , + region, num_regions); blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL )); igt_info("Captured %lu %"PRId64"-blobs out of a total of %lu\n",
@@ -620,7 +638,9 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) }static void prioinv (int fd,int dir,const intel_ctx_t *ctx, -const struct intel_execution_engine2 *e) +const struct intel_execution_engine2 *e, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_region) {const uint32_t bbe =MI_BATCH_BUFFER_END ;struct drm_i915_gem_exec_object2 obj = {
@@ -677,7 +697,8 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,/* Reopen the allocator in the new process. */ ahnd =get_reloc_ahnd (fd, ctx2->id); -free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC , &fence_out)); +free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC , + &fence_out, region, num_region));put_ahnd (ahnd);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */
@@ -708,7 +729,9 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,put_ahnd (ahnd); } -static void userptr (int fd,int dir) +static void userptr (int fd,int dir, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const struct intel_execution_engine2 *e;const intel_ctx_t *ctx;
@@ -716,7 +739,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 ); +struct gem_engine_properties saved_engine;find_first_available_engine (fd, ctx, e, saved_engine);
@@ -726,7 +749,8 @@ 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, system_region); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, + region, num_regions);gem_close (fd, handle);put_ahnd (ahnd);
@@ -764,9 +788,10 @@ igt_mainint fd =-1 ;int dir =-1 ;struct drm_i915_query_memory_regions *query_info; -struct igt_collection *regions, *set; -char *sub_name; -uint32_t region; +struct drm_i915_gem_memory_class_instance region_smem = { + .memory_class =I915_MEMORY_CLASS_SYSTEM , + .memory_instance =0 , + }; igt_fixture {int gen;
@@ -788,56 +813,60 @@ igt_mainigt_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) { -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); +for_each_memory_region (r, fd) { + igt_dynamic_f("%s-%s", e->name, r->name) +capture (fd, dir, ctx, e, &r->ci, + query_info->num_regions); } } - igt_subtest_f("many-4K-zero") { + igt_subtest_with_dynamic("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,1 <<12 ,0 ); +for_each_memory_region (r, fd) { + igt_dynamic_f("%s", r->name) +many (fd, dir,1 <<12 ,0 , &r->ci, + query_info->num_regions); + } } igt_subtest_f("many-4K-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,1 <<12 ,INCREMENTAL ); +many (fd, dir,1 <<12 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-2M-zero") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,2 <<20 ,0 ); +many (fd, dir,2 <<20 ,0 , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-2M-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,2 <<20 ,INCREMENTAL ); +many (fd, dir,2 <<20 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-256M-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,256 <<20 ,INCREMENTAL ); +many (fd, dir,256 <<20 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); }/* And check we can read from different types of objects */ igt_subtest_f("userptr") {igt_require (gem_can_store_dword (fd,0 )); -userptr (fd, dir); +userptr (fd, dir, ®ion_smem, query_info->num_regions); } test_each_engine("pi", fd, ctx, e) igt_dynamic_f("%s", (e)->name) -prioinv (fd, dir, ctx, e); +prioinv (fd, dir, ctx, e, ®ion_smem, + query_info->num_regions); igt_fixture {close (dir);
Signature · 1 line
2.35.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_exec_capture : Add support for local memory (rev2)
== Series Details ==
== Series Details ==
Series: tests/i915/gem_exec_capture : Add support for local memory (rev2)
URL : https://patchwork.freedesktop.org/series/95707/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11415 -> IGTPW_6841
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/index.html
Participating hosts (44 -> 32)
------------------------------
Missing (12): fi-bdw-samus shard-tglu bat-dg1-6 bat-dg2-8 bat-dg2-9 fi-bsw-cyan bat-adlp-6 bat-adlp-4 bat-rpls-1 bat-rpls-2 bat-jsl-2 bat-jsl-1
Known issues
------------
Here are the changes found in IGTPW_6841 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-gfx:
- fi-hsw-4770: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#109315]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@amdgpu/[email protected]
* igt@amdgpu/amd_basic@query-info:
- fi-tgl-1115g4: NOTRUN -> [SKIP][2] ([fdo#109315])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([fdo#109315] / [i915#2575]) +16 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-ilk-650: NOTRUN -> [INCOMPLETE][4] ([i915#5441])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ilk-650/igt@[email protected]
- fi-snb-2520m: NOTRUN -> [INCOMPLETE][5] ([i915#5441])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-snb-2520m/igt@[email protected]
* igt@gem_render_linear_blits@basic:
- fi-bsw-nick: [PASS][6] -> [INCOMPLETE][7] ([i915#5441])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-bsw-nick/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-bsw-nick/igt@[email protected]
- fi-blb-e6850: [PASS][8] -> [INCOMPLETE][9] ([i915#5441])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-blb-e6850/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-blb-e6850/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- fi-kbl-soraka: [PASS][10] -> [INCOMPLETE][11] ([i915#5441])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-kbl-soraka/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-kbl-soraka/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [INCOMPLETE][12] ([i915#5441])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-bsw-n3050/igt@[email protected]
- fi-kbl-8809g: [PASS][13] -> [INCOMPLETE][14] ([i915#5441])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-kbl-8809g/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-kbl-8809g/igt@[email protected]
* igt@gem_softpin@allocator-basic:
- fi-pnv-d510: NOTRUN -> [SKIP][15] ([fdo#109271]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-pnv-d510/igt@[email protected]
* igt@gem_softpin@allocator-basic-reserve:
- fi-elk-e7500: NOTRUN -> [SKIP][16] ([fdo#109271]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-elk-e7500/igt@[email protected]
* igt@gem_tiled_blits@basic:
- fi-elk-e7500: NOTRUN -> [INCOMPLETE][17] ([i915#5441])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-elk-e7500/igt@[email protected]
- fi-cfl-guc: [PASS][18] -> [INCOMPLETE][19] ([i915#5441])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-cfl-guc/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-cfl-guc/igt@[email protected]
- fi-pnv-d510: NOTRUN -> [INCOMPLETE][20] ([i915#5441])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-pnv-d510/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-hsw-4770: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#3012])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][22] ([fdo#109271] / [fdo#111827]) +8 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- fi-ilk-650: NOTRUN -> [SKIP][23] ([fdo#109271] / [fdo#111827]) +8 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ilk-650/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-snb-2520m: NOTRUN -> [SKIP][24] ([fdo#109271] / [fdo#111827]) +8 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-snb-2520m/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-snb-2520m: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#5341])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-snb-2520m/igt@[email protected]
- fi-ilk-650: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#5341])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ilk-650/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-hsw-4770: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#533])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-hsw-4770: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#1072]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@kms_psr@primary_mmap_gtt.html
* igt@kms_psr@primary_page_flip:
- fi-ilk-650: NOTRUN -> [SKIP][29] ([fdo#109271]) +12 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ilk-650/igt@kms_psr@primary_page_flip.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-snb-2520m: NOTRUN -> [SKIP][30] ([fdo#109271]) +11 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-snb-2520m/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-hsw-4770: NOTRUN -> [SKIP][31] ([fdo#109271]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@core_hotunplug@unbind-rebind:
- fi-tgl-1115g4: [INCOMPLETE][32] ([i915#1373] / [i915#5441]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-tgl-1115g4/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-tgl-1115g4/igt@[email protected]
- {fi-adl-ddr5}: [INCOMPLETE][34] ([i915#5441]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-adl-ddr5/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-adl-ddr5/igt@[email protected]
- {fi-rkl-11600}: [INCOMPLETE][36] ([i915#1373] / [i915#5441]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-rkl-11600/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-rkl-11600/igt@[email protected]
* igt@gem_render_linear_blits@basic:
- fi-elk-e7500: [INCOMPLETE][38] ([i915#5441]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-elk-e7500/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-elk-e7500/igt@[email protected]
- fi-bsw-n3050: [INCOMPLETE][40] ([i915#5441]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-bsw-n3050/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-bsw-n3050/igt@[email protected]
- fi-pnv-d510: [INCOMPLETE][42] ([i915#5441]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-pnv-d510/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-pnv-d510/igt@[email protected]
* igt@gem_tiled_blits@basic:
- fi-hsw-4770: [INCOMPLETE][44] ([i915#5441]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-hsw-4770/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-hsw-4770/igt@[email protected]
- fi-ilk-650: [INCOMPLETE][46] ([i915#5441]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-ilk-650/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ilk-650/igt@[email protected]
- fi-snb-2520m: [INCOMPLETE][48] ([i915#5441]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-snb-2520m/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-snb-2520m/igt@[email protected]
- {fi-ehl-2}: [INCOMPLETE][50] ([i915#5441]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-ehl-2/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-ehl-2/igt@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-bsw-nick: [FAIL][52] ([i915#3428] / [i915#4312]) -> [FAIL][53] ([i915#4312])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-bsw-nick/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-bsw-nick/igt@[email protected]
- fi-bsw-n3050: [FAIL][54] ([i915#4312]) -> [FAIL][55] ([i915#3428] / [i915#4312])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/fi-bsw-n3050/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/fi-bsw-n3050/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#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1373]: https://gitlab.freedesktop.org/drm/intel/issues/1373
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3428]: https://gitlab.freedesktop.org/drm/intel/issues/3428
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5341]: https://gitlab.freedesktop.org/drm/intel/issues/5341
[i915#5441]: https://gitlab.freedesktop.org/drm/intel/issues/5441
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6399 -> IGTPW_6841
CI-20190529: 20190529
CI_DRM_11415: a7a8e278572965d6f5e66a31b64b96b07f94551f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6841: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/index.html
IGT_6399: 9ba6cb16f04319226383b57975db203561c75781 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/i915/gem_exec_capture : Add support for local memory (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: tests/i915/gem_exec_capture : Add support for local memory (rev2)
URL : https://patchwork.freedesktop.org/series/95707/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11415_full -> IGTPW_6841_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/index.html
Participating hosts (10 -> 7)
------------------------------
Additional (1): shard-tglu
Missing (4): pig-skl-6260u shard-skl pig-kbl-iris pig-glk-j5005
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_6841_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_psr_stress_test@invalidate-primary-flip-overlay}:
- {shard-tglu}: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglu-4/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_11415_full and IGTPW_6841_full:
### New IGT tests (4) ###
* igt@gem_exec_capture@capture@bcs0-smem0:
- Statuses : 3 pass(s)
- Exec time: [1.27, 1.28] s
* igt@gem_exec_capture@capture@rcs0-smem0:
- Statuses : 3 pass(s)
- Exec time: [1.28, 1.29] s
* igt@gem_exec_capture@capture@vcs0-smem0:
- Statuses : 3 pass(s)
- Exec time: [1.27, 1.29] s
* igt@gem_exec_capture@capture@vecs0-smem0:
- Statuses : 3 pass(s)
- Exec time: [1.28] s
Known issues
------------
Here are the changes found in IGTPW_6841_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@api_intel_bb@blit-reloc-keep-cache:
- shard-glk: NOTRUN -> [INCOMPLETE][2] ([i915#5441]) +2 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk4/igt@[email protected]
* igt@core_hotunplug@unbind-rebind:
- shard-apl: NOTRUN -> [INCOMPLETE][3] ([i915#1373] / [i915#5441])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl6/igt@[email protected]
* igt@feature_discovery@display-4x:
- shard-iclb: NOTRUN -> [SKIP][4] ([i915#1839]) +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb5/igt@[email protected]
* igt@gem_ccs@block-copy-compressed:
- shard-tglb: NOTRUN -> [SKIP][5] ([i915#3555] / [i915#5325])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb2/igt@[email protected]
* igt@gem_ccs@ctrl-surf-copy-new-ctx:
- shard-iclb: NOTRUN -> [SKIP][6] ([i915#5327])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb7/igt@[email protected]
* igt@gem_ccs@suspend-resume:
- shard-tglb: NOTRUN -> [SKIP][7] ([i915#5325]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@[email protected]
* igt@gem_ctx_persistence@process:
- shard-snb: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#1099]) +7 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-snb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: NOTRUN -> [FAIL][9] ([i915#232])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@[email protected]
* igt@gem_exec_balancer@parallel-balancer:
- shard-iclb: NOTRUN -> [SKIP][10] ([i915#4525]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb3/igt@[email protected]
* igt@gem_exec_balancer@parallel-contexts:
- shard-tglb: NOTRUN -> [DMESG-WARN][11] ([i915#5076]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb2/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-kbl: NOTRUN -> [DMESG-WARN][12] ([i915#5076]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl7/igt@[email protected]
* igt@gem_exec_create@madvise@smem:
- shard-glk: NOTRUN -> [DMESG-WARN][13] ([i915#118])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk2/igt@gem_exec_create@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-iclb: NOTRUN -> [FAIL][14] ([i915#2842]) +6 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: NOTRUN -> [FAIL][15] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][16] -> [FAIL][17] ([i915#2842])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-glk4/igt@gem_exec_fair@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: NOTRUN -> [FAIL][18] ([i915#2842]) +3 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@bcs0:
- shard-tglb: NOTRUN -> [FAIL][19] ([i915#2842]) +6 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_flush@basic-batch-kernel-default-cmd:
- shard-iclb: NOTRUN -> [SKIP][20] ([fdo#109313])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][21] ([fdo#109313])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@[email protected]
* igt@gem_exec_params@no-blt:
- shard-iclb: NOTRUN -> [SKIP][22] ([fdo#109283])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@gem_exec_suspend@basic-s3@smem:
- shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-apl8/igt@gem_exec_suspend@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl4/igt@gem_exec_suspend@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#2190])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl6/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#2190])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk3/igt@[email protected]
* igt@gem_lmem_swapping@heavy-random:
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#4613]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random:
- shard-kbl: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#4613])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl6/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#4613])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl2/igt@[email protected]
* igt@gem_lmem_swapping@parallel-multi:
- shard-glk: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#4613])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk1/igt@[email protected]
* igt@gem_pxp@create-regular-buffer:
- shard-tglb: NOTRUN -> [SKIP][31] ([i915#4270]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@[email protected]
* igt@gem_pxp@verify-pxp-stale-buf-optout-execution:
- shard-iclb: NOTRUN -> [SKIP][32] ([i915#4270]) +4 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb5/igt@[email protected]
* igt@gem_render_copy@yf-tiled-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][33] ([i915#768]) +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb7/igt@[email protected]
* igt@gem_softpin@evict-snoop:
- shard-iclb: NOTRUN -> [SKIP][34] ([fdo#109312])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-kbl: [PASS][35] -> [DMESG-WARN][36] ([i915#180])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-kbl3/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl1/igt@[email protected]
* igt@gem_tiled_blits@basic:
- shard-apl: [PASS][37] -> [INCOMPLETE][38] ([i915#5441]) +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-apl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl2/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes:
- shard-snb: NOTRUN -> [INCOMPLETE][39] ([i915#5441]) +8 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-snb5/igt@[email protected]
- shard-tglb: NOTRUN -> [INCOMPLETE][40] ([i915#5441]) +10 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes-after-reads:
- shard-apl: NOTRUN -> [INCOMPLETE][41] ([i915#5441]) +3 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl8/igt@[email protected]
* igt@gem_userptr_blits@coherency-sync:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#110542])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109290])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-iclb: NOTRUN -> [SKIP][44] ([i915#3323])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#3323])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk5/igt@[email protected]
* igt@gem_userptr_blits@invalid-mmap-offset-unsync:
- shard-iclb: NOTRUN -> [SKIP][46] ([i915#3297]) +3 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][47] ([i915#3297])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@gen7_exec_parse@basic-allocation:
- shard-tglb: NOTRUN -> [SKIP][48] ([fdo#109289]) +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#2856]) +10 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb3/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- shard-snb: NOTRUN -> [SKIP][50] ([fdo#109271]) +472 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-snb7/igt@[email protected]
* igt@gen9_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#2527] / [i915#2856]) +3 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-tglb: NOTRUN -> [SKIP][52] ([i915#4281])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#1937])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl3/igt@i915_pm_lpsp@[email protected]
- shard-apl: NOTRUN -> [SKIP][54] ([fdo#109271] / [i915#1937])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl6/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: NOTRUN -> [WARN][55] ([i915#2684])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][56] ([fdo#111644] / [i915#1397] / [i915#2411]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#110892]) +2 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb3/igt@[email protected]
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109293] / [fdo#109506])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@i915_query@query-topology-known-pci-ids:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109303])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@kms_atomic@atomic_plane_damage:
- shard-iclb: NOTRUN -> [SKIP][60] ([i915#4765])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@kms_atomic@atomic_plane_damage.html
* igt@kms_atomic@plane-primary-overlay-mutable-zpos:
- shard-tglb: NOTRUN -> [SKIP][61] ([i915#404])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][62] ([i915#404])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb2/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-iclb: NOTRUN -> [SKIP][63] ([i915#1769])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@4-tiled-addfb-size-offset-overflow:
- shard-tglb: NOTRUN -> [SKIP][64] ([i915#5286]) +5 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-iclb: NOTRUN -> [SKIP][65] ([i915#5286]) +8 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@linear-16bpp-rotate-180:
- shard-tglb: [PASS][66] -> [INCOMPLETE][67] ([i915#5441])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-tglb6/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb7/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-iclb: NOTRUN -> [INCOMPLETE][68] ([i915#5441]) +8 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-180:
- shard-glk: [PASS][69] -> [INCOMPLETE][70] ([i915#5441]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-glk1/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk9/igt@[email protected]
- shard-kbl: NOTRUN -> [INCOMPLETE][71] ([i915#5441]) +4 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl1/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][72] ([fdo#110725] / [fdo#111614]) +4 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb3/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-180:
- shard-kbl: [PASS][73] -> [INCOMPLETE][74] ([i915#5441])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-kbl6/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl6/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111614]) +5 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-180:
- shard-tglb: [PASS][76] -> [INCOMPLETE][77] ([i915#2828] / [i915#5441])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-tglb3/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-iclb: [PASS][78] -> [INCOMPLETE][79] ([i915#5441]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-iclb2/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-apl: NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#3777]) +6 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl2/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#3777]) +4 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][82] ([fdo#110723]) +7 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-tglb: NOTRUN -> [SKIP][83] ([fdo#111615]) +10 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-glk: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#3777]) +6 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk5/igt@[email protected]
* igt@kms_big_joiner@basic:
- shard-iclb: NOTRUN -> [SKIP][85] ([i915#2705])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#3886]) +10 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl7/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][87] ([fdo#109278] / [i915#3886]) +16 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb4/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][88] ([i915#3689] / [i915#3886]) +7 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-basic-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][89] ([fdo#111615] / [i915#3689]) +5 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@kms_ccs@pipe-b-crc-primary-basic-yf_tiled_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#3886]) +10 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk5/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#3886]) +15 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl1/igt@kms_ccs@pipe-c-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][92] ([i915#3689]) +4 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_ccs.html
* igt@kms_cdclk@plane-scaling:
- shard-iclb: NOTRUN -> [SKIP][93] ([i915#3742]) +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-enable-disable-mode:
- shard-iclb: NOTRUN -> [SKIP][94] ([fdo#109284] / [fdo#111827]) +21 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb4/igt@[email protected]
* igt@kms_chamelium@vga-hpd-enable-disable-mode:
- shard-glk: NOTRUN -> [SKIP][95] ([fdo#109271] / [fdo#111827]) +27 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk7/igt@[email protected]
* igt@kms_color@pipe-d-ctm-blue-to-red:
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109278] / [i915#1149])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-snb: NOTRUN -> [SKIP][97] ([fdo#109271] / [fdo#111827]) +27 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-snb7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][98] ([fdo#109271] / [fdo#111827]) +18 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271] / [fdo#111827]) +28 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-tglb: NOTRUN -> [SKIP][100] ([fdo#109284] / [fdo#111827]) +20 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb7/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-negative:
- shard-iclb: NOTRUN -> [SKIP][101] ([fdo#109278] / [fdo#109284] / [fdo#111827]) +4 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb3/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-apl: NOTRUN -> [TIMEOUT][102] ([i915#1319])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-apl1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][103] ([i915#1063]) +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][104] ([i915#1319]) +1 similar issue
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl3/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-iclb: NOTRUN -> [SKIP][105] ([i915#3116])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-iclb: NOTRUN -> [SKIP][106] ([fdo#109300] / [fdo#111066]) +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][107] ([i915#3319]) +2 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][108] ([fdo#109278] / [fdo#109279]) +8 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x10-offscreen:
- shard-iclb: NOTRUN -> [SKIP][109] ([fdo#109278]) +84 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x10-onscreen:
- shard-tglb: NOTRUN -> [SKIP][110] ([i915#3359]) +7 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x512-offscreen:
- shard-tglb: NOTRUN -> [SKIP][111] ([fdo#109279] / [i915#3359]) +5 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb1/igt@[email protected]
* igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
- shard-iclb: NOTRUN -> [SKIP][112] ([fdo#109274] / [fdo#109278]) +4 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb7/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-glk: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#533])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk3/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][114] ([fdo#109271] / [i915#533]) +2 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl6/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-tglb: NOTRUN -> [SKIP][115] ([i915#4103])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb5/igt@[email protected]
* igt@kms_display_modes@extended-mode-basic:
- shard-tglb: NOTRUN -> [SKIP][116] ([fdo#109274])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb3/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-blt-4tiled:
- shard-iclb: NOTRUN -> [SKIP][117] ([i915#5287]) +5 similar issues
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb6/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb2101010-render-4tiled:
- shard-tglb: NOTRUN -> [SKIP][118] ([i915#5287]) +3 similar issues
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb6/igt@[email protected]
* igt@kms_dsc@basic-dsc-enable:
- shard-iclb: NOTRUN -> [SKIP][119] ([i915#3840])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb5/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: NOTRUN -> [INCOMPLETE][120] ([i915#180] / [i915#636])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-kbl6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms:
- shard-iclb: NOTRUN -> [SKIP][121] ([fdo#109274]) +13 similar issues
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-iclb2/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb:
- shard-tglb: NOTRUN -> [SKIP][122] ([fdo#109274] / [fdo#111825]) +11 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-tglb3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2:
- shard-glk: [PASS][123] -> [FAIL][124] ([i915#79])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11415/shard-glk7/igt@kms_flip@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/shard-glk3/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hd
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6841/index.html
Quoted 27 lines · On Tue, Mar 29, 2022 at 10:22:07AM +0530, [email protected] wrote:
From: Ch Sai Gowtham <[email protected]>
Adding local memory support to many-4K-zero subtest and used new macro
for_each_memory_regionfor memory regioning.Signed-off-by Ch Sai Gowtham <[email protected]>Cc Zbigniew Kempczyński <[email protected]>--- tests/i915/gem_exec_capture.c | 109 +++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 40 deletions(-)tests/i915/gem_exec_capture.c +3
-1@@ -250,7 +250,9 @@ 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 region) +uint32_t target,uint64_t target_size, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];
tests/i915/gem_exec_capture.c static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, · line 273
Quoted 5 lines
tests/i915/gem_exec_capture.c +1
-1@@ -268,13 +270,13 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, saved_engine =configure_hangs (fd, e, ctx->id);memset (obj,0 ,sizeof (obj)); - obj[SCRATCH ].handle =gem_create_in_memory_regions (fd,4096 , region); + obj[SCRATCH ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions);
Before I will proceed with review please fix this (dg1, dg2, drm-tip kernel):
$ ./gem_exec_capture --run capture IGT-Version: 1.26-NO-GIT (x86_64) (Linux: 5.17.0+ x86_64) Starting subtest: capture Starting dynamic subtest: rcs0-lmem0 Target died after 0.883048s Dynamic subtest rcs0-lmem0: SUCCESS (0,888s) Starting dynamic subtest: rcs0-smem0 (gem_exec_capture:21772) CRITICAL: Test assertion failure function capture, file ../tests/i915/gem_exec_capture.c:395: (gem_exec_capture:21772) CRITICAL: Failed assertion: __gem_create_in_memory_region_list(fd, &handle, &obj_size, region, num_regions) == 0 (gem_exec_capture:21772) CRITICAL: error: -22 != 0 Stack trace: #0 ../lib/igt_core.c:1756 __igt_fail_assert() #1 ../tests/i915/gem_exec_capture.c:812 __igt_unique____real_main783() #2 ../tests/i915/gem_exec_capture.c:783 main() #3 ../sysdeps/nptl/libc_start_call_main.h:58 __libc_start_call_main() #4 ../csu/libc-start.c:128 __libc_start_main@@GLIBC_2.34() #5 [_start+0x25] Dynamic subtest rcs0-smem0 failed. **** DEBUG ****
--
Zbigniew
Quoted 259 lines
tests/i915/gem_exec_capture.c +65
-38obj[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_in_memory_regions (fd,4096 , region); + obj[BATCH ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[BATCH ].relocs_ptr = (uintptr_t )reloc; obj[BATCH ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ;@@ -384,15 +386,17 @@ 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,uint32_t region) +const struct intel_execution_engine2 *e, +struct drm_i915_gem_memory_class_instance *region,uint32_t num_regions) {uint32_t handle;uint64_t ahnd, obj_size =4096 ; -igt_assert_eq (__gem_create_in_memory_regions (fd, &handle, &obj_size, region),0 ); +igt_assert_eq (__gem_create_in_memory_region_list (fd, &handle, &obj_size, region, + num_regions),0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, region, num_regions);gem_close (fd, handle);put_ahnd (ahnd);@@ -415,7 +419,9 @@ static struct offset * __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, const struct intel_execution_engine2 *e, unsigned int size, int count, - unsigned int flags, int *_fence_out) + unsigned int flags, int *_fence_out, + struct drm_i915_gem_memory_class_instance *region, + uint32_t num_regions) #define INCREMENTAL 0x1 #define ASYNC 0x2 {@@ -436,9 +442,10 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, obj =calloc (count +2 ,sizeof (*obj));igt_assert (obj); - obj[0 ].handle =gem_create (fd,4096 ); + obj[0 ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[0 ].offset =get_offset (ahnd, obj[0 ].handle,4096 ,0 ); - obj[0 ].flags =EXEC_OBJECT_WRITE | (ahnd ?EXEC_OBJECT_PINNED :0 ); + obj[0 ].flags =EXEC_OBJECT_SUPPORTS_48B_ADDRESS |EXEC_OBJECT_WRITE | + (ahnd ?EXEC_OBJECT_PINNED :0 );for (i =0 ; i < count; i++) { obj[i +1 ].handle =gem_create (fd, size);@@ -459,11 +466,11 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, } } - obj[count +1 ].handle =gem_create (fd,4096 ); + obj[count +1 ].handle =gem_create_in_memory_region_list (fd,4096 , region, num_regions); obj[count +1 ].relocs_ptr = (uintptr_t )reloc; obj[count +1 ].relocation_count = !ahnd ?ARRAY_SIZE (reloc) :0 ; obj[count +1 ].offset =get_offset (ahnd, obj[count +1 ].handle,4096 ,0 ); - obj[count +1 ].flags = ahnd ?EXEC_OBJECT_PINNED :0 ; + obj[count +1 ].flags =EXEC_OBJECT_SUPPORTS_48B_ADDRESS | ahnd ?EXEC_OBJECT_PINNED :0 ;memset (reloc,0 ,sizeof (reloc)); reloc[0 ].target_handle = obj[count +1 ].handle;/* recurse */ @@ -585,14 +592,17 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, saved =configure_hangs (fd, e, ctx->id); \ }while (0 ) -static void many(int fd, int dir, uint64_t size, unsigned int flags) +static void many(int fd, int dir, uint64_t size, unsigned int flags, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const struct intel_execution_engine2 *e;const intel_ctx_t *ctx; -uint64_t ram, gtt, ahnd; +uint64_t ram, gtt, ahnd, lmem_size;unsigned long count, blobs;struct offset *offsets;struct gem_engine_properties saved_engine; +struct drm_i915_query_memory_regions *info;find_first_available_engine (fd, ctx, e, saved_engine);@@ -601,13 +611,21 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)igt_debug ("Available objects in GTT:%" PRIu64", RAM:%" PRIu64"\n" , gtt, ram); - count =min (gtt, ram) /4 ; + info =gem_get_query_memory_regions (fd); + lmem_size =gpu_meminfo_region_total_size (info,I915_MEMORY_CLASS_DEVICE ) / size; + +if (region->memory_class ==I915_MEMORY_CLASS_SYSTEM ) + count =min (gtt, ram) /4 ; +else + count =min (gtt, lmem_size) /4 ; +igt_require (count >1 );intel_require_memory (count, size,CHECK_RAM ); ahnd =get_reloc_ahnd (fd, ctx->id); - offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags,NULL ); + offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags,NULL , + region, num_regions); blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL )); igt_info("Captured %lu %"PRId64"-blobs out of a total of %lu\n",@@ -620,7 +638,9 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) }static void prioinv (int fd,int dir,const intel_ctx_t *ctx, -const struct intel_execution_engine2 *e) +const struct intel_execution_engine2 *e, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_region) {const uint32_t bbe =MI_BATCH_BUFFER_END ;struct drm_i915_gem_exec_object2 obj = {@@ -677,7 +697,8 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,/* Reopen the allocator in the new process. */ ahnd =get_reloc_ahnd (fd, ctx2->id); -free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC , &fence_out)); +free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC , + &fence_out, region, num_region));put_ahnd (ahnd);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */ @@ -708,7 +729,9 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,put_ahnd (ahnd); } -static void userptr (int fd,int dir) +static void userptr (int fd,int dir, +struct drm_i915_gem_memory_class_instance *region, +uint32_t num_regions) {const struct intel_execution_engine2 *e;const intel_ctx_t *ctx;@@ -716,7 +739,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 ); +struct gem_engine_properties saved_engine;find_first_available_engine (fd, ctx, e, saved_engine);@@ -726,7 +749,8 @@ 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, system_region); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size, + region, num_regions);gem_close (fd, handle);put_ahnd (ahnd);@@ -764,9 +788,10 @@ igt_mainint fd =-1 ;int dir =-1 ;struct drm_i915_query_memory_regions *query_info; -struct igt_collection *regions, *set; -char *sub_name; -uint32_t region; +struct drm_i915_gem_memory_class_instance region_smem = { + .memory_class =I915_MEMORY_CLASS_SYSTEM , + .memory_instance =0 , + }; igt_fixture {int gen;@@ -788,56 +813,60 @@ igt_mainigt_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) { -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); +for_each_memory_region (r, fd) { + igt_dynamic_f("%s-%s", e->name, r->name) +capture (fd, dir, ctx, e, &r->ci, + query_info->num_regions); } } - igt_subtest_f("many-4K-zero") { + igt_subtest_with_dynamic("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,1 <<12 ,0 ); +for_each_memory_region (r, fd) { + igt_dynamic_f("%s", r->name) +many (fd, dir,1 <<12 ,0 , &r->ci, + query_info->num_regions); + } } igt_subtest_f("many-4K-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,1 <<12 ,INCREMENTAL ); +many (fd, dir,1 <<12 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-2M-zero") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,2 <<20 ,0 ); +many (fd, dir,2 <<20 ,0 , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-2M-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,2 <<20 ,INCREMENTAL ); +many (fd, dir,2 <<20 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); } igt_subtest_f("many-256M-incremental") {igt_require (gem_can_store_dword (fd,0 )); -many (fd, dir,256 <<20 ,INCREMENTAL ); +many (fd, dir,256 <<20 ,INCREMENTAL , ®ion_smem, + query_info->num_regions); }/* And check we can read from different types of objects */ igt_subtest_f("userptr") {igt_require (gem_can_store_dword (fd,0 )); -userptr (fd, dir); +userptr (fd, dir, ®ion_smem, query_info->num_regions); } test_each_engine("pi", fd, ctx, e) igt_dynamic_f("%s", (e)->name) -prioinv (fd, dir, ctx, e); +prioinv (fd, dir, ctx, e, ®ion_smem, + query_info->num_regions); igt_fixture {close (dir);Signature · 1 line
2.35.1