* [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free
@ 2020-05-21 7:48 Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 1/5] lib/gpu_cmds: Add media pipeline functions based on intel_bb Zbigniew Kempczyński
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev
Continue migration process to be libdrm free in gpgpu/media/render
tests.
Zbigniew Kempczyński (5):
lib/gpu_cmds: Add media pipeline functions based on intel_bb
lib/media_fill: libdrm-free media pipeline creation
lib/intel_batchbuffer: Add new media fillfunc v2
i915/gem_media_fill: Remove libdrm dependency
HAX: run media_fill in BAT only
lib/gpu_cmds.c | 43 +++++++
lib/gpu_cmds.h | 11 ++
lib/intel_batchbuffer.c | 26 ++++
lib/intel_batchbuffer.h | 1 +
lib/media_fill.c | 168 ++++++++++++++++++++++++++
lib/media_fill.h | 29 +++++
tests/i915/gem_media_fill.c | 127 ++++++++++++++-----
tests/intel-ci/fast-feedback.testlist | 161 +-----------------------
8 files changed, 378 insertions(+), 188 deletions(-)
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 1/5] lib/gpu_cmds: Add media pipeline functions based on intel_bb
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
@ 2020-05-21 7:48 ` Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 2/5] lib/media_fill: libdrm-free media pipeline creation Zbigniew Kempczyński
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev; +Cc: Chris Wilson
Add "_v2" versions of media pipeline creation functions.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
lib/gpu_cmds.c | 43 +++++++++++++++++++++++++++++++++++++++++++
lib/gpu_cmds.h | 11 +++++++++++
2 files changed, 54 insertions(+)
diff --git a/lib/gpu_cmds.c b/lib/gpu_cmds.c
index 788f2eb6..2eb09cd4 100644
--- a/lib/gpu_cmds.c
+++ b/lib/gpu_cmds.c
@@ -1331,3 +1331,46 @@ gen8_emit_gpgpu_walk_v2(struct intel_bb *ibb,
/* bottom mask, height 1, always 0xffffffff */
intel_bb_out(ibb, 0xffffffff);
}
+
+void
+gen8_emit_media_state_flush_v2(struct intel_bb *ibb)
+{
+ intel_bb_out(ibb, GEN8_MEDIA_STATE_FLUSH | (2 - 2));
+ intel_bb_out(ibb, 0);
+}
+
+void
+gen_emit_media_object_v2(struct intel_bb *ibb,
+ unsigned int xoffset, unsigned int yoffset)
+{
+ intel_bb_out(ibb, GEN7_MEDIA_OBJECT | (8 - 2));
+
+ /* interface descriptor offset */
+ intel_bb_out(ibb, 0);
+
+ /* without indirect data */
+ intel_bb_out(ibb, 0);
+ intel_bb_out(ibb, 0);
+
+ /* scoreboard */
+ intel_bb_out(ibb, 0);
+ intel_bb_out(ibb, 0);
+
+ /* inline data (xoffset, yoffset) */
+ intel_bb_out(ibb, xoffset);
+ intel_bb_out(ibb, yoffset);
+ if (AT_LEAST_GEN(ibb->devid, 8) && !IS_CHERRYVIEW(ibb->devid))
+ gen8_emit_media_state_flush_v2(ibb);
+}
+
+void
+gen7_emit_media_objects_v2(struct intel_bb *ibb,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height)
+{
+ int i, j;
+
+ for (i = 0; i < width / 16; i++)
+ for (j = 0; j < height / 16; j++)
+ gen_emit_media_object_v2(ibb, x + i * 16, y + j * 16);
+}
diff --git a/lib/gpu_cmds.h b/lib/gpu_cmds.h
index 61aff153..ab5fe74b 100644
--- a/lib/gpu_cmds.h
+++ b/lib/gpu_cmds.h
@@ -202,4 +202,15 @@ gen8_emit_gpgpu_walk_v2(struct intel_bb *ibb,
unsigned int x, unsigned int y,
unsigned int width, unsigned int height);
+void
+gen8_emit_media_state_flush_v2(struct intel_bb *ibb);
+
+void
+gen_emit_media_object_v2(struct intel_bb *ibb,
+ unsigned int xoffset, unsigned int yoffset);
+
+void
+gen7_emit_media_objects_v2(struct intel_bb *ibb,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height);
#endif /* GPU_CMDS_H */
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 2/5] lib/media_fill: libdrm-free media pipeline creation
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 1/5] lib/gpu_cmds: Add media pipeline functions based on intel_bb Zbigniew Kempczyński
@ 2020-05-21 7:48 ` Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2 Zbigniew Kempczyński
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev; +Cc: Chris Wilson
Add libdrm-free pipeline creation functions for media fill for all
gens (gen7+). Until all gpu_cmds code will be rewritten to use
intel_bb we have to keep libdrm-version code intact.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
lib/media_fill.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++
lib/media_fill.h | 29 ++++++++
2 files changed, 197 insertions(+)
diff --git a/lib/media_fill.c b/lib/media_fill.c
index b7d7f68c..0601f8f8 100644
--- a/lib/media_fill.c
+++ b/lib/media_fill.c
@@ -135,6 +135,7 @@ static const uint32_t gen12_media_kernel[][4] = {
*
*/
+#define PAGE_SIZE 4096
#define BATCH_STATE_SPLIT 2048
/* VFE STATE params */
#define THREADS 1
@@ -187,6 +188,49 @@ gen7_media_fillfunc(struct intel_batchbuffer *batch,
intel_batchbuffer_reset(batch);
}
+void
+gen7_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color)
+{
+ struct intel_bb *ibb;
+ uint32_t curbe_buffer, interface_descriptor;
+
+ ibb = intel_bb_create(i915, PAGE_SIZE);
+ intel_bb_add_object(ibb, buf->handle, 0, true);
+
+ intel_bb_ptr_set(ibb, BATCH_STATE_SPLIT);
+
+ curbe_buffer = gen7_fill_curbe_buffer_data_v2(ibb, color);
+ interface_descriptor = gen7_fill_interface_descriptor_v2(ibb, buf,
+ gen7_media_kernel,
+ sizeof(gen7_media_kernel));
+ intel_bb_ptr_set(ibb, 0);
+
+ /* media pipeline */
+ intel_bb_out(ibb, GEN7_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA);
+ gen7_emit_state_base_address_v2(ibb);
+
+ gen7_emit_vfe_state_v2(ibb, THREADS, MEDIA_URB_ENTRIES, MEDIA_URB_SIZE,
+ MEDIA_CURBE_SIZE, GEN7_VFE_STATE_MEDIA_MODE);
+
+ gen7_emit_curbe_load_v2(ibb, curbe_buffer);
+
+ gen7_emit_interface_descriptor_load_v2(ibb, interface_descriptor);
+
+ gen7_emit_media_objects_v2(ibb, x, y, width, height);
+
+ intel_bb_out(ibb, MI_BATCH_BUFFER_END);
+ intel_bb_ptr_align(ibb, 32);
+
+ intel_bb_exec(ibb, intel_bb_offset(ibb),
+ I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
+
+ intel_bb_destroy(ibb);
+}
+
void
gen8_media_fillfunc(struct intel_batchbuffer *batch,
const struct igt_buf *dst,
@@ -231,6 +275,49 @@ gen8_media_fillfunc(struct intel_batchbuffer *batch,
intel_batchbuffer_reset(batch);
}
+void
+gen8_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color)
+{
+ struct intel_bb *ibb;
+ uint32_t curbe_buffer, interface_descriptor;
+
+ ibb = intel_bb_create(i915, PAGE_SIZE);
+ intel_bb_add_object(ibb, buf->handle, 0, true);
+
+ intel_bb_ptr_set(ibb, BATCH_STATE_SPLIT);
+
+ curbe_buffer = gen7_fill_curbe_buffer_data_v2(ibb, color);
+ interface_descriptor = gen8_fill_interface_descriptor_v2(ibb, buf,
+ gen8_media_kernel,
+ sizeof(gen8_media_kernel));
+ intel_bb_ptr_set(ibb, 0);
+
+ /* media pipeline */
+ intel_bb_out(ibb, GEN8_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA);
+ gen8_emit_state_base_address_v2(ibb);
+
+ gen8_emit_vfe_state_v2(ibb, THREADS, MEDIA_URB_ENTRIES, MEDIA_URB_SIZE,
+ MEDIA_CURBE_SIZE);
+
+ gen7_emit_curbe_load_v2(ibb, curbe_buffer);
+
+ gen7_emit_interface_descriptor_load_v2(ibb, interface_descriptor);
+
+ gen7_emit_media_objects_v2(ibb, x, y, width, height);
+
+ intel_bb_out(ibb, MI_BATCH_BUFFER_END);
+ intel_bb_ptr_align(ibb, 32);
+
+ intel_bb_exec(ibb, intel_bb_offset(ibb),
+ I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
+
+ intel_bb_destroy(ibb);
+}
+
static void
__gen9_media_fillfunc(struct intel_batchbuffer *batch,
const struct igt_buf *dst,
@@ -300,6 +387,75 @@ gen9_media_fillfunc(struct intel_batchbuffer *batch,
}
+static void
+__gen9_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color,
+ const uint32_t kernel[][4], size_t kernel_size)
+{
+ struct intel_bb *ibb;
+ uint32_t curbe_buffer, interface_descriptor;
+
+ ibb = intel_bb_create(i915, PAGE_SIZE);
+ intel_bb_add_object(ibb, buf->handle, 0, true);
+
+ /* setup states */
+ intel_bb_ptr_set(ibb, BATCH_STATE_SPLIT);
+
+ curbe_buffer = gen7_fill_curbe_buffer_data_v2(ibb, color);
+ interface_descriptor = gen8_fill_interface_descriptor_v2(ibb, buf,
+ kernel,
+ kernel_size);
+ intel_bb_ptr_set(ibb, 0);
+
+ /* media pipeline */
+ intel_bb_out(ibb, GEN8_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA |
+ GEN9_FORCE_MEDIA_AWAKE_ENABLE |
+ GEN9_SAMPLER_DOP_GATE_DISABLE |
+ GEN9_PIPELINE_SELECTION_MASK |
+ GEN9_SAMPLER_DOP_GATE_MASK |
+ GEN9_FORCE_MEDIA_AWAKE_MASK);
+ gen9_emit_state_base_address_v2(ibb);
+
+ gen8_emit_vfe_state_v2(ibb, THREADS, MEDIA_URB_ENTRIES, MEDIA_URB_SIZE,
+ MEDIA_CURBE_SIZE);
+
+ gen7_emit_curbe_load_v2(ibb, curbe_buffer);
+
+ gen7_emit_interface_descriptor_load_v2(ibb, interface_descriptor);
+
+ gen7_emit_media_objects_v2(ibb, x, y, width, height);
+
+ intel_bb_out(ibb, GEN8_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA |
+ GEN9_FORCE_MEDIA_AWAKE_DISABLE |
+ GEN9_SAMPLER_DOP_GATE_ENABLE |
+ GEN9_PIPELINE_SELECTION_MASK |
+ GEN9_SAMPLER_DOP_GATE_MASK |
+ GEN9_FORCE_MEDIA_AWAKE_MASK);
+
+ intel_bb_out(ibb, MI_BATCH_BUFFER_END);
+ intel_bb_ptr_align(ibb, 32);
+
+ intel_bb_exec(ibb, intel_bb_offset(ibb),
+ I915_EXEC_DEFAULT | I915_EXEC_NO_RELOC, true);
+
+ intel_bb_destroy(ibb);
+}
+
+void
+gen9_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color)
+{
+
+ __gen9_media_fillfunc_v2(i915, buf, x, y, width, height, color,
+ gen8_media_kernel, sizeof(gen8_media_kernel));
+}
+
static void
__gen11_media_vme_func(struct intel_batchbuffer *batch,
const struct igt_buf *src,
@@ -380,3 +536,15 @@ gen12_media_fillfunc(struct intel_batchbuffer *batch,
__gen9_media_fillfunc(batch, dst, x, y, width, height, color,
gen12_media_kernel, sizeof(gen12_media_kernel));
}
+
+void
+gen12_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color)
+{
+ __gen9_media_fillfunc_v2(i915, buf, x, y, width, height, color,
+ gen12_media_kernel, sizeof(gen12_media_kernel));
+}
+
diff --git a/lib/media_fill.h b/lib/media_fill.h
index a001482e..84fd460b 100644
--- a/lib/media_fill.h
+++ b/lib/media_fill.h
@@ -27,6 +27,7 @@
#include <stdint.h>
#include "intel_batchbuffer.h"
+#include "intel_bufops.h"
void
gen8_media_fillfunc(struct intel_batchbuffer *batch,
@@ -42,6 +43,20 @@ gen7_media_fillfunc(struct intel_batchbuffer *batch,
unsigned int width, unsigned int height,
uint8_t color);
+void
+gen7_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color);
+
+void
+gen8_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color);
+
void
gen9_media_fillfunc(struct intel_batchbuffer *batch,
const struct igt_buf *dst,
@@ -49,6 +64,13 @@ gen9_media_fillfunc(struct intel_batchbuffer *batch,
unsigned int width, unsigned int height,
uint8_t color);
+void
+gen9_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color);
+
void
gen11_media_vme_func(struct intel_batchbuffer *batch,
const struct igt_buf *src,
@@ -62,4 +84,11 @@ gen12_media_fillfunc(struct intel_batchbuffer *batch,
unsigned int width, unsigned int height,
uint8_t color);
+void
+gen12_media_fillfunc_v2(int i915,
+ struct intel_buf *buf,
+ unsigned int x, unsigned int y,
+ unsigned int width, unsigned int height,
+ uint8_t color);
+
#endif /* RENDE_MEDIA_FILL_H */
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 1/5] lib/gpu_cmds: Add media pipeline functions based on intel_bb Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 2/5] lib/media_fill: libdrm-free media pipeline creation Zbigniew Kempczyński
@ 2020-05-21 7:48 ` Zbigniew Kempczyński
2020-05-21 8:02 ` Chris Wilson
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 4/5] i915/gem_media_fill: Remove libdrm dependency Zbigniew Kempczyński
` (3 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev; +Cc: Chris Wilson
Media fill function selection for "_v2" version.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
lib/intel_batchbuffer.c | 26 ++++++++++++++++++++++++++
lib/intel_batchbuffer.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index b7e86854..686374fb 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -1118,6 +1118,32 @@ igt_fillfunc_t igt_get_media_fillfunc(int devid)
return fill;
}
+
+/**
+ * igt_get_media_fillfunc_v2:
+ * @devid: pci device id
+ *
+ * Returns:
+ *
+ * The platform-specific media fill function pointer for the device specified
+ * with @devid. Will return NULL when no media fill function is implemented.
+ */
+igt_fillfunc_v2_t igt_get_media_fillfunc_v2(int devid)
+{
+ igt_fillfunc_v2_t fill = NULL;
+
+ if (IS_GEN12(devid))
+ fill = gen12_media_fillfunc_v2;
+ else if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
+ fill = gen9_media_fillfunc_v2;
+ else if (IS_GEN8(devid))
+ fill = gen8_media_fillfunc_v2;
+ if (IS_GEN7(devid))
+ fill = gen7_media_fillfunc_v2;
+
+ return fill;
+}
+
igt_vme_func_t igt_get_media_vme_func(int devid)
{
igt_vme_func_t fill = NULL;
diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
index 0d95427c..e7ac58fa 100644
--- a/lib/intel_batchbuffer.h
+++ b/lib/intel_batchbuffer.h
@@ -401,6 +401,7 @@ typedef void (*igt_fillfunc_v2_t)(int i915,
igt_fillfunc_t igt_get_media_fillfunc(int devid);
igt_fillfunc_t igt_get_gpgpu_fillfunc(int devid);
igt_fillfunc_v2_t igt_get_gpgpu_fillfunc_v2(int devid);
+igt_fillfunc_v2_t igt_get_media_fillfunc_v2(int devid);
typedef void (*igt_vme_func_t)(struct intel_batchbuffer *batch,
const struct igt_buf *src,
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 4/5] i915/gem_media_fill: Remove libdrm dependency
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
` (2 preceding siblings ...)
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2 Zbigniew Kempczyński
@ 2020-05-21 7:48 ` Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 5/5] HAX: run media_fill in BAT only Zbigniew Kempczyński
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev; +Cc: Chris Wilson
We still have some dependencies to libdrm code in other tests so
"divide and conquer" strategy is required to migrate and remove
old code. Add no-libdrm version to continue migration process.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/gem_media_fill.c | 127 ++++++++++++++++++++++++++++--------
1 file changed, 99 insertions(+), 28 deletions(-)
diff --git a/tests/i915/gem_media_fill.c b/tests/i915/gem_media_fill.c
index 3f0fec57..7c975577 100644
--- a/tests/i915/gem_media_fill.c
+++ b/tests/i915/gem_media_fill.c
@@ -63,6 +63,7 @@ typedef struct {
uint32_t devid;
drm_intel_bufmgr *bufmgr;
uint8_t linear[WIDTH * HEIGHT];
+ struct buf_ops *bops;
} data_t;
static void scratch_buf_init(data_t *data, struct igt_buf *buf,
@@ -86,6 +87,34 @@ static void scratch_buf_init(data_t *data, struct igt_buf *buf,
buf->bpp = 32;
}
+static struct intel_buf *
+create_buf(data_t *data, int width, int height, uint8_t color)
+{
+ struct intel_buf *buf;
+ uint8_t *ptr;
+ int i;
+
+ buf = calloc(1, sizeof(*buf));
+ igt_assert(buf);
+
+ /*
+ * Legacy code uses 32 bpp after buffer creation.
+ * Let's do the same due to keep shader intact.
+ */
+ intel_buf_init(data->bops, buf, width/4, height, 32, 0,
+ I915_TILING_NONE, 0);
+
+ ptr = gem_mmap__cpu_coherent(data->drm_fd,
+ buf->handle, 0, buf->size, PROT_WRITE);
+
+ for (i = 0; i < buf->size; i++)
+ ptr[i] = color;
+
+ munmap(ptr, buf->size);
+
+ return buf;
+}
+
static void
scratch_buf_check(data_t *data, struct igt_buf *buf, int x, int y,
uint8_t color)
@@ -100,48 +129,90 @@ scratch_buf_check(data_t *data, struct igt_buf *buf, int x, int y,
color, val, x, y);
}
-igt_simple_main
+static void buf_check(uint8_t *ptr, int x, int y, uint8_t color)
+{
+ uint8_t val;
+
+ val = ptr[y * WIDTH + x];
+ igt_assert_f(val == color,
+ "Expected 0x%02x, found 0x%02x at (%d,%d)\n",
+ color, val, x, y);
+}
+
+static void no_libdrm(data_t *data, igt_fillfunc_v2_t fill)
+{
+ struct intel_buf *buf;
+ uint8_t *ptr;
+ int i, j;
+
+ buf = create_buf(data, WIDTH, HEIGHT, COLOR_C4);
+ ptr = gem_mmap__device_coherent(data->drm_fd, buf->handle,
+ 0, buf->size, PROT_READ);
+ for (i = 0; i < WIDTH; i++)
+ for (j = 0; j < HEIGHT; j++)
+ buf_check(ptr, i, j, COLOR_C4);
+
+ fill(data->drm_fd, buf, 0, 0, WIDTH / 2, HEIGHT / 2, COLOR_4C);
+
+ for (i = 0; i < WIDTH; i++)
+ for (j = 0; j < HEIGHT; j++)
+ if (i < WIDTH / 2 && j < HEIGHT / 2)
+ buf_check(ptr, i, j, COLOR_4C);
+ else
+ buf_check(ptr, i, j, COLOR_C4);
+
+ munmap(ptr, buf->size);
+}
+
+static void with_libdrm(data_t *data, igt_fillfunc_t fill)
{
- data_t data = {0, };
struct intel_batchbuffer *batch = NULL;
struct igt_buf dst;
- igt_fillfunc_t media_fill = NULL;
int i, j;
+ batch = intel_batchbuffer_alloc(data->bufmgr, data->devid);
+ igt_assert(batch);
+
+ scratch_buf_init(data, &dst, WIDTH, HEIGHT, STRIDE, COLOR_C4);
+
+ for (i = 0; i < WIDTH; i++)
+ for (j = 0; j < HEIGHT; j++)
+ scratch_buf_check(data, &dst, i, j, COLOR_C4);
+
+ fill(batch, &dst, 0, 0, WIDTH / 2, HEIGHT / 2, COLOR_4C);
+
+ for (i = 0; i < WIDTH; i++)
+ for (j = 0; j < HEIGHT; j++)
+ if (i < WIDTH / 2 && j < HEIGHT / 2)
+ scratch_buf_check(data, &dst, i, j, COLOR_4C);
+ else
+ scratch_buf_check(data, &dst, i, j, COLOR_C4);
+
+}
+
+igt_simple_main
+{
+ data_t data = {0, };
+ igt_fillfunc_t media_fill = NULL;
+ igt_fillfunc_v2_t media_fill_v2 = NULL;
+
data.drm_fd = drm_open_driver_render(DRIVER_INTEL);
igt_require_gem(data.drm_fd);
data.devid = intel_get_drm_devid(data.drm_fd);
+ data.bops = buf_ops_create(data.drm_fd);
data.bufmgr = drm_intel_bufmgr_gem_init(data.drm_fd, 4096);
igt_assert(data.bufmgr);
media_fill = igt_get_media_fillfunc(data.devid);
+ media_fill_v2 = igt_get_media_fillfunc_v2(data.devid);
- igt_require_f(media_fill,
- "no media-fill function\n");
+ igt_require_f(media_fill || media_fill_v2,
+ "no media-fill function\n");
- batch = intel_batchbuffer_alloc(data.bufmgr, data.devid);
- igt_assert(batch);
-
- scratch_buf_init(&data, &dst, WIDTH, HEIGHT, STRIDE, COLOR_C4);
-
- for (i = 0; i < WIDTH; i++) {
- for (j = 0; j < HEIGHT; j++) {
- scratch_buf_check(&data, &dst, i, j, COLOR_C4);
- }
- }
-
- media_fill(batch,
- &dst, 0, 0, WIDTH / 2, HEIGHT / 2,
- COLOR_4C);
-
- for (i = 0; i < WIDTH; i++) {
- for (j = 0; j < HEIGHT; j++) {
- if (i < WIDTH / 2 && j < HEIGHT / 2)
- scratch_buf_check(&data, &dst, i, j, COLOR_4C);
- else
- scratch_buf_check(&data, &dst, i, j, COLOR_C4);
- }
- }
+ if (media_fill_v2)
+ no_libdrm(&data, media_fill_v2);
+ else
+ with_libdrm(&data, media_fill);
}
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 5/5] HAX: run media_fill in BAT only
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
` (3 preceding siblings ...)
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 4/5] i915/gem_media_fill: Remove libdrm dependency Zbigniew Kempczyński
@ 2020-05-21 7:48 ` Zbigniew Kempczyński
2020-05-21 8:03 ` [igt-dev] ✓ Fi.CI.BAT: success for Change media fill to be libdrm-free Patchwork
2020-05-21 22:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
6 siblings, 0 replies; 9+ messages in thread
From: Zbigniew Kempczyński @ 2020-05-21 7:48 UTC (permalink / raw)
To: igt-dev
---
tests/intel-ci/fast-feedback.testlist | 161 +-------------------------
1 file changed, 1 insertion(+), 160 deletions(-)
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 04f6affc..56c12258 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -1,162 +1,3 @@
# Keep alphabetically sorted by default
-igt@core_auth@basic-auth
-igt@debugfs_test@read_all_entries
-igt@fbdev@mmap
-igt@gem_basic@bad-close
-igt@gem_basic@create-close
-igt@gem_basic@create-fd-close
-igt@gem_busy@busy@all
-igt@gem_close_race@basic-process
-igt@gem_close_race@basic-threads
-igt@gem_ctx_create@basic
-igt@gem_ctx_create@basic-files
-igt@gem_ctx_exec@basic
-igt@gem_exec_basic@basic
-igt@gem_exec_create@basic
-igt@gem_exec_fence@basic-busy
-igt@gem_exec_fence@basic-wait
-igt@gem_exec_fence@basic-await
-igt@gem_exec_fence@nb-await
-igt@gem_exec_gttfill@basic
-igt@gem_exec_parallel@engines
-igt@gem_exec_store@basic
-igt@gem_exec_suspend@basic-s0
-igt@gem_exec_suspend@basic-s3
-igt@gem_flink_basic@bad-flink
-igt@gem_flink_basic@bad-open
-igt@gem_flink_basic@basic
-igt@gem_flink_basic@double-flink
-igt@gem_flink_basic@flink-lifetime
-igt@gem_linear_blits@basic
-igt@gem_mmap@basic
-igt@gem_mmap_gtt@basic
-igt@gem_render_linear_blits@basic
-igt@gem_render_tiled_blits@basic
-igt@gem_ringfill@basic-all
-igt@gem_sync@basic-all
-igt@gem_sync@basic-each
-igt@gem_tiled_blits@basic
-igt@gem_tiled_fence_blits@basic
-igt@gem_tiled_pread_basic
-igt@gem_wait@busy@all
-igt@gem_wait@wait@all
-igt@i915_getparams_basic@basic-eu-total
-igt@i915_getparams_basic@basic-subslice-total
-igt@i915_hangman@error-state-basic
-igt@kms_addfb_basic@addfb25-bad-modifier
-igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling
-igt@kms_addfb_basic@addfb25-modifier-no-flag
-igt@kms_addfb_basic@addfb25-x-tiled
-igt@kms_addfb_basic@addfb25-x-tiled-mismatch
-igt@kms_addfb_basic@addfb25-yf-tiled
-igt@kms_addfb_basic@addfb25-y-tiled
-igt@kms_addfb_basic@addfb25-y-tiled-small
-igt@kms_addfb_basic@bad-pitch-0
-igt@kms_addfb_basic@bad-pitch-1024
-igt@kms_addfb_basic@bad-pitch-128
-igt@kms_addfb_basic@bad-pitch-256
-igt@kms_addfb_basic@bad-pitch-32
-igt@kms_addfb_basic@bad-pitch-63
-igt@kms_addfb_basic@bad-pitch-65536
-igt@kms_addfb_basic@bad-pitch-999
-igt@kms_addfb_basic@basic
-igt@kms_addfb_basic@basic-x-tiled
-igt@kms_addfb_basic@basic-y-tiled
-igt@kms_addfb_basic@bo-too-small
-igt@kms_addfb_basic@bo-too-small-due-to-tiling
-igt@kms_addfb_basic@clobberred-modifier
-igt@kms_addfb_basic@framebuffer-vs-set-tiling
-igt@kms_addfb_basic@invalid-get-prop
-igt@kms_addfb_basic@invalid-get-prop-any
-igt@kms_addfb_basic@invalid-set-prop
-igt@kms_addfb_basic@invalid-set-prop-any
-igt@kms_addfb_basic@no-handle
-igt@kms_addfb_basic@size-max
-igt@kms_addfb_basic@small-bo
-igt@kms_addfb_basic@tile-pitch-mismatch
-igt@kms_addfb_basic@too-high
-igt@kms_addfb_basic@too-wide
-igt@kms_addfb_basic@unused-handle
-igt@kms_addfb_basic@unused-modifier
-igt@kms_addfb_basic@unused-offsets
-igt@kms_addfb_basic@unused-pitches
-igt@kms_busy@basic
-igt@kms_chamelium@dp-hpd-fast
-igt@kms_chamelium@dp-edid-read
-igt@kms_chamelium@dp-crc-fast
-igt@kms_chamelium@hdmi-hpd-fast
-igt@kms_chamelium@hdmi-edid-read
-igt@kms_chamelium@hdmi-crc-fast
-igt@kms_chamelium@vga-hpd-fast
-igt@kms_chamelium@vga-edid-read
-igt@kms_chamelium@common-hpd-after-suspend
-igt@kms_prop_blob@basic
-igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic
-igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy
-igt@kms_cursor_legacy@basic-flip-after-cursor-atomic
-igt@kms_cursor_legacy@basic-flip-after-cursor-legacy
-igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size
-igt@kms_cursor_legacy@basic-flip-before-cursor-atomic
-igt@kms_cursor_legacy@basic-flip-before-cursor-legacy
-igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size
-igt@kms_flip@basic-flip-vs-dpms
-igt@kms_flip@basic-flip-vs-modeset
-igt@kms_flip@basic-flip-vs-wf_vblank
-igt@kms_flip@basic-plain-flip
-igt@kms_force_connector_basic@force-connector-state
-igt@kms_force_connector_basic@force-edid
-igt@kms_force_connector_basic@force-load-detect
-igt@kms_force_connector_basic@prune-stale-modes
-igt@kms_frontbuffer_tracking@basic
-igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
-igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a
-igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence
-igt@kms_pipe_crc_basic@read-crc-pipe-a
-igt@kms_pipe_crc_basic@read-crc-pipe-b
-igt@kms_pipe_crc_basic@read-crc-pipe-c
-igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
-igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a
-igt@kms_psr@primary_page_flip
-igt@kms_psr@cursor_plane_move
-igt@kms_psr@sprite_plane_onoff
-igt@kms_psr@primary_mmap_gtt
-igt@kms_setmode@basic-clone-single-crtc
-igt@i915_pm_backlight@basic-brightness
-igt@i915_pm_rpm@basic-pci-d3-state
-igt@i915_pm_rpm@basic-rte
-igt@i915_pm_rps@basic-api
-igt@prime_self_import@basic-llseek-bad
-igt@prime_self_import@basic-llseek-size
-igt@prime_self_import@basic-with_fd_dup
-igt@prime_self_import@basic-with_one_bo
-igt@prime_self_import@basic-with_one_bo_two_files
-igt@prime_self_import@basic-with_two_bos
-igt@prime_vgem@basic-fence-flip
-igt@prime_vgem@basic-fence-mmap
-igt@prime_vgem@basic-fence-read
-igt@prime_vgem@basic-gtt
-igt@prime_vgem@basic-read
-igt@prime_vgem@basic-write
-igt@vgem_basic@setversion
-igt@vgem_basic@create
-igt@vgem_basic@debugfs
-igt@vgem_basic@dmabuf-export
-igt@vgem_basic@dmabuf-fence
-igt@vgem_basic@dmabuf-fence-before
-igt@vgem_basic@dmabuf-mmap
-igt@vgem_basic@mmap
-igt@vgem_basic@second-client
-igt@vgem_basic@sysfs
-
-# All tests that do module unloading and reloading are executed last.
-# They will sometimes reveal issues of earlier tests leaving the
-# driver in a broken state that is not otherwise noticed in that test.
-
-igt@vgem_basic@unload
-igt@i915_module_load@reload
-igt@i915_pm_rpm@module-reload
-
-# Kernel selftests
-igt@i915_selftest@live
-igt@dmabuf@all
+igt@gem_media_fill
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2 Zbigniew Kempczyński
@ 2020-05-21 8:02 ` Chris Wilson
0 siblings, 0 replies; 9+ messages in thread
From: Chris Wilson @ 2020-05-21 8:02 UTC (permalink / raw)
To: zbigniew.kempczynski, igt-dev
Quoting Zbigniew Kempczyński (2020-05-21 08:48:21)
> +igt_fillfunc_v2_t igt_get_media_fillfunc_v2(int devid)
> +{
> + igt_fillfunc_v2_t fill = NULL;
> +
> + if (IS_GEN12(devid))
> + fill = gen12_media_fillfunc_v2;
> + else if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
> + fill = gen9_media_fillfunc_v2;
> + else if (IS_GEN8(devid))
> + fill = gen8_media_fillfunc_v2;
> + if (IS_GEN7(devid))
> + fill = gen7_media_fillfunc_v2;
A quick s/if (GEN7)/else if (GEN7)/
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Change media fill to be libdrm-free
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
` (4 preceding siblings ...)
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 5/5] HAX: run media_fill in BAT only Zbigniew Kempczyński
@ 2020-05-21 8:03 ` Patchwork
2020-05-21 22:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
6 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2020-05-21 8:03 UTC (permalink / raw)
To: Zbigniew Kempczyński; +Cc: igt-dev
== Series Details ==
Series: Change media fill to be libdrm-free
URL : https://patchwork.freedesktop.org/series/77501/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8516 -> IGTPW_4605
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
Changes
-------
No changes found
Participating hosts (46 -> 42)
------------------------------
Additional (1): fi-kbl-7560u
Missing (5): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5665 -> IGTPW_4605
CI-20190529: 20190529
CI_DRM_8516: 5db9df14788c0a6038aa05e180cde8065d724e43 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4605: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
IGT_5665: c5e5b0ce26fc321591a6d0235c639a1e8ec3cdfa @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for Change media fill to be libdrm-free
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
` (5 preceding siblings ...)
2020-05-21 8:03 ` [igt-dev] ✓ Fi.CI.BAT: success for Change media fill to be libdrm-free Patchwork
@ 2020-05-21 22:25 ` Patchwork
6 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2020-05-21 22:25 UTC (permalink / raw)
To: Zbigniew Kempczyński; +Cc: igt-dev
== Series Details ==
Series: Change media fill to be libdrm-free
URL : https://patchwork.freedesktop.org/series/77501/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8516_full -> IGTPW_4605_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
Known issues
------------
Here are the changes found in IGTPW_4605_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gen9_exec_parse@allowed-all:
- shard-apl: [PASS][1] -> [DMESG-WARN][2] ([i915#1436] / [i915#716])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl2/igt@gen9_exec_parse@allowed-all.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl3/igt@gen9_exec_parse@allowed-all.html
- shard-glk: [PASS][3] -> [DMESG-WARN][4] ([i915#1436] / [i915#716])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-glk2/igt@gen9_exec_parse@allowed-all.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-glk7/igt@gen9_exec_parse@allowed-all.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen:
- shard-kbl: [PASS][5] -> [FAIL][6] ([i915#54] / [i915#93] / [i915#95]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl4/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [PASS][7] -> [DMESG-WARN][8] ([i915#180])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl1/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size:
- shard-glk: [PASS][9] -> [INCOMPLETE][10] ([i915#58] / [k.org#198133])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-glk9/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-glk8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_fbcon_fbt@fbc:
- shard-tglb: [PASS][11] -> [FAIL][12] ([i915#1121])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-tglb2/igt@kms_fbcon_fbt@fbc.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-tglb8/igt@kms_fbcon_fbt@fbc.html
* igt@kms_flip_tiling@flip-changes-tiling-y:
- shard-apl: [PASS][13] -> [FAIL][14] ([i915#95])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl8/igt@kms_flip_tiling@flip-changes-tiling-y.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl4/igt@kms_flip_tiling@flip-changes-tiling-y.html
- shard-kbl: [PASS][15] -> [FAIL][16] ([i915#699] / [i915#93] / [i915#95])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl3/igt@kms_flip_tiling@flip-changes-tiling-y.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl6/igt@kms_flip_tiling@flip-changes-tiling-y.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-tglb: [PASS][17] -> [INCOMPLETE][18] ([i915#1602])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-tglb6/igt@kms_hdr@bpc-switch-suspend.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-tglb1/igt@kms_hdr@bpc-switch-suspend.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +5 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-kbl: [PASS][21] -> [DMESG-WARN][22] ([i915#180] / [i915#93] / [i915#95])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl7/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-kbl: [PASS][23] -> [FAIL][24] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl6/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl3/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html
- shard-apl: [PASS][25] -> [FAIL][26] ([fdo#108145] / [i915#265] / [i915#95])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl4/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl2/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441]) +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-iclb1/igt@kms_psr@psr2_cursor_render.html
#### Possible fixes ####
* {igt@gem_ctx_isolation@preservation-s3@rcs0}:
- shard-apl: [DMESG-WARN][29] ([i915#180]) -> [PASS][30] +9 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl3/igt@gem_ctx_isolation@preservation-s3@rcs0.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl7/igt@gem_ctx_isolation@preservation-s3@rcs0.html
* igt@i915_pm_dc@dc5-psr:
- shard-iclb: [FAIL][31] ([i915#1899]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-iclb3/igt@i915_pm_dc@dc5-psr.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-iclb6/igt@i915_pm_dc@dc5-psr.html
- shard-tglb: [FAIL][33] ([i915#1899]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-tglb1/igt@i915_pm_dc@dc5-psr.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-tglb8/igt@i915_pm_dc@dc5-psr.html
* igt@i915_pm_rpm@system-suspend-modeset:
- shard-kbl: [INCOMPLETE][35] ([i915#151] / [i915#155]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl4/igt@i915_pm_rpm@system-suspend-modeset.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl4/igt@i915_pm_rpm@system-suspend-modeset.html
* igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy:
- shard-kbl: [FAIL][37] ([i915#1566] / [i915#93] / [i915#95]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl7/igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl1/igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy.html
* {igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a2}:
- shard-glk: [FAIL][39] ([i915#79]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-glk2/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a2.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-glk5/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a2.html
* {igt@kms_flip@flip-vs-suspend@c-dp1}:
- shard-kbl: [DMESG-WARN][41] ([i915#180]) -> [PASS][42] +3 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl3/igt@kms_flip@flip-vs-suspend@c-dp1.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl3/igt@kms_flip@flip-vs-suspend@c-dp1.html
* igt@kms_flip_tiling@flip-changes-tiling-yf:
- shard-kbl: [FAIL][43] ([i915#699] / [i915#93] / [i915#95]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl6/igt@kms_flip_tiling@flip-changes-tiling-yf.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl7/igt@kms_flip_tiling@flip-changes-tiling-yf.html
- shard-apl: [FAIL][45] ([i915#95]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl4/igt@kms_flip_tiling@flip-changes-tiling-yf.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl1/igt@kms_flip_tiling@flip-changes-tiling-yf.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-iclb: [INCOMPLETE][47] ([i915#1185]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-iclb3/igt@kms_hdr@bpc-switch-suspend.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-iclb7/igt@kms_hdr@bpc-switch-suspend.html
* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][49] ([fdo#109441]) -> [PASS][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-iclb3/igt@kms_psr@psr2_suspend.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-iclb2/igt@kms_psr@psr2_suspend.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][51] ([i915#31]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl2/igt@kms_setmode@basic.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl6/igt@kms_setmode@basic.html
#### Warnings ####
* igt@kms_content_protection@lic:
- shard-apl: [TIMEOUT][53] ([i915#1319]) -> [FAIL][54] ([fdo#110321])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl4/igt@kms_content_protection@lic.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl7/igt@kms_content_protection@lic.html
* igt@kms_content_protection@uevent:
- shard-kbl: [FAIL][55] ([i915#357]) -> [FAIL][56] ([i915#357] / [i915#93] / [i915#95])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl3/igt@kms_content_protection@uevent.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl6/igt@kms_content_protection@uevent.html
- shard-apl: [FAIL][57] ([i915#357]) -> [FAIL][58] ([i915#357] / [i915#95])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl8/igt@kms_content_protection@uevent.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl4/igt@kms_content_protection@uevent.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [FAIL][59] ([i915#1121] / [i915#95]) -> [FAIL][60] ([i915#1525])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-apl1/igt@kms_fbcon_fbt@fbc-suspend.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-apl4/igt@kms_fbcon_fbt@fbc-suspend.html
- shard-kbl: [FAIL][61] ([i915#1121] / [i915#93] / [i915#95]) -> [FAIL][62] ([i915#64])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8516/shard-kbl4/igt@kms_fbcon_fbt@fbc-suspend.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/shard-kbl6/igt@kms_fbcon_fbt@fbc-suspend.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[i915#1121]: https://gitlab.freedesktop.org/drm/intel/issues/1121
[i915#1185]: https://gitlab.freedesktop.org/drm/intel/issues/1185
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1525]: https://gitlab.freedesktop.org/drm/intel/issues/1525
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1566]: https://gitlab.freedesktop.org/drm/intel/issues/1566
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1899]: https://gitlab.freedesktop.org/drm/intel/issues/1899
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#357]: https://gitlab.freedesktop.org/drm/intel/issues/357
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58
[i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64
[i915#699]: https://gitlab.freedesktop.org/drm/intel/issues/699
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5665 -> IGTPW_4605
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8516: 5db9df14788c0a6038aa05e180cde8065d724e43 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4605: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
IGT_5665: c5e5b0ce26fc321591a6d0235c639a1e8ec3cdfa @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4605/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-05-21 22:25 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21 7:48 [igt-dev] [PATCH i-g-t 0/5] Change media fill to be libdrm-free Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 1/5] lib/gpu_cmds: Add media pipeline functions based on intel_bb Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 2/5] lib/media_fill: libdrm-free media pipeline creation Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2 Zbigniew Kempczyński
2020-05-21 8:02 ` Chris Wilson
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 4/5] i915/gem_media_fill: Remove libdrm dependency Zbigniew Kempczyński
2020-05-21 7:48 ` [igt-dev] [PATCH i-g-t 5/5] HAX: run media_fill in BAT only Zbigniew Kempczyński
2020-05-21 8:03 ` [igt-dev] ✓ Fi.CI.BAT: success for Change media fill to be libdrm-free Patchwork
2020-05-21 22:25 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.