Add support for intel_ctx_t in intel_bb
v4 cover Add support for intel_ctx_t in intel_bb
Currently, intel_bb assumes that context has a fixed set of engines, which might not be the case for contexts passed from the userspace. They may use a custom engines layout, so the legacy flags like I915_EXEC_BLT wouldn't match the actual engine indices.
To address this issue, the series adds an additional field to intel_bb, intel_ctx_cfg_t (intel_ctx_t configuration), that describes the engine instances, together with an engine index lookup function, find_engine(). The function added in the second patch is used by intel_bb_flush_render() and intel_bb_flush_blit() helpers.
The last patch in the series adds a test where we define a context with the blitter engine at index 0 (1 in the legacy mode) to verify that
(1) intel_bb can indeed handle external contexts, and (2) intel_bb_exec gets the correct engine id in intel_bb_flush_blit().
v4:
- Capture memcmp() return value in a variable and check it after freeing resources in misplaced_blitter()
- Free src and dst intel_bufs in misplaced_blitter() (as they were only being unmapped in the previous version)
v3:
- Add config param to intel_bb_create_full() and intel_bb_create_with_allocator()
- Move gem_require_context() check to the subtest definition
- Remove unnecessary brackets in has_ctx_cfg()
- Use igt_assert_f() to show an error message in find_engine()
- Remove redundant intel_bb_emit_bbe() call in misplaced_blitter()
- Add blitter copy instruction to misplaced_blitter() to make sure we found the correct engine (as it turns out, MI_FLUSH_DW executes on render engine with no hang or whatsoever)
v2:
- Add a blank line, removed by mistake, in __intel_bb_create()
- Update intel_bb_create_with_relocs_and_context() to handle intel_ctx_cfg_t
- Rewrite find_engine() to return engine id, and update intel_bb_flush_render() and intel_bb_flush_blit() accordingly
- Add MI_FLUSH_DW (a command that is available on blitter but not on render) to make sure we actually execute the batch buffer on the expected engine
All above suggested by Zbigniew
Karolina Drobnik (3):
lib/intel_batchbuffer: Extend __intel_bb_create to handle context
config
lib/intel_batchbuffer: Add support for custom engine layouts tests/api_intel_bb: Add misplaced_blitter test
lib/igt_draw.c | 2 +- lib/intel_batchbuffer.c | 100 +++++++++++++++++++++++++------- lib/intel_batchbuffer.h | 15 +++-- lib/media_fill.c | 2 +- tests/i915/api_intel_bb.c | 82 +++++++++++++++++++++++--- tests/i915/gem_ppgtt.c | 2 +- tests/i915/gem_pxp.c | 16 ++--- tests/i915/kms_fence_pin_leak.c | 2 +- tests/i915/perf.c | 18 +++--- 9 files changed, 183 insertions(+), 56 deletions(-)
--
2.25.1
PATCH v4 1/3 lib/intel_batchbuffer: Extend __intel_bb_create to handle context config
Currently, intel_bb stores context id with no information about the context itself. This means that intel batchbuffer can only execute on a fixed set of engines with pre-defined indices (so called legacy mode). To accommodate contexts with custom engine layouts, save the context configuration in intel_bb struct.
Update function calls to reflect that change.
--- lib/igt_draw.c | 2 +- lib/intel_batchbuffer.c | 52 ++++++++++++++++++++++++--------- lib/intel_batchbuffer.h | 15 ++++++---- lib/media_fill.c | 2 +- tests/i915/api_intel_bb.c | 12 ++++---- tests/i915/gem_ppgtt.c | 2 +- tests/i915/gem_pxp.c | 16 +++++----- tests/i915/kms_fence_pin_leak.c | 2 +- tests/i915/perf.c | 18 ++++++------ 9 files changed, 75 insertions(+), 46 deletions(-)
lib/igt_draw.c +1 -1
@@ -780,7 +780,7 @@ static void draw_rect_render(int fd, struct cmd_data *cmd_data, src =create_buf (fd, cmd_data->bops, &tmp,I915_TILING_NONE ); dst =create_buf (fd, cmd_data->bops, buf, tiling); - ibb =intel_bb_create_with_context (fd, cmd_data->ctx,PAGE_SIZE ); + ibb =intel_bb_create_with_context (fd, cmd_data->ctx,NULL ,PAGE_SIZE );rendercopy (ibb, src,0 ,0 , rect->w, rect->h, dst, rect->x, rect->y);
lib/intel_batchbuffer.c +38 -14
162 lines not on this page · raw message
lib/intel_batchbuffer.h +10 -5
@@ -486,6 +486,9 @@ struct intel_bb {uint32_t ctx;uint32_t vm_id; +/* Context configuration */ +intel_ctx_cfg_t *cfg; +/* Cache */ void *root;
@@ -514,18 +517,20 @@ struct intel_bb { };struct intel_bb * -intel_bb_create_full (int i915,uint32_t ctx,uint32_t size, -uint64_t start,uint64_t end, +intel_bb_create_full (int i915,uint32_t ctx,const intel_ctx_cfg_t *cfg, +uint32_t size,uint64_t start,uint64_t end,uint8_t allocator_type,enum allocator_strategy strategy);struct intel_bb * -intel_bb_create_with_allocator (int i915,uint32_t ctx, +intel_bb_create_with_allocator (int i915,uint32_t ctx,const intel_ctx_cfg_t *cfg,uint32_t size,uint8_t allocator_type);struct intel_bb *intel_bb_create (int i915,uint32_t size);struct intel_bb * -intel_bb_create_with_context (int i915,uint32_t ctx,uint32_t size); +intel_bb_create_with_context (int i915,uint32_t ctx,const intel_ctx_cfg_t *cfg, +uint32_t size);struct intel_bb *intel_bb_create_with_relocs (int i915,uint32_t size);struct intel_bb * -intel_bb_create_with_relocs_and_context (int i915,uint32_t ctx,uint32_t size); +intel_bb_create_with_relocs_and_context (int i915,uint32_t ctx, +const intel_ctx_cfg_t *cfg,uint32_t size);struct intel_bb *intel_bb_create_no_relocs (int i915,uint32_t size);void intel_bb_destroy (struct intel_bb *ibb);
lib/media_fill.c +1 -1
@@ -309,7 +309,7 @@ __gen11_media_vme_func(int i915,struct intel_bb *ibb;uint32_t curbe_buffer, interface_descriptor; - ibb =intel_bb_create_with_context (i915, ctx,PAGE_SIZE ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,PAGE_SIZE );intel_bb_add_intel_buf (ibb, dst, true);intel_bb_add_intel_buf (ibb, src, false);
tests/i915/api_intel_bb.c +6 -6
@@ -183,7 +183,7 @@ static void simple_bb(struct buf_ops *bops, bool use_context)if (use_context)gem_require_contexts (i915); - ibb =intel_bb_create_with_allocator (i915, ctx,PAGE_SIZE , + ibb =intel_bb_create_with_allocator (i915, ctx,NULL ,PAGE_SIZE ,INTEL_ALLOCATOR_SIMPLE );if (debug_bb)intel_bb_set_debug (ibb, true);
@@ -202,7 +202,7 @@ static void simple_bb(struct buf_ops *bops, bool use_context)if (use_context) { ctx =gem_context_create (i915);intel_bb_destroy (ibb); - ibb =intel_bb_create_with_context (i915, ctx,PAGE_SIZE ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,PAGE_SIZE );intel_bb_out (ibb,MI_BATCH_BUFFER_END );intel_bb_ptr_align (ibb,8 ); intel_bb_exec(ibb, intel_bb_offset(ibb),
@@ -223,7 +223,7 @@ static void bb_with_allocator(struct buf_ops *bops)igt_require (gem_uses_full_ppgtt (i915)); - ibb =intel_bb_create_with_allocator (i915, ctx,PAGE_SIZE , + ibb =intel_bb_create_with_allocator (i915, ctx,NULL ,PAGE_SIZE ,INTEL_ALLOCATOR_SIMPLE );if (debug_bb)intel_bb_set_debug (ibb, true);
@@ -557,7 +557,7 @@ static void object_noreloc(struct buf_ops *bops, enum obj_cache_ops cache_op,igt_require (gem_uses_full_ppgtt (i915)); - ibb =intel_bb_create_with_allocator (i915,0 ,PAGE_SIZE , allocator_type); + ibb =intel_bb_create_with_allocator (i915,0 ,NULL ,PAGE_SIZE , allocator_type);if (debug_bb)intel_bb_set_debug (ibb, true);
@@ -671,7 +671,7 @@ static void blit(struct buf_ops *bops,if (do_relocs) { ibb =intel_bb_create_with_relocs (i915,PAGE_SIZE ); }else { - ibb =intel_bb_create_with_allocator (i915,0 ,PAGE_SIZE , + ibb =intel_bb_create_with_allocator (i915,0 ,NULL ,PAGE_SIZE , allocator_type); flags |=I915_EXEC_NO_RELOC ; }
@@ -1135,7 +1135,7 @@ static void delta_check(struct buf_ops *bops)uint64_t delta =gem_detect_safe_alignment (i915) +0x1000 ;bool supports_48bit; - ibb =intel_bb_create_with_allocator (i915,0 ,PAGE_SIZE , + ibb =intel_bb_create_with_allocator (i915,0 ,NULL ,PAGE_SIZE ,INTEL_ALLOCATOR_SIMPLE ); supports_48bit = ibb->supports_48b_address;if (!supports_48bit)
tests/i915/gem_ppgtt.c +1 -1
@@ -112,7 +112,7 @@ static void fork_rcs_copy(int timeout, uint32_t final, ctx =gem_context_create (buf_ops_get_fd (dst[child]->bops)); ibb =intel_bb_create_with_context (buf_ops_get_fd (dst[child]->bops), - ctx,4096 ); + ctx,NULL ,4096 ); i =0 ;igt_until_timeout (timeout) { src = create_bo(dst[child]->bops,
tests/i915/gem_pxp.c +8 -8
@@ -457,7 +457,7 @@ static void test_render_baseline(int i915)/* Perform a regular 3d copy as a control checkpoint */ ret =create_ctx_with_params (i915, false, false, false, false, &ctx);igt_assert_eq (ret,0 ); - ibb =intel_bb_create_with_context (i915, ctx,4096 ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,4096 );igt_assert (ibb); dstbo =alloc_and_fill_dest_buff (i915, false,TSTSURF_SIZE ,TSTSURF_INITCOLOR1 );
@@ -506,7 +506,7 @@ static void __test_render_pxp_src_to_protdest(int i915, uint32_t *outpixels, int ret =create_ctx_with_params (i915, true, true, true, false, &ctx);igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (i915, ctx),1 ); - ibb =intel_bb_create_with_context (i915, ctx,4096 ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,4096 );igt_assert (ibb);intel_bb_set_pxp (ibb, true,DISPLAY_APPTYPE ,I915_PROTECTED_CONTENT_DEFAULT_SESSION );
@@ -567,7 +567,7 @@ static void test_render_pxp_protsrc_to_protdest(int i915) ret =create_ctx_with_params (i915, true, true, true, false, &ctx);igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (i915, ctx),1 ); - ibb =intel_bb_create_with_context (i915, ctx,4096 ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,4096 );igt_assert (ibb);intel_bb_set_pxp (ibb, true,DISPLAY_APPTYPE ,I915_PROTECTED_CONTENT_DEFAULT_SESSION );
@@ -655,7 +655,7 @@ static void test_pxp_dmabuffshare_refcnt(void) ret =create_ctx_with_params (fd[n], true, true, true, false, &ctx[n]);igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (fd[n], ctx[n]),1 ); - ibb[n] =intel_bb_create_with_context (fd[n], ctx[n],4096 ); + ibb[n] =intel_bb_create_with_context (fd[n], ctx[n],NULL ,4096 );intel_bb_set_pxp (ibb[n], true,DISPLAY_APPTYPE ,I915_PROTECTED_CONTENT_DEFAULT_SESSION );
@@ -820,7 +820,7 @@ static void prepare_exec_assets(int i915, struct simple_exec_assets *data, bool ret =create_ctx_with_params (i915, false, false, false, false, &(data->ctx));igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (i915, data->ctx), ctx_pxp); - data->ibb =intel_bb_create_with_context (i915, data->ctx,4096 ); + data->ibb =intel_bb_create_with_context (i915, data->ctx,NULL ,4096 );igt_assert (data->ibb); data->fencebo =alloc_and_fill_dest_buff (i915, buf_pxp,4096 ,0 );
@@ -900,7 +900,7 @@ static void test_pxp_stale_buf_execution(int i915) ret =create_ctx_with_params (i915, true, true, true, false, &ctx2);igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (i915, ctx2),1 ); - ibb2 =intel_bb_create_with_context (i915, ctx2,4096 ); + ibb2 =intel_bb_create_with_context (i915, ctx2,NULL ,4096 );igt_assert (ibb2);intel_bb_remove_intel_buf (data.ibb, data.fencebuf);intel_bb_add_intel_buf (ibb2, data.fencebuf, true);
@@ -979,7 +979,7 @@ static void test_pxp_pwrcycle_staleasset_execution(int i915, struct powermgt_dat ret =create_ctx_with_params (i915, true, true, true, false, &ctx2);igt_assert_eq (ret,0 );igt_assert_eq (get_ctx_protected_param (i915, ctx2),1 ); - ibb2 =intel_bb_create_with_context (i915, ctx2,4096 ); + ibb2 =intel_bb_create_with_context (i915, ctx2,NULL ,4096 );igt_assert (ibb2);intel_bb_remove_intel_buf (data[1 ].ibb, data[1 ].fencebuf);intel_bb_add_intel_buf (ibb2, data[1 ].fencebuf, true);
@@ -1043,7 +1043,7 @@ static void setup_protected_fb(int i915, int width, int height, igt_fb_t *fb, ui fb->plane_bpp[0 ],0 , igt_fb_mod_to_tiling(fb->modifier), 0); - ibb =intel_bb_create_with_context (i915, ctx,4096 ); + ibb =intel_bb_create_with_context (i915, ctx,NULL ,4096 );igt_assert (ibb); ibb->pxp.enabled = true;
tests/i915/kms_fence_pin_leak.c +1 -1
@@ -62,7 +62,7 @@ static void exec_nop(data_t *data, struct igt_fb *fb, uint32_t ctx)intel_buf_set_ownership (dst, true); ibb =intel_bb_create_with_context (buf_ops_get_fd (data->bops), - ctx,4096 ); + ctx,NULL ,4096 );/* add the reloc to make sure the kernel will think we write to dst */ intel_bb_add_intel_buf (ibb, dst, true);
tests/i915/perf.c +9 -9
@@ -1662,7 +1662,7 @@ static void load_helper_init(void) lh.context_id =gem_context_create (drm_fd);igt_assert_neq (lh.context_id,0xffffffff ); - lh.ibb =intel_bb_create_with_context (drm_fd, lh.context_id,BATCH_SZ ); + lh.ibb =intel_bb_create_with_context (drm_fd, lh.context_id,NULL ,BATCH_SZ );scratch_buf_init (lh.bops, &lh.dst,1920 ,1080 ,0 );scratch_buf_init (lh.bops, &lh.src,1920 ,1080 ,0 );
@@ -3116,7 +3116,7 @@ gen12_test_mi_rpc(void)igt_assert_neq (ctx_id,INVALID_CTX_ID ); properties[1 ] = ctx_id; - ibb =intel_bb_create_with_context (drm_fd, ctx_id,BATCH_SZ ); + ibb =intel_bb_create_with_context (drm_fd, ctx_id,NULL ,BATCH_SZ ); buf =intel_buf_create (bops,4096 ,1 ,8 ,64 ,I915_TILING_NONE ,I915_COMPRESSION_NONE );
@@ -3195,7 +3195,7 @@ test_mi_rpc(void) ctx_id =gem_context_create (drm_fd); - ibb =intel_bb_create_with_context (drm_fd, ctx_id,BATCH_SZ ); + ibb =intel_bb_create_with_context (drm_fd, ctx_id,NULL ,BATCH_SZ ); buf =intel_buf_create (bops,4096 ,1 ,8 ,64 ,I915_TILING_NONE ,I915_COMPRESSION_NONE );
@@ -3322,8 +3322,8 @@ hsw_test_single_ctx_counters(void)*/ context0_id =gem_context_create (drm_fd); context1_id =gem_context_create (drm_fd); - ibb0 =intel_bb_create_with_context (drm_fd, context0_id,BATCH_SZ ); - ibb1 =intel_bb_create_with_context (drm_fd, context1_id,BATCH_SZ ); + ibb0 =intel_bb_create_with_context (drm_fd, context0_id,NULL ,BATCH_SZ ); + ibb1 =intel_bb_create_with_context (drm_fd, context1_id,NULL ,BATCH_SZ );igt_debug ("submitting warm up render_copy\n" );
@@ -3566,8 +3566,8 @@ gen8_test_single_ctx_render_target_writes_a_counter(void) context0_id =gem_context_create (drm_fd); context1_id =gem_context_create (drm_fd); - ibb0 =intel_bb_create_with_context (drm_fd, context0_id,BATCH_SZ ); - ibb1 =intel_bb_create_with_context (drm_fd, context1_id,BATCH_SZ ); + ibb0 =intel_bb_create_with_context (drm_fd, context0_id,NULL ,BATCH_SZ ); + ibb1 =intel_bb_create_with_context (drm_fd, context1_id,NULL ,BATCH_SZ );igt_debug ("submitting warm up render_copy\n" );
@@ -3972,8 +3972,8 @@ static void gen12_single_ctx_helper(void) context0_id =gem_context_create (drm_fd); context1_id =gem_context_create (drm_fd); - ibb0 =intel_bb_create_with_context (drm_fd, context0_id,BATCH_SZ ); - ibb1 =intel_bb_create_with_context (drm_fd, context1_id,BATCH_SZ ); + ibb0 =intel_bb_create_with_context (drm_fd, context0_id,NULL ,BATCH_SZ ); + ibb1 =intel_bb_create_with_context (drm_fd, context1_id,NULL ,BATCH_SZ );igt_debug ("submitting warm up render_copy\n" );
Signature · 1 line
2.25.1
PATCH v4 2/3 lib/intel_batchbuffer: Add support for custom engine layouts
In reply to Karolina DrobnikDon't assume fixed engine ids and use context configuration in intel_bb to find the appropriate engine when executing the batchbuffer.
--- lib/intel_batchbuffer.c | 48 ++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 8 deletions(-)
lib/intel_batchbuffer.c +40 -8
@@ -1495,6 +1495,28 @@ static bool aux_needs_softpin(int i915)return intel_gen (intel_get_drm_devid (i915)) >=12 ; } +static bool has_ctx_cfg (struct intel_bb *ibb) +{ +return ibb->cfg && ibb->cfg->num_engines >0 ; +} + +static uint32_t find_engine (struct intel_bb *ibb,unsigned int class) +{ +intel_ctx_cfg_t *cfg; +unsigned int i; +uint32_t engine_id =-1 ; + + cfg = ibb->cfg; +for (i =0 ; i < cfg->num_engines; i++) { +if (cfg->engines[i].engine_class == class) + engine_id = i; + } + +igt_assert_f (engine_id !=-1 ,"Requested engine not found!\n" ); + +return engine_id; +} +/** * intel_bb_create: * @i915: drm fd
@@ -2799,34 +2821,44 @@ void intel_bb_flush(struct intel_bb *ibb, uint32_t ring)* intel_bb_flush_render: * @ibb: batchbuffer * -* If batch is not empty emit batch buffer end, execute on render ring -* and reset the batch. Context used to execute is batch context. +* If batch is not empty emit batch buffer end, find the render engine id, +* execute on the ring and reset the batch. Context used to execute +* is batch context. */ void intel_bb_flush_render (struct intel_bb *ibb) { +uint32_t ring; +if (intel_bb_emit_flush_common (ibb) ==0 )return ; -intel_bb_exec_with_ring (ibb,I915_EXEC_RENDER ); +if (has_ctx_cfg (ibb)) + ring =find_engine (ibb,I915_ENGINE_CLASS_RENDER ); +else + ring =I915_EXEC_RENDER ; + +intel_bb_exec_with_ring (ibb, ring); }/* * intel_bb_flush_blit: * @ibb: batchbuffer * -* If batch is not empty emit batch buffer end, execute on default/blit ring -* (depends on gen) and reset the batch. +* If batch is not empty emit batch buffer end, find a suitable ring +* (depending on gen and context configuration) and reset the batch. * Context used to execute is batch context. */ void intel_bb_flush_blit (struct intel_bb *ibb) { -uint32_t ring =I915_EXEC_DEFAULT ; +uint32_t ring;if (intel_bb_emit_flush_common (ibb) ==0 )return ; -if (HAS_BLT_RING (ibb->devid)) - ring =I915_EXEC_BLT ; +if (has_ctx_cfg (ibb)) + ring =find_engine (ibb,I915_ENGINE_CLASS_COPY ); +else + ring =HAS_BLT_RING (ibb->devid) ?I915_EXEC_BLT :I915_EXEC_DEFAULT ;intel_bb_exec_with_ring (ibb, ring); }
Signature · 1 line
2.25.1
PATCH v4 3/3 tests/api_intel_bb: Add misplaced_blitter test
In reply to Karolina DrobnikExercise intel_bb with a custom context engines layout.
--- tests/i915/api_intel_bb.c | 70 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 2 deletions(-)
tests/i915/api_intel_bb.c +68 -2
@@ -40,11 +40,15 @@#include "intel_bufops.h" #include "i915/gem_vm.h" #include "i915/i915_crc.h" +#include "i915/i915_blt.h" #define PAGE_SIZE 4096 -#define WIDTH 64 -#define HEIGHT 64 +#define WIDTH 64 +#define HEIGHT 64 +#define STRIDE (WIDTH * 4) +#define SIZE (HEIGHT * STRIDE) +#define COLOR_00 0x00#define COLOR_33 0x33#define COLOR_77 0x77
@@ -1209,6 +1213,62 @@ static void full_batch(struct buf_ops *bops)intel_bb_destroy (ibb); } +static void misplaced_blitter (struct buf_ops *bops) +{ +int i915 =buf_ops_get_fd (bops), i; +struct intel_bb *ibb; +struct intel_buf *src, *dst; +uint64_t value, *psrc, *pdst; +int cmp; + +/* Use custom configuration with blitter at index 0 */ +const intel_ctx_cfg_t cfg = (intel_ctx_cfg_t ) { + .num_engines =2 , + .engines = { + { .engine_class =I915_ENGINE_CLASS_COPY , + .engine_instance =0 + }, + { .engine_class =I915_ENGINE_CLASS_RENDER , + .engine_instance =0 + }, + }, + }; + +const intel_ctx_t *ctx =intel_ctx_create (i915, &cfg); + + ibb =intel_bb_create_with_context (i915, ctx->id, &ctx->cfg,PAGE_SIZE ); + +/* Prepare for blitter copy, done to verify we found the blitter engine */ + src =intel_buf_create (bops,WIDTH ,HEIGHT ,32 ,0 ,I915_TILING_NONE , +I915_COMPRESSION_NONE ); + dst =intel_buf_create (bops,WIDTH ,HEIGHT ,32 ,0 ,I915_TILING_NONE , +I915_COMPRESSION_NONE ); + psrc =intel_buf_device_map (src, true); + pdst =intel_buf_device_map (dst, true); + +/* Populate src with dummy values */ +memset (&value,COLOR_33 ,8 ); +for (i =0 ; i <SIZE /sizeof (value); i++) +memset (&psrc[i], value,8 ); + +intel_bb_copy_intel_buf (ibb, src, dst,SIZE ); +intel_bb_flush_blit (ibb); +intel_bb_sync (ibb); + + cmp =memcmp (pdst, psrc,SIZE ); + +intel_buf_unmap (src); +intel_buf_unmap (dst); +intel_buf_destroy (src); +intel_buf_destroy (dst); + +intel_bb_destroy (ibb); +intel_ctx_destroy (i915, ctx); + +/* Expect to see a successful copy */ +igt_assert_eq (cmp,0 ); +} +static int render (struct buf_ops *bops,uint32_t tiling,bool do_reloc,uint32_t width,uint32_t height) {
@@ -1581,6 +1641,12 @@ igt_main_args("dpibc:", NULL, help_str, opt_handler, NULL) igt_subtest("full-batch")full_batch (bops); +igt_describe ("Execute intel_bb with set of engines provided by userspace" ); + igt_subtest("misplaced-blitter") { +gem_require_contexts (i915); +misplaced_blitter (bops); + } + igt_subtest_with_dynamic("render") {for (i =0 ; i <ARRAY_SIZE (tests); i++) {const struct test *t = &tests[i];
Signature · 1 line
2.25.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for Add support for intel_ctx_t in intel_bb (rev4)
In reply to Karolina Drobnik== Series Details ==
== Series Details ==
Series: Add support for intel_ctx_t in intel_bb (rev4)
URL : https://patchwork.freedesktop.org/series/109993/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12331 -> IGTPW_8035
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
Participating hosts (40 -> 30)
------------------------------
Additional (2): fi-tgl-dsi fi-pnv-d510
Missing (12): bat-dg2-8 bat-adlm-1 bat-dg2-9 bat-adlp-6 bat-adlp-4 bat-adln-1 bat-atsm-1 bat-rplp-1 bat-rpls-1 bat-rpls-2 bat-dg2-11 bat-jsl-1
Known issues
------------
Here are the changes found in IGTPW_8035 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-bxt-dsi: [PASS][1] -> [DMESG-FAIL][2] ([i915#5334])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/fi-bxt-dsi/igt@i915_selftest@live@gt_heartbeat.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/fi-bxt-dsi/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-icl-u2: NOTRUN -> [SKIP][3] ([fdo#111827])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/fi-icl-u2/igt@[email protected]
* igt@kms_psr@primary_page_flip:
- fi-pnv-d510: NOTRUN -> [SKIP][4] ([fdo#109271]) +43 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/fi-pnv-d510/igt@kms_psr@primary_page_flip.html
#### Possible fixes ####
* igt@i915_selftest@live@execlists:
- fi-icl-u2: [INCOMPLETE][5] ([i915#4890]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/fi-icl-u2/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/fi-icl-u2/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4890]: https://gitlab.freedesktop.org/drm/intel/issues/4890
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#7125]: https://gitlab.freedesktop.org/drm/intel/issues/7125
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7038 -> IGTPW_8035
CI-20190529: 20190529
CI_DRM_12331: 279dcd38fe0ed3e23d752f5974648f7715711d7c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8035: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
IGT_7038: 5389b3f3b9b75df6bd8506e4aa3da357fd0c0ab1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@api_intel_bb@misplaced-blitter
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for Add support for intel_ctx_t in intel_bb (rev4)
In reply to Karolina Drobnik== Series Details ==
== Series Details ==
Series: Add support for intel_ctx_t in intel_bb (rev4)
URL : https://patchwork.freedesktop.org/series/109993/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12331_full -> IGTPW_8035_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
Participating hosts (7 -> 6)
------------------------------
Missing (1): pig-kbl-iris
New tests
---------
New tests have been introduced between CI_DRM_12331_full and IGTPW_8035_full:
### New IGT tests (1) ###
* igt@api_intel_bb@misplaced-blitter:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.02] s
Known issues
------------
Here are the changes found in IGTPW_8035_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@device_reset@unbind-reset-rebind:
- shard-snb: [PASS][1] -> [DMESG-WARN][2] ([i915#5507])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-snb5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb2/igt@[email protected]
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([i915#5507])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl6/igt@[email protected]
- shard-glk: [PASS][5] -> [DMESG-WARN][6] ([i915#5507])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk9/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk5/igt@[email protected]
- shard-iclb: [PASS][7] -> [DMESG-WARN][8] ([i915#5507])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@[email protected]
* igt@feature_discovery@psr2:
- shard-iclb: [PASS][9] -> [SKIP][10] ([i915#658])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb5/igt@[email protected]
* igt@gem_ccs@block-copy-uncompressed:
- shard-iclb: NOTRUN -> [SKIP][11] ([i915#5327])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-queued:
- shard-snb: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#1099]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb2/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-submit-fence:
- shard-iclb: [PASS][13] -> [SKIP][14] ([i915#4525])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][15] -> [FAIL][16] ([i915#2842])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl3/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][17] ([i915#2842])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#2842]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk2/igt@gem_exec_fair@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random:
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#4613])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#4613]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#4613])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb8/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-verify-ccs:
- shard-apl: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#4613]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl1/igt@[email protected]
* igt@gem_pxp@reject-modify-context-protection-on:
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#4270]) +2 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb5/igt@[email protected]
* igt@gem_pxp@verify-pxp-stale-buf-execution:
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#4270]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb5/igt@[email protected]
* igt@gem_render_copy@yf-tiled-to-vebox-x-tiled:
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#768])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@[email protected]
* igt@gem_userptr_blits@probe:
- shard-apl: NOTRUN -> [FAIL][27] ([i915#7247])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl1/igt@[email protected]
- shard-snb: NOTRUN -> [FAIL][28] ([i915#7224])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb2/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][29] ([i915#7224])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][30] ([i915#7247])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk8/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][31] ([i915#7247])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@gen7_exec_parse@chained-batch:
- shard-tglb: NOTRUN -> [SKIP][32] ([fdo#109289])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#109289])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@[email protected]
* igt@gen9_exec_parse@batch-zero-length:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#2527] / [i915#2856]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#2856])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@[email protected]
* igt@i915_pipe_stress@stress-xrgb8888-untiled:
- shard-apl: NOTRUN -> [FAIL][36] ([i915#7036])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl2/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [PASS][37] -> [FAIL][38] ([i915#3989] / [i915#454]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@[email protected]
* igt@i915_query@query-topology-unsupported:
- shard-tglb: NOTRUN -> [SKIP][39] ([fdo#109302])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#109302])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb1/igt@[email protected]
* igt@kms_big_fb@4-tiled-32bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][41] ([i915#5286])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][42] ([i915#5286])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111615]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][44] ([fdo#110723]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-snb: NOTRUN -> [SKIP][45] ([fdo#109271]) +102 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb2/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
- shard-glk: NOTRUN -> [SKIP][46] ([fdo#109271] / [i915#3886]) +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk5/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
- shard-iclb: NOTRUN -> [SKIP][47] ([fdo#109278] / [i915#3886]) +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-4_tiled_dg2_rc_ccs:
- shard-tglb: NOTRUN -> [SKIP][48] ([i915#3689] / [i915#6095]) +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@kms_ccs@pipe-b-crc-primary-rotation-180-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#3886]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl8/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_ccs:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271]) +75 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl8/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_ccs.html
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#3689]) +5 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb3/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_ccs.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-glk: NOTRUN -> [SKIP][52] ([fdo#109271]) +48 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk2/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#111615] / [i915#3689]) +3 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb5/igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs.html
* igt@kms_chamelium@dp-crc-fast:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109284] / [fdo#111827]) +3 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb8/igt@[email protected]
* igt@kms_chamelium@dp-edid-change-during-suspend:
- shard-glk: NOTRUN -> [SKIP][55] ([fdo#109271] / [fdo#111827]) +3 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk6/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-apl: NOTRUN -> [SKIP][56] ([fdo#109271] / [fdo#111827]) +3 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl6/igt@[email protected]
- shard-snb: NOTRUN -> [SKIP][57] ([fdo#109271] / [fdo#111827]) +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb2/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#109284] / [fdo#111827]) +3 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb2/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb@atomic:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109274] / [fdo#111825]) +11 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb5/igt@kms_cursor_legacy@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb@legacy:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109274]) +13 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible:
- shard-tglb: NOTRUN -> [SKIP][61] ([fdo#109274] / [fdo#111825] / [i915#3637]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-hdmi-a1:
- shard-glk: [PASS][62] -> [FAIL][63] ([i915#79])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk2/igt@kms_flip@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk9/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][64] ([i915#2587] / [i915#2672]) +4 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-tglb: NOTRUN -> [SKIP][65] ([i915#2587] / [i915#2672]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb7/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][66] ([i915#2672]) +6 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
- shard-iclb: NOTRUN -> [SKIP][67] ([fdo#109280]) +10 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-pwrite:
- shard-tglb: NOTRUN -> [SKIP][68] ([fdo#109280] / [fdo#111825]) +10 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-stridechange:
- shard-tglb: NOTRUN -> [SKIP][69] ([i915#6497]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb5/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-apl: NOTRUN -> [SKIP][70] ([fdo#109271] / [i915#658])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][71] ([i915#2920])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][72] ([fdo#109271] / [i915#658])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][73] ([i915#658])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb8/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [PASS][74] -> [SKIP][75] ([fdo#109441])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb8/igt@kms_psr@psr2_cursor_blt.html
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: NOTRUN -> [SKIP][76] ([fdo#109441])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@kms_psr@psr2_no_drrs.html
- shard-tglb: NOTRUN -> [FAIL][77] ([i915#132] / [i915#3467])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@kms_psr@psr2_no_drrs.html
* igt@kms_setmode@invalid-clone-single-crtc:
- shard-iclb: NOTRUN -> [SKIP][78] ([i915#3555]) +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#3555])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@[email protected]
* igt@kms_vblank@pipe-d-query-forked-hang:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109278]) +9 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-iclb: NOTRUN -> [SKIP][81] ([i915#2437])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#2437])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][83] ([i915#2437])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#2437])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk1/igt@[email protected]
* igt@prime_vgem@fence-flip-hang:
- shard-tglb: NOTRUN -> [SKIP][85] ([fdo#109295])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][86] ([fdo#109295])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@[email protected]
* igt@sysfs_clients@busy:
- shard-glk: NOTRUN -> [SKIP][87] ([fdo#109271] / [i915#2994])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk3/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@read:
- shard-iclb: [FAIL][88] -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb5/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb1/igt@[email protected]
- shard-apl: [FAIL][90] -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl1/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl7/igt@[email protected]
- shard-snb: [FAIL][92] -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-snb7/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-snb4/igt@[email protected]
- shard-tglb: [FAIL][94] -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-tglb3/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb6/igt@[email protected]
- shard-glk: [FAIL][96] -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk5/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk2/igt@[email protected]
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [SKIP][98] ([i915#4525]) -> [PASS][99] +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb7/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [FAIL][100] ([i915#2842]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-tglb3/igt@gem_exec_fair@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: [FAIL][102] ([i915#2842]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl7/igt@gem_exec_fair@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][104] ([i915#6537]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl8/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl2/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [SKIP][106] ([i915#433]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-tglb3/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb1/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1:
- shard-apl: [DMESG-WARN][108] ([i915#180]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-apl3/igt@kms_hdr@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-apl1/igt@kms_hdr@[email protected]
* igt@kms_plane_lowres@tiling-y@pipe-a-hdmi-a-1:
- shard-glk: [DMESG-FAIL][110] ([i915#118]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk8/igt@kms_plane_lowres@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk9/igt@kms_plane_lowres@[email protected]
* igt@kms_plane_lowres@tiling-y@pipe-c-hdmi-a-1:
- shard-glk: [FAIL][112] ([i915#7307]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk8/igt@kms_plane_lowres@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk9/igt@kms_plane_lowres@[email protected]
* igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-edp-1:
- shard-iclb: [SKIP][114] ([i915#5176]) -> [PASS][115] +2 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@kms_plane_scaling@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb5/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b-edp-1:
- shard-iclb: [SKIP][116] ([i915#5235]) -> [PASS][117] +2 similar issues
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@kms_plane_scaling@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@kms_plane_scaling@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][118] ([fdo#109441]) -> [PASS][119] +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb1/igt@kms_psr@psr2_sprite_blt.html
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-tglb: [SKIP][120] ([i915#5519]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-tglb3/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb3/igt@[email protected]
- shard-iclb: [SKIP][122] ([i915#5519]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb5/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@[email protected]
#### Warnings ####
* igt@gem_pread@exhaustion:
- shard-glk: [INCOMPLETE][124] ([i915#7248]) -> [WARN][125] ([i915#2658])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-glk8/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-glk5/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-tglb: [INCOMPLETE][126] ([i915#7248]) -> [WARN][127] ([i915#2658])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-tglb8/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-tglb3/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][128] ([i915#588]) -> [SKIP][129] ([i915#658])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb3/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][130] ([i915#2920]) -> [SKIP][131] ([i915#658])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb5/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-iclb: [SKIP][132] ([i915#658]) -> [SKIP][133] ([i915#2920])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb7/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-iclb: [SKIP][134] ([fdo#111068] / [i915#658]) -> [SKIP][135] ([i915#2920]) +1 similar issue
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb7/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: [SKIP][136] ([i915#2920]) -> [SKIP][137] ([fdo#111068] / [i915#658])
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12331/shard-iclb2/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/shard-iclb6/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3467]: https://gitlab.freedesktop.org/drm/intel/issues/3467
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#5507]: https://gitlab.freedesktop.org/drm/intel/issues/5507
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7036]: https://gitlab.freedesktop.org/drm/intel/issues/7036
[i915#7224]: https://gitlab.freedesktop.org/drm/intel/issues/7224
[i915#7247]: https://gitlab.freedesktop.org/drm/intel/issues/7247
[i915#7248]: https://gitlab.freedesktop.org/drm/intel/issues/7248
[i915#7307]: https://gitlab.freedesktop.org/drm/intel/issues/7307
[i915#768]: https://gitlab.freedesktop.org/drm/intel/issues/768
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7038 -> IGTPW_8035
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12331: 279dcd38fe0ed3e23d752f5974648f7715711d7c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8035: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
IGT_7038: 5389b3f3b9b75df6bd8506e4aa3da357fd0c0ab1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8035/index.html
Re: [igt-dev] [PATCH i-g-t v4 3/3] tests/api_intel_bb: Add misplaced_blitter test
In reply to Karolina DrobnikQuoted 108 lines · Karolina Drobnik
Exercise
intel_bbwith a custom context engines layout.Signed-off-by Karolina Drobnik <[email protected]>--- tests/i915/api_intel_bb.c | 70 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 2 deletions(-)tests/i915/api_intel_bb.c +68
-2@@ -40,11 +40,15 @@#include "intel_bufops.h" #include "i915/gem_vm.h" #include "i915/i915_crc.h" +#include "i915/i915_blt.h" #define PAGE_SIZE 4096 -#define WIDTH 64 -#define HEIGHT 64 +#define WIDTH 64 +#define HEIGHT 64 +#define STRIDE (WIDTH * 4) +#define SIZE (HEIGHT * STRIDE) +#define COLOR_00 0x00#define COLOR_33 0x33#define COLOR_77 0x77@@ -1209,6 +1213,62 @@ static void full_batch(struct buf_ops *bops)intel_bb_destroy (ibb); } +static void misplaced_blitter (struct buf_ops *bops) +{ +int i915 =buf_ops_get_fd (bops), i; +struct intel_bb *ibb; +struct intel_buf *src, *dst; +uint64_t value, *psrc, *pdst; +int cmp; + +/* Use custom configuration with blitter at index 0 */ +const intel_ctx_cfg_t cfg = (intel_ctx_cfg_t ) { + .num_engines =2 , + .engines = { + { .engine_class =I915_ENGINE_CLASS_COPY , + .engine_instance =0 + }, + { .engine_class =I915_ENGINE_CLASS_RENDER , + .engine_instance =0 + }, + }, + }; + +const intel_ctx_t *ctx =intel_ctx_create (i915, &cfg); + + ibb =intel_bb_create_with_context (i915, ctx->id, &ctx->cfg,PAGE_SIZE ); + +/* Prepare for blitter copy, done to verify we found the blitter engine */ + src =intel_buf_create (bops,WIDTH ,HEIGHT ,32 ,0 ,I915_TILING_NONE , +I915_COMPRESSION_NONE ); + dst =intel_buf_create (bops,WIDTH ,HEIGHT ,32 ,0 ,I915_TILING_NONE , +I915_COMPRESSION_NONE ); + psrc =intel_buf_device_map (src, true); + pdst =intel_buf_device_map (dst, true); + +/* Populate src with dummy values */ +memset (&value,COLOR_33 ,8 ); +for (i =0 ; i <SIZE /sizeof (value); i++) +memset (&psrc[i], value,8 ); + +intel_bb_copy_intel_buf (ibb, src, dst,SIZE ); +intel_bb_flush_blit (ibb); +intel_bb_sync (ibb); + + cmp =memcmp (pdst, psrc,SIZE ); + +intel_buf_unmap (src); +intel_buf_unmap (dst); +intel_buf_destroy (src); +intel_buf_destroy (dst); + +intel_bb_destroy (ibb); +intel_ctx_destroy (i915, ctx); + +/* Expect to see a successful copy */ +igt_assert_eq (cmp,0 ); +} +static int render (struct buf_ops *bops,uint32_t tiling,bool do_reloc,uint32_t width,uint32_t height) {@@ -1581,6 +1641,12 @@ igt_main_args("dpibc:", NULL, help_str, opt_handler, NULL) igt_subtest("full-batch")full_batch (bops); +igt_describe ("Execute intel_bb with set of engines provided by userspace" ); + igt_subtest("misplaced-blitter") { +gem_require_contexts (i915); +misplaced_blitter (bops); + } + igt_subtest_with_dynamic("render") {for (i =0 ; i <ARRAY_SIZE (tests); i++) {const struct test *t = &tests[i];Signature · 1 line
2.25.1
Ok, looks good for me now:
--
Zbigniew