lib: Add blt command properties for lunarlake
PATCH v5 1/6 lib: Add blt command properties for lunarlake
In reply to a message not in the archiveAdd blt_cmd_info struct to describe properties of XY_BLOCK_COPY for XE2 platform. Reuse XY_FAST_COPY struct from DG2 and Update the definitions for Lunarlake.
--- lib/intel_cmds_info.c | 16 ++++++++++++++++ lib/intel_cmds_info.h | 1 + lib/intel_device_info.c | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-)
lib/intel_cmds_info.c +16 -0
@@ -67,6 +67,15 @@ static const struct blt_cmd_infoBLT_CMD_EXTENDED | BLT_CMD_SUPPORTS_COMPRESSION); +static const struct blt_cmd_info + xe2_xy_block_copy =BLT_INFO_EXT (XY_BLOCK_COPY , +BIT (T_LINEAR ) | +BIT (T_XMAJOR ) | +BIT (T_TILE4 ) | +BIT (T_TILE64 ), +BLT_CMD_EXTENDED | +BLT_CMD_SUPPORTS_COMPRESSION ); +static const struct blt_cmd_info mtl_xy_block_copy = BLT_INFO_EXT(XY_BLOCK_COPY, BIT(T_LINEAR) |
@@ -169,6 +178,13 @@ const struct intel_cmds_info gen12_pvc_cmds_info = { } }; +const struct intel_cmds_info xe2_cmds_info = { + .blt_cmds = { + [XY_FAST_COPY ] = &dg2_xy_fast_copy, + [XY_BLOCK_COPY ] = &xe2_xy_block_copy, + } +}; +const struct blt_cmd_info *blt_get_cmd_info (const struct intel_cmds_info *cmds_info,enum blt_cmd_type cmd) {
lib/intel_cmds_info.h +1 -0
@@ -55,6 +55,7 @@ extern const struct intel_cmds_info gen12_cmds_info;extern const struct intel_cmds_info gen12_dg2_cmds_info;extern const struct intel_cmds_info gen12_mtl_cmds_info;extern const struct intel_cmds_info gen12_pvc_cmds_info; +extern const struct intel_cmds_info xe2_cmds_info;#define for_each_tiling (__tiling) \ for (__tiling = T_LINEAR; __tiling < __BLT_MAX_TILING; __tiling++)
lib/intel_device_info.c +1 -1
@@ -511,7 +511,7 @@ static const struct intel_device_info intel_lunarlake_info = { .has_4tile = true, .is_lunarlake = true, .codename = "lunarlake", - .cmds_info = &gen12_pvc_cmds_info, + .cmds_info = &xe2_cmds_info, };static const struct pci_id_match intel_device_match[] = {
Signature · 1 line
2.34.1
PATCH v5 2/6 lib/intel_blt: Update calculation of ccs_size and size_of_ctrl_copy
In reply to a message not in the archiveThe Main-to-CCS Ratio for XE2 has been changed to 512:1. Update the CCS_RATIO macro to select relevant ratio based on platform.
--- lib/intel_blt.c | 15 +++++++++------ lib/intel_blt.h | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-)
lib/intel_blt.c +9 -6
@@ -948,15 +948,16 @@ int blt_block_copy(int fd,return ret; } -static uint16_t __ccs_size (const struct blt_ctrl_surf_copy_data *surf) +static uint16_t __ccs_size (int fd,const struct blt_ctrl_surf_copy_data *surf) {uint32_t src_size, dst_size; +uint16_t ccsratio =CCS_RATIO (fd); src_size = surf->src.access_type ==DIRECT_ACCESS ? - surf->src.size : surf->src.size /CCS_RATIO ; + surf->src.size : surf->src.size / ccsratio; dst_size = surf->dst.access_type ==DIRECT_ACCESS ? - surf->dst.size : surf->dst.size /CCS_RATIO ; + surf->dst.size : surf->dst.size / ccsratio;igt_assert_f (src_size <= dst_size,"dst size must be >= src size for CCS copy\n" );
@@ -1118,6 +1119,8 @@ uint64_t emit_blt_ctrl_surf_copy(int fd,uint64_t dst_offset, src_offset, bb_offset, alignment;uint32_t bbe =MI_BATCH_BUFFER_END ;uint32_t *bb; +uint16_t num_ccs_blocks = (ip_ver >=IP_VER (20 ,0 )) ? + (xe_get_default_alignment (fd) /CCS_RATIO (fd)) :CCS_RATIO (fd);igt_assert_f (ahnd,"ctrl-surf-copy supports softpin only\n" );igt_assert_f (surf,"ctrl-surf-copy requires data to do ctrl-surf-copy blit\n" );
@@ -1136,7 +1139,7 @@ uint64_t emit_blt_ctrl_surf_copy(int fd, data.xe2.dw00.dst_access_type = surf->dst.access_type;/* Ensure dst has size capable to keep src ccs aux */ - data.xe2.dw00.size_of_ctrl_copy =__ccs_size (surf) /CCS_RATIO -1 ; + data.xe2.dw00.size_of_ctrl_copy =__ccs_size (fd, surf) / num_ccs_blocks -1 ; data.xe2.dw00.length =0x3 ; data.xe2.dw01.src_address_lo = src_offset;
@@ -1155,7 +1158,7 @@ uint64_t emit_blt_ctrl_surf_copy(int fd, data.gen12.dw00.dst_access_type = surf->dst.access_type;/* Ensure dst has size capable to keep src ccs aux */ - data.gen12.dw00.size_of_ctrl_copy =__ccs_size (surf) /CCS_RATIO -1 ; + data.gen12.dw00.size_of_ctrl_copy =__ccs_size (fd, surf) / num_ccs_blocks -1 ; data.gen12.dw00.length =0x3 ; data.gen12.dw01.src_address_lo = src_offset;
@@ -1808,7 +1811,7 @@ blt_create_object(const struct blt_copy_data *blt, uint32_t region, flags |=DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM ; size =ALIGN (size,xe_get_default_alignment (blt->fd)); - handle =xe_bo_create (blt->fd,0 , size, region, flags); + handle =xe_bo_create_flags (blt->fd,0 , size, region); }else {igt_assert (__gem_create_in_memory_regions (blt->fd, &handle, &size, region) ==0 );
lib/intel_blt.h +1 -1
@@ -52,7 +52,7 @@#include "igt.h" #include "intel_cmds_info.h" -#define CCS_RATIO 256 +#define CCS_RATIO (xe) (AT_LEAST_GEN(intel_get_drm_devid(xe), 20) ? 512 : 256)enum blt_color_depth { CD_8bit,
Signature · 1 line
2.34.1
PATCH v5 3/6 lib/intel_pat: Add uc_comp pat_index
In reply to a message not in the archiveCompression in XE2 is programmed through pat-index attribute. Add a dedicated pat-index for compression for XE2 and later platforms. The caller to this helper function ensures GFX version is correct.
--- lib/intel_pat.c | 14 +++++++++++++- lib/intel_pat.h | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-)
lib/intel_pat.c +13 -1
@@ -11,7 +11,7 @@ struct intel_pat_cache {uint8_t uc;/* UC + COH_NONE */ uint8_t wt;/* WT + COH_NONE */ uint8_t wb;/* WB + COH_AT_LEAST_1WAY */ - +uint8_t uc_comp;/* UC + COH_NONE + COMPRESSION, XE2 and later*/ uint8_t max_index; };
@@ -23,6 +23,7 @@ static void intel_get_pat_idx(int fd, struct intel_pat_cache *pat) pat->uc =3 ; pat->wt =15 ;/* Compressed + WB-transient */ pat->wb =2 ; + pat->uc_comp =12 ;/* Compressed + UC, XE2 and later */ pat->max_index =31 ; }else if (IS_METEORLAKE (dev_id)) { pat->uc =2 ;
@@ -60,6 +61,17 @@ uint8_t intel_get_pat_idx_uc(int fd)return pat.uc; } +uint8_t intel_get_pat_idx_uc_comp (int fd) +{ +struct intel_pat_cache pat = {}; + +uint16_t dev_id =intel_get_drm_devid (fd); +igt_assert (AT_LEAST_GEN (dev_id,20 )); + +intel_get_pat_idx (fd, &pat); +return pat.uc_comp; +} +uint8_t intel_get_pat_idx_wt (int fd) {struct intel_pat_cache pat = {};
lib/intel_pat.h +2 -0
@@ -16,4 +16,6 @@ uint8_t intel_get_pat_idx_uc(int fd);uint8_t intel_get_pat_idx_wt (int fd);uint8_t intel_get_pat_idx_wb (int fd); +uint8_t intel_get_pat_idx_uc_comp (int fd); +#endif /* INTEL_PAT_H */
Signature · 1 line
2.34.1
PATCH v5 4/6 lib/intel_blt: Update caching mode and pat_index
In reply to a message not in the archiveThe pat-index and caching mode for compression need to change to uc_comp in case of compression, else they just take the default value of pat_index.
--- lib/intel_blt.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
lib/intel_blt.c +10 -3
@@ -1797,7 +1797,8 @@ blt_create_object(const struct blt_copy_data *blt, uint32_t region,uint64_t size = width * height * bpp /8 ;uint32_t stride = tiling ==T_LINEAR ? width *4 : width;uint32_t handle; - +uint8_t pat_index =DEFAULT_PAT_INDEX ; +uint16_t cpu_caching;igt_assert_f (blt->driver,"Driver isn't set, have you called blt_copy_init()?\n" ); obj =calloc (1 ,sizeof (*obj));
@@ -1807,17 +1808,23 @@ blt_create_object(const struct blt_copy_data *blt, uint32_t region,if (blt->driver ==INTEL_DRIVER_XE ) {uint64_t flags =0 ; +if (AT_LEAST_GEN (intel_get_drm_devid (blt->fd),20 ) && compression) { + pat_index =intel_get_pat_idx_uc_comp (blt->fd); + cpu_caching =DRM_XE_GEM_CPU_CACHING_WC ; + }else + cpu_caching =__xe_default_cpu_caching_from_placement (blt->fd, region); +if (create_mapping && region !=system_memory (blt->fd)) flags |=DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM ; size =ALIGN (size,xe_get_default_alignment (blt->fd)); - handle =xe_bo_create_flags (blt->fd,0 , size, region); + handle =xe_bo_create_caching (blt->fd,0 , size, region, flags, cpu_caching); }else {igt_assert (__gem_create_in_memory_regions (blt->fd, &handle, &size, region) ==0 ); } -blt_set_object (obj, handle, size, region, mocs_index,DEFAULT_PAT_INDEX , tiling, +blt_set_object (obj, handle, size, region, mocs_index, pat_index, tiling, compression, compression_type);blt_set_geom (obj, stride,0 ,0 , width, height,0 ,0 );
Signature · 1 line
2.34.1
PATCH v5 5/6 tests/intel/gem_ccs: Add compression support for Lunarlake
In reply to a message not in the archiveUpdate the ccs_ratio call to get value according to platform.
--- tests/intel/gem_ccs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/intel/gem_ccs.c +1 -1
@@ -99,7 +99,7 @@ static void surf_copy(int i915,struct blt_block_copy_data_ext ext = {};struct blt_ctrl_surf_copy_data surf = {};uint32_t bb1, bb2, ccs, ccs2, *ccsmap, *ccsmap2; -uint64_t bb_size, ccssize = mid->size /CCS_RATIO ; +uint64_t bb_size, ccssize = mid->size / (CCS_RATIO (i915));uint32_t *ccscopy;uint8_t uc_mocs =intel_get_uc_mocs_index (i915);int result;
Signature · 1 line
2.34.1
PATCH v5 6/6 tests/intel/xe_ccs: Add compression support for Lunarlake
In reply to a message not in the archiveIn XE2 IGFX platform, sysmem also participates in compression.
So create all blt objects in sysmem itself, and update the pat-index to reflect the compression status. Since we need to align the buffer object size with page size and also have the src size and dst size of CCS copy to be equal, change the default width and height to 1024.
--- tests/intel/xe_ccs.c | 45 +++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-)
tests/intel/xe_ccs.c +26 -19
@@ -63,8 +63,8 @@ static struct param { .write_png = false, .print_bb = false, .print_surface_info = false, - .width = 512, - .height = 512, + .width = 1024, + .height = 1024, };struct test_config {
@@ -95,21 +95,27 @@ static void surf_copy(int xe,struct blt_block_copy_data_ext ext = {};struct blt_ctrl_surf_copy_data surf = {};uint32_t bb1, bb2, ccs, ccs2, *ccsmap, *ccsmap2; -uint64_t bb_size, ccssize = mid->size /CCS_RATIO ; +uint64_t bb_size, ccssize = mid->size / (CCS_RATIO (xe));uint32_t *ccscopy;uint8_t uc_mocs =intel_get_uc_mocs_index (xe);uint32_t sysmem =system_memory (xe); +uint8_t comp_pat_index =DEFAULT_PAT_INDEX ; +uint16_t cpu_caching =__xe_default_cpu_caching_from_placement (xe, sysmem);int result;igt_assert (mid->compression); +if (AT_LEAST_GEN (intel_get_drm_devid (xe),20 ) && mid->compression) { + comp_pat_index =intel_get_pat_idx_uc_comp (xe); + cpu_caching =DRM_XE_GEM_CPU_CACHING_WC ; + } ccscopy = (uint32_t *)malloc (ccssize); - ccs =xe_bo_create (xe,0 , ccssize, sysmem,0 ); - ccs2 =xe_bo_create (xe,0 , ccssize, sysmem,0 ); + ccs =xe_bo_create_caching (xe,0 , ccssize, sysmem,0 , cpu_caching); + ccs2 =xe_bo_create_caching (xe,0 , ccssize, sysmem,0 , cpu_caching);blt_ctrl_surf_copy_init (xe, &surf); surf.print_bb = param.print_bb;blt_set_ctrl_surf_object (&surf.src, mid->handle, mid->region, mid->size, - uc_mocs,DEFAULT_PAT_INDEX ,BLT_INDIRECT_ACCESS ); + uc_mocs, comp_pat_index,BLT_INDIRECT_ACCESS );blt_set_ctrl_surf_object (&surf.dst, ccs, sysmem, ccssize, uc_mocs,DEFAULT_PAT_INDEX ,DIRECT_ACCESS ); bb_size =xe_get_default_alignment (xe);
@@ -157,7 +163,7 @@ static void surf_copy(int xe,blt_set_ctrl_surf_object (&surf.src, ccs, sysmem, ccssize, uc_mocs,DEFAULT_PAT_INDEX ,DIRECT_ACCESS );blt_set_ctrl_surf_object (&surf.dst, mid->handle, mid->region, mid->size, - uc_mocs,DEFAULT_PAT_INDEX ,INDIRECT_ACCESS ); + uc_mocs, comp_pat_index,INDIRECT_ACCESS );blt_ctrl_surf_copy (xe, ctx,NULL , ahnd, &surf);intel_ctx_xe_sync (ctx, true);
@@ -234,10 +240,10 @@ static int blt_block_copy3(int xe,igt_assert_f (blt3,"block-copy3 requires data to do blit\n" ); alignment =xe_get_default_alignment (xe); -get_offset (ahnd, blt3->src.handle, blt3->src.size, alignment); -get_offset (ahnd, blt3->mid.handle, blt3->mid.size, alignment); -get_offset (ahnd, blt3->dst.handle, blt3->dst.size, alignment); -get_offset (ahnd, blt3->final.handle, blt3->final.size, alignment); +get_offset_pat_index (ahnd, blt3->src.handle, blt3->src.size, alignment, blt3->src.pat_index); +get_offset_pat_index (ahnd, blt3->mid.handle, blt3->mid.size, alignment, blt3->mid.pat_index); +get_offset_pat_index (ahnd, blt3->dst.handle, blt3->dst.size, alignment, blt3->dst.pat_index); +get_offset_pat_index (ahnd, blt3->final.handle, blt3->final.size, alignment, blt3->final.pat_index); bb_offset =get_offset (ahnd, blt3->bb.handle, blt3->bb.size, alignment);/* First blit src -> mid */
@@ -291,8 +297,8 @@ static void block_copy(int xe,uint64_t bb_size =xe_get_default_alignment (xe);uint64_t ahnd =intel_allocator_open (xe, ctx->vm,INTEL_ALLOCATOR_RELOC );uint32_t run_id = mid_tiling; -uint32_t mid_region = region2, bb; -uint32_t width = param.width, height = param.height; +uint32_t mid_region = (AT_LEAST_GEN (intel_get_drm_devid (xe),20 ) & !xe_has_vram (xe)) ? region1 : region2; +uint32_t width = param.width, height = param.height, bb;enum blt_compression mid_compression = config->compression;int mid_compression_format = param.compression_format;enum blt_compression_type comp_type =COMPRESSION_TYPE_3D ;
@@ -413,8 +419,8 @@ static void block_multicopy(int xe,uint64_t bb_size =xe_get_default_alignment (xe);uint64_t ahnd =intel_allocator_open (xe, ctx->vm,INTEL_ALLOCATOR_RELOC );uint32_t run_id = mid_tiling; -uint32_t mid_region = region2, bb; -uint32_t width = param.width, height = param.height; +uint32_t mid_region = (AT_LEAST_GEN (intel_get_drm_devid (xe),20 ) & !xe_has_vram (xe)) ? region1 : region2; +uint32_t width = param.width, height = param.height, bb;enum blt_compression mid_compression = config->compression;int mid_compression_format = param.compression_format;enum blt_compression_type comp_type =COMPRESSION_TYPE_3D ;
@@ -539,8 +545,9 @@ static void block_copy_test(int xe, region1 =igt_collection_get_value (regions,0 ); region2 =igt_collection_get_value (regions,1 ); -/* Compressed surface must be in device memory */ -if (config->compression && !XE_IS_VRAM_MEMORY_REGION (xe, region2)) +/* if not XE2, then Compressed surface must be in device memory */ +if (config->compression && !(AT_LEAST_GEN ((intel_get_drm_devid (xe)),20 )) && + !XE_IS_VRAM_MEMORY_REGION (xe, region2))continue ; regtxt =xe_memregion_dynamic_subtest_name (xe, regions);
@@ -621,8 +628,8 @@ const char *help_str =" -p\tWrite PNG\n" " -s\tPrint surface info\n" " -t\tTiling format (0 - linear, 1 - XMAJOR, 2 - YMAJOR, 3 - TILE4, 4 - TILE64)\n" -" -W\tWidth (default 512)\n" -" -H\tHeight (default 512)" +" -W\tWidth (default 1024)\n" +" -H\tHeight (default 1024)" ;igt_main_args ("bf:pst:W:H:" ,NULL , help_str, opt_handler,NULL )
Signature · 1 line
2.34.1
Patchwork
CI✗ Fi.CI.BUILD: failure for series starting with [i-g-t,v5,1/6] lib: Add blt command properties for lunarlake
In reply to a message not in the archive== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,v5,1/6] lib: Add blt command properties for lunarlake
URL : https://patchwork.freedesktop.org/series/127658/
State : failure
== Summary ==
IGT patchset build failed on latest successful build 0b796be8ce05cb2070ce5136d248f438c962d11e tests/intel: Add Xe peer2peer test
Tail of build.log:
[418/1665] Compiling C object 'tests/59830eb@@gem_ctx_exec@exe/intel_gem_ctx_exec.c.o'. [419/1665] Compiling C object 'tests/59830eb@@gem_exec_big@exe/intel_gem_exec_big.c.o'. [420/1665] Compiling C object 'tests/59830eb@@gem_ctx_sseu@exe/intel_gem_ctx_sseu.c.o'. [421/1665] Compiling C object 'tests/59830eb@@gem_ctx_param@exe/intel_gem_ctx_param.c.o'. [422/1665] Compiling C object 'tests/59830eb@@prime_vgem@exe/prime_vgem.c.o'. [423/1665] Compiling C object 'tests/59830eb@@gem_exec_lut_handle@exe/intel_gem_exec_lut_handle.c.o'. [424/1665] Compiling C object 'tests/59830eb@@gem_exec_gttfill@exe/intel_gem_exec_gttfill.c.o'. [425/1665] Compiling C object 'tests/59830eb@@gem_exec_alignment@exe/intel_gem_exec_alignment.c.o'. [426/1665] Compiling C object 'tests/59830eb@@gem_create@exe/intel_gem_create.c.o'. [427/1665] Compiling C object 'tests/59830eb@@gem_ctx_isolation@exe/intel_gem_ctx_isolation.c.o'. [428/1665] Compiling C object 'tests/59830eb@@gem_ctx_create@exe/intel_gem_ctx_create.c.o'. [429/1665] Compiling C object 'tests/59830eb@@gem_evict_everything@exe/intel_gem_evict_everything.c.o'. [430/1665] Compiling C object 'tests/59830eb@@gem_exec_parallel@exe/intel_gem_exec_parallel.c.o'. [431/1665] Compiling C object 'tests/59830eb@@gem_ctx_engines@exe/intel_gem_ctx_engines.c.o'. [432/1665] Compiling C object 'lib/76b5a35@@igt-intel_batchbuffer_c@sta/intel_batchbuffer.c.o'. [433/1665] Compiling C object 'tests/59830eb@@gem_ccs@exe/intel_gem_ccs.c.o'. [434/1665] Generating i915-perf-metrics-acmgt3 with a custom command.
[435/1665] Compiling C object 'tests/59830eb@@kms_atomic@exe/kms_atomic.c.o'. [436/1665] Compiling C object 'lib/76b5a35@@igt-igt_core_c@sta/igt_core.c.o'. [437/1665] Compiling C object 'tests/59830eb@@gem_busy@exe/intel_gem_busy.c.o'. [438/1665] Compiling C object 'tests/59830eb@@gem_blits@exe/intel_gem_blits.c.o'. [439/1665] Compiling C object 'tests/59830eb@@api_intel_allocator@exe/intel_api_intel_allocator.c.o'. [440/1665] Compiling C object 'tests/59830eb@@gen7_exec_parse@exe/intel_gen7_exec_parse.c.o'. [441/1665] Compiling C object 'tests/59830eb@@gem_ctx_switch@exe/intel_gem_ctx_switch.c.o'. [442/1665] Compiling C object 'tests/59830eb@@syncobj_timeline@exe/syncobj_timeline.c.o'. [443/1665] Compiling C object 'tests/59830eb@@gem_exec_params@exe/intel_gem_exec_params.c.o'. [444/1665] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen8_c@sta/rendercopy_gen8.c.o'. [445/1665] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'. [446/1665] Compiling C object 'tests/59830eb@@gem_ctx_persistence@exe/intel_gem_ctx_persistence.c.o'. [447/1665] Compiling C object 'lib/76b5a35@@igt-igt_chamelium_c@sta/igt_chamelium.c.o'. [448/1665] Compiling C object 'tests/59830eb@@gem_exec_capture@exe/intel_gem_exec_capture.c.o'. [449/1665] Compiling C object 'tests/59830eb@@drm_fdinfo@exe/intel_drm_fdinfo.c.o'. [450/1665] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen9_c@sta/rendercopy_gen9.c.o'. [451/1665] Compiling C object 'tests/59830eb@@gem_exec_flush@exe/intel_gem_exec_flush.c.o'. [452/1665] Compiling C object 'tests/59830eb@@gen9_exec_parse@exe/intel_gen9_exec_parse.c.o'. [453/1665] Compiling C object 'tests/59830eb@@gem_eio@exe/intel_gem_eio.c.o'. [454/1665] Compiling C object 'tests/59830eb@@gem_exec_fair@exe/intel_gem_exec_fair.c.o'. [455/1665] Compiling C object 'tests/59830eb@@gem_ctx_shared@exe/intel_gem_ctx_shared.c.o'. [456/1665] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'. [457/1665] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'. [458/1665] Compiling C object 'tests/59830eb@@api_intel_bb@exe/intel_api_intel_bb.c.o'. [459/1665] Compiling C object 'tests/59830eb@@gem_exec_latency@exe/intel_gem_exec_latency.c.o'. [460/1665] Compiling C object 'tests/59830eb@@gem_exec_nop@exe/intel_gem_exec_nop.c.o'. [461/1665] Compiling C object 'tests/59830eb@@gem_concurrent_blit@exe/intel_gem_concurrent_blit.c.o'. [462/1665] Compiling C object 'lib/76b5a35@@igt-igt_fb_c@sta/igt_fb.c.o'.
[463/1665] Compiling C object 'lib/76b5a35@@igt-igt_kms_c@sta/igt_kms.c.o'.
[464/1665] Compiling C object 'tests/59830eb@@gem_exec_balancer@exe/intel_gem_exec_balancer.c.o'. [465/1665] Compiling C object 'tests/59830eb@@gem_exec_fence@exe/intel_gem_exec_fence.c.o'. [466/1665] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.
Patchwork
CI✗ GitLab.Pipeline: warning for series starting with [i-g-t,v5,1/6] lib: Add blt command properties for lunarlake
In reply to a message not in the archive== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,v5,1/6] lib: Add blt command properties for lunarlake
URL : https://patchwork.freedesktop.org/series/127658/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1054838 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650769):
ninja: Entering directory `build'
[1/1495] Generating version.h with a custom command.
[2/1493] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/1493] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’; did you mean ‘__xe_default_cpu_caching’? [-Werror=implicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__xe_default_cpu_caching ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345458:step_script
section_start:1702345458:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345459:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650772):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/1151] Generating version.h with a custom command.
[2/1149] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
/usr/bin/aarch64-linux-gnu-gcc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’; did you mean ‘__xe_default_cpu_caching’? [-Werror=implicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__xe_default_cpu_caching ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345464:step_script
section_start:1702345464:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345464:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650771):
[1/1168] Generating version.h with a custom command.
[2/1166] Linking static target lib/libigt-i915_intel_decode_c.a.
[3/1166] Linking static target lib/libigt-intel_batchbuffer_c.a.
[4/1166] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
/usr/bin/arm-linux-gnueabihf-gcc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’; did you mean ‘__xe_default_cpu_caching’? [-Werror=implicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__xe_default_cpu_caching ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345465:step_script
section_start:1702345465:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345465:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650773):
ninja: Entering directory `build'
[1/1153] Generating version.h with a custom command.
[2/1151] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/1151] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
/usr/bin/mips-linux-gnu-gcc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/mips-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’; did you mean ‘__xe_default_cpu_caching’? [-Werror=implicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__xe_default_cpu_caching ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345465:step_script
section_start:1702345465:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345465:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650770):
ninja: Entering directory `build'
[1/402] Generating version.h with a custom command.
[2/400] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/400] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’; did you mean ‘__xe_default_cpu_caching’? [-Werror=implicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__xe_default_cpu_caching ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345459:step_script
section_start:1702345459:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345460:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650764):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/1500] Generating version.h with a custom command.
[2/1498] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/1498] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’ [-Werror=implicit-function-declaration]
1815 | cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345462:step_script
section_start:1702345462:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345463:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650768):
return ret;
^~~
../lib/intel_blt.c:1745:2: note: remove the 'if' if its condition is always false
if (mem->driver == INTEL_DRIVER_XE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/intel_blt.c:1737:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
../lib/intel_blt.c:1815:18: error: implicit declaration of function '__xe_default_cpu_caching_from_placement' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
^ 4 warnings and 1 error generated.
ninja: build stopped: subcommand failed. section_end:1702345464:step_script section_start:1702345464:cleanup_file_variables Cleaning up project directory and file based variables section_end:1702345465:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650767):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/1343] Generating version.h with a custom command.
[2/1341] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/1341] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’ [-Werror=implicit-function-declaration]
1815 | cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345460:step_script
section_start:1702345460:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345460:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650765):
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/1499] Generating version.h with a custom command.
[2/1497] Linking static target lib/libigt-intel_batchbuffer_c.a.
[3/1497] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/76b5a35@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’ [-Werror=implicit-function-declaration]
1815 | cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345462:step_script
section_start:1702345462:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345464:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/52650766):
ninja: Entering directory `build'
[1/1505] Generating version.h with a custom command.
[2/1503] Linking static target lib/libigt-media_spin_c.a.
[3/1503] Linking static target lib/libigt-intel_batchbuffer_c.a.
[4/1503] Compiling C object 'lib/lib@@igt-intel_blt_c@sta/intel_blt.c.o'.
FAILED: lib/lib@@igt-intel_blt_c@sta/intel_blt.c.o
cc -Ilib/lib@@igt-intel_blt_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="intel_blt"' -MD -MQ 'lib/lib@@igt-intel_blt_c@sta/intel_blt.c.o' -MF 'lib/lib@@igt-intel_blt_c@sta/intel_blt.c.o.d' -o 'lib/lib@@igt-intel_blt_c@sta/intel_blt.c.o' -c ../lib/intel_blt.c ../lib/intel_blt.c: In function ‘blt_create_object’:
../lib/intel_blt.c:1815:18: error: implicit declaration of function ‘__xe_default_cpu_caching_from_placement’ [-Werror=implicit-function-declaration]
1815 | cpu_caching = __xe_default_cpu_caching_from_placement(blt->fd, region);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/intel_blt.c:1815:18: warning: nested extern declaration of ‘__xe_default_cpu_caching_from_placement’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1702345460:step_script
section_start:1702345460:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1702345461:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1054838