Skip to contentSkip to conversation

tests/gem_render_copy: Add software tiling / detiling support

PATCH In review Zbigniew Kempczyński 3 participants 5 messages Nov 29, 2019 – Nov 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/gem_render_copy: Add software tiling / detiling support

Older GENs have mmapable GGTT which does buffer tiling / detaling automatically. Newer GENs have looses this possibility so software tiling / detiling is required.

Heavy code refactoring was done to allow configure specific tile buffer operations regarding to GENx generation.

Cc Chris Wilson <[email protected]>
Cc Imre Deak <[email protected]>
Cc Katarzyna Dec <[email protected]>
---
 tests/i915/gem_render_copy.c | 491 ++++++++++++++++++++++++++++-------
 1 file changed, 403 insertions(+), 88 deletions(-)
tests/i915/gem_render_copy.c +403 -88
index 67be079c..cbd616a7 100644
@@ -53,16 +53,119 @@ IGT_TEST_DESCRIPTION("Basic test for the render_copy() function.");
 #define WIDTH 512
 #define HEIGHT 512
 
+struct gen_format;
+
 typedef struct {
 	int drm_fd;
 	uint32_t devid;
 	drm_intel_bufmgr *bufmgr;
 	struct intel_batchbuffer *batch;
 	igt_render_copyfunc_t render_copy;
+	struct gen_format *format;
 } data_t;
 static int opt_dump_png = false;
 static int check_all_pixels = false;
 
+typedef void (*fn_copy)(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_gtt(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_wc(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_cpu(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_x(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_y(data_t *, struct igt_buf *, uint32_t *);
+static void copy_linear_to_yf(data_t *, struct igt_buf *, uint32_t *);
+static void copy_gtt_to_linear(data_t *, struct igt_buf *, uint32_t *);
+static void copy_wc_to_linear(data_t *, struct igt_buf *, uint32_t *);
+static void copy_cpu_to_linear(data_t *, struct igt_buf *, uint32_t *);
+static void copy_x_to_linear(data_t *, struct igt_buf *, uint32_t *);
+static void copy_y_to_linear(data_t *, struct igt_buf *, uint32_t *);
+static void copy_yf_to_linear(data_t *, struct igt_buf *, uint32_t *);
+
+#define TILE_NONE   (1 << I915_TILING_NONE)
+#define TILE_X      (1 << I915_TILING_X)
+#define TILE_Y      (1 << I915_TILING_Y)
+#define TILE_Yf     (1 << I915_TILING_Yf)
+#define TILE_Ys     (1 << I915_TILING_Ys)
+
+struct gen_format {
+	int gen_start;
+	int gen_end;
+	uint32_t supported_tiles;
+	uint32_t hw_tiles;
+	fn_copy linear_to;
+	fn_copy linear_to_x;
+	fn_copy linear_to_y;
+	fn_copy linear_to_yf;
+	fn_copy linear_to_ys;
+	fn_copy to_linear;
+	fn_copy x_to_linear;
+	fn_copy y_to_linear;
+	fn_copy yf_to_linear;
+	fn_copy ys_to_linear;
+};
+
+struct gen_format gen_formats[] = {
+	/* Generations 0 - 8 */
+	{ .gen_start         = 0,
+	  .gen_end           = 8,
+	  .supported_tiles   = TILE_NONE | TILE_X | TILE_Y,
+	  .hw_tiles          = TILE_X | TILE_Y,
+	  .linear_to         = copy_linear_to_cpu,
+	  .linear_to_x       = copy_linear_to_gtt,
+	  .linear_to_y       = copy_linear_to_gtt,
+	  .to_linear         = copy_cpu_to_linear,
+	  .x_to_linear       = copy_gtt_to_linear,
+	  .y_to_linear       = copy_gtt_to_linear,
+	},
+	/* Generations 9 - 11 */
+	{ .gen_start         = 9,
+	  .gen_end           = 11,
+	  .supported_tiles   = TILE_NONE | TILE_X | TILE_Y | TILE_Yf,
+	  .hw_tiles          = TILE_X | TILE_Y,
+	  .linear_to         = copy_linear_to_cpu,
+	  .linear_to_x       = copy_linear_to_gtt,
+	  .linear_to_y       = copy_linear_to_gtt,
+	  .linear_to_yf      = copy_linear_to_yf,
+	  .to_linear         = copy_cpu_to_linear,
+	  .x_to_linear       = copy_gtt_to_linear,
+	  .y_to_linear       = copy_gtt_to_linear,
+	  .yf_to_linear      = copy_yf_to_linear,
+	},
+	/* Generation 12 */
+	{ .gen_start         = 12,
+	  .gen_end           = 12,
+	  .supported_tiles   = TILE_NONE | TILE_X | TILE_Y | TILE_Yf | TILE_Ys,
+	  .linear_to         = copy_linear_to_wc,
+	  .linear_to_x       = copy_linear_to_x,
+	  .linear_to_y       = copy_linear_to_y,
+	  .linear_to_yf      = copy_linear_to_yf,
+	  .linear_to_ys      = NULL,               /* to be implemented */
+	  .to_linear         = copy_wc_to_linear,
+	  .x_to_linear       = copy_x_to_linear,
+	  .y_to_linear       = copy_y_to_linear,
+	  .yf_to_linear      = copy_yf_to_linear,
+	  .ys_to_linear      = NULL,               /* to be implemented */
+	},
+};
+
+static struct gen_format *get_gen_format(int generation)
+{
+	struct gen_format *fmt = NULL;
+
+	for (int i = 0; i < ARRAY_SIZE(gen_formats); i++) {
+		if (generation >= gen_formats[i].gen_start &&
+		    generation <= gen_formats[i].gen_end) {
+			fmt = &gen_formats[i];
+			igt_debug("generation: %d, supported tiles: 0x%02x\n",
+				  generation, fmt->supported_tiles);
+			break;
+		}
+	}
+
+	igt_assert(fmt);
+
+	return fmt;
+}
+
 static const char *make_filename(const char *filename)
 {
 	static char buf[64];
@@ -72,6 +175,62 @@ static const char *make_filename(const char *filename)
 	return buf;
 }
 
+static void *alloc_aligned(uint64_t size)
+{
+	void *p;
+
+	igt_assert_eq(posix_memalign(&p, 16, size), 0);
+
+	return p;
+}
+
+static void *x_ptr(void *ptr,
+		   unsigned int x, unsigned int y,
+		   unsigned int stride, unsigned int cpp)
+{
+	const int tile_width = 512;
+	const int tile_height = 8;
+	const int tile_size = tile_width * tile_height;
+	int tile_x, tile_y;
+	int offset_x, offset_y, pos;
+
+	x *= cpp;
+	tile_x = x / tile_width;
+	tile_y = y / tile_height;
+	offset_x = (tile_x * tile_size);
+	offset_y = (tile_y * stride * tile_height);
+
+	pos = offset_y + offset_x +
+			(y % tile_height * tile_width) + (x % tile_width);
+
+	return ptr + pos;
+}
+
+static void *y_ptr(void *ptr,
+		   unsigned int x, unsigned int y,
+		   unsigned int stride, unsigned int cpp)
+{
+	const int tile_width = 128;
+	const int tile_height = 32;
+	const int owords = 16;
+	const int tile_size = tile_width * tile_height;
+	int tile_x, tile_y;
+	int offset_x, offset_y, pos;
+	int shift_x, shift_y;
+
+	x *= cpp;
+	tile_x = x / tile_width;
+	tile_y = y / tile_height;
+	offset_x = tile_x * tile_size;
+	offset_y = tile_y * stride * tile_height;
+	shift_x = x % owords + (x % tile_width) / owords * tile_width * cpp;
+	shift_y = y % tile_height * owords;
+
+	pos = offset_y + offset_x + shift_x + shift_y;
+
+	return ptr + pos;
+}
+
 static void *yf_ptr(void *ptr,
 		    unsigned int x, unsigned int y,
 		    unsigned int stride, unsigned int cpp)
@@ -102,11 +261,39 @@ static void *yf_ptr(void *ptr,
 		(((y & ~0x1f) >> 5) * row_size);
 }
 
-static void copy_linear_to_yf(data_t *data, struct igt_buf *buf,
-			      const uint32_t *linear)
+
+typedef void *(*fn_ptr)(void *, unsigned int, unsigned int,
+			unsigned int, unsigned int);
+static fn_ptr __get_tile_fn_ptr(int tiling)
+{
+	fn_ptr fn = NULL;
+
+	switch (tiling) {
+	case I915_TILING_X:
+		fn = x_ptr;
+		break;
+	case I915_TILING_Y:
+		fn = y_ptr;
+		break;
+	case I915_TILING_Yf:
+		fn = yf_ptr;
+		break;
+	case I915_TILING_Ys:
+		/* To be implemented */
+		break;
+	}
+
+	igt_assert_f(fn, "Can't find tile function for tiling: %d\n", tiling);
+
+	return fn;
+}
+
+static void __copy_linear_to(data_t *data, struct igt_buf *buf,
+			     const uint32_t *linear, int tiling)
 {
 	int height = igt_buf_height(buf);
 	int width = igt_buf_width(buf);
+	fn_ptr fn = __get_tile_fn_ptr(tiling);
 	void *map;
 
 	gem_set_domain(data->drm_fd, buf->bo->handle,
@@ -116,8 +303,8 @@ static void copy_linear_to_yf(data_t *data, struct igt_buf *buf,
 
 	for (int y = 0; y < height; y++) {
 		for (int x = 0; x < width; x++) {
-			uint32_t *ptr = yf_ptr(map, x, y,
-					       buf->stride, buf->bpp / 8);
+			uint32_t *ptr = fn(map, x, y,
+					   buf->stride, buf->bpp / 8);
 
 			*ptr = linear[y * width + x];
 		}
@@ -126,11 +313,30 @@ static void copy_linear_to_yf(data_t *data, struct igt_buf *buf,
 	munmap(map, buf->bo->size);
 }
 
-static void copy_yf_to_linear(data_t *data, struct igt_buf *buf,
+static void copy_linear_to_x(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	__copy_linear_to(data, buf, linear, I915_TILING_X);
+}
+
+static void copy_linear_to_y(data_t *data, struct igt_buf *buf,
 			      uint32_t *linear)
+{
+	__copy_linear_to(data, buf, linear, I915_TILING_Y);
+}
+
+static void copy_linear_to_yf(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	__copy_linear_to(data, buf, linear, I915_TILING_Yf);
+}
+
+static void __copy_to_linear(data_t *data, struct igt_buf *buf,
+			     uint32_t *linear, int tiling)
 {
 	int height = igt_buf_height(buf);
 	int width = igt_buf_width(buf);
+	fn_ptr fn = __get_tile_fn_ptr(tiling);
 	void *map;
 
 	gem_set_domain(data->drm_fd, buf->bo->handle,
@@ -140,8 +346,8 @@ static void copy_yf_to_linear(data_t *data, struct igt_buf *buf,
 
 	for (int y = 0; y < height; y++) {
 		for (int x = 0; x < width; x++) {
-			uint32_t *ptr = yf_ptr(map, x, y,
-					       buf->stride, buf->bpp / 8);
+			uint32_t *ptr = fn(map, x, y,
+					   buf->stride, buf->bpp / 8);
 
 			linear[y * width + x] = *ptr;
 		}
@@ -150,8 +356,26 @@ static void copy_yf_to_linear(data_t *data, struct igt_buf *buf,
 	munmap(map, buf->bo->size);
 }
 
+static void copy_yf_to_linear(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	__copy_to_linear(data, buf, linear, I915_TILING_Yf);
+}
+
+static void copy_x_to_linear(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	__copy_to_linear(data, buf, linear, I915_TILING_X);
+}
+
+static void copy_y_to_linear(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	__copy_to_linear(data, buf, linear, I915_TILING_Y);
+}
+
 static void copy_linear_to_gtt(data_t *data, struct igt_buf *buf,
-			       const uint32_t *linear)
+			       uint32_t *linear)
 {
 	void *map;
 
@@ -175,6 +399,38 @@ static void copy_gtt_to_linear(data_t *data, struct igt_buf *buf,
 		       I915_GEM_DOMAIN_GTT, 0);
 
 	map = gem_mmap__gtt(data->drm_fd, buf->bo->handle,
+			   buf->bo->size, PROT_READ);
+
+	igt_memcpy_from_wc(linear, map, buf->bo->size);
+
+	munmap(map, buf->bo->size);
+}
+
+static void copy_linear_to_wc(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	void *map;
+
+	gem_set_domain(data->drm_fd, buf->bo->handle,
+		       I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
+
+	map = gem_mmap__wc(data->drm_fd, buf->bo->handle, 0,
+			   buf->bo->size, PROT_READ | PROT_WRITE);
+
+	memcpy(map, linear, buf->bo->size);
+
+	munmap(map, buf->bo->size);
+}
+
+static void copy_wc_to_linear(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	void *map;
+
+	gem_set_domain(data->drm_fd, buf->bo->handle,
+		       I915_GEM_DOMAIN_GTT, 0);
+
+	map = gem_mmap__wc(data->drm_fd, buf->bo->handle, 0,
 			    buf->bo->size, PROT_READ);
 
 	igt_memcpy_from_wc(linear, map, buf->bo->size);
@@ -182,19 +438,90 @@ static void copy_gtt_to_linear(data_t *data, struct igt_buf *buf,
 	munmap(map, buf->bo->size);
 }
 
-static void *linear_copy(data_t *data, struct igt_buf *buf)
+static void copy_linear_to_cpu(data_t *data, struct igt_buf *buf,
+			       uint32_t *linear)
 {
-	void *linear;
+	void *map;
+
+	gem_set_domain(data->drm_fd, buf->bo->handle,
+		       I915_GEM_DOMAIN_CPU, I915_GEM_DOMAIN_CPU);
 
-	/* 16B alignment allows to potentially make use of SSE4 for copying */
-	igt_assert_eq(posix_memalign(&linear, 16, buf->bo->size), 0);
+	map = gem_mmap__cpu(data->drm_fd, buf->bo->handle, 0,
+			    buf->bo->size, PROT_READ | PROT_WRITE);
 
-	if (buf->tiling == I915_TILING_Yf)
-		copy_yf_to_linear(data, buf, linear);
-	else
-		copy_gtt_to_linear(data, buf, linear);
+	memcpy(map, linear, buf->bo->size);
 
-	return linear;
+	munmap(map, buf->bo->size);
+}
+
+static void copy_cpu_to_linear(data_t *data, struct igt_buf *buf,
+			       uint32_t *linear)
+{
+	void *map;
+
+	gem_set_domain(data->drm_fd, buf->bo->handle,
+		       I915_GEM_DOMAIN_CPU, 0);
+
+	map = gem_mmap__cpu(data->drm_fd, buf->bo->handle, 0,
+			    buf->bo->size, PROT_READ);
+
+	memcpy(linear, map, buf->bo->size);
+
+	munmap(map, buf->bo->size);
+}
+
+static void copy_bo_to_linear(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	switch (buf->tiling) {
+	case I915_TILING_NONE:
+		igt_assert(data->format->to_linear);
+		data->format->to_linear(data, buf, linear);
+		break;
+	case I915_TILING_X:
+		igt_assert(data->format->x_to_linear);
+		data->format->x_to_linear(data, buf, linear);
+		break;
+	case I915_TILING_Y:
+		igt_assert(data->format->y_to_linear);
+		data->format->y_to_linear(data, buf, linear);
+		break;
+	case I915_TILING_Yf:
+		igt_assert(data->format->yf_to_linear);
+		data->format->yf_to_linear(data, buf, linear);
+		break;
+	case I915_TILING_Ys:
+		igt_assert(data->format->ys_to_linear);
+		data->format->ys_to_linear(data, buf, linear);
+		break;
+	}
+}
+
+static void copy_linear_to_bo(data_t *data, struct igt_buf *buf,
+			      uint32_t *linear)
+{
+	switch (buf->tiling) {
+	case I915_TILING_NONE:
+		igt_assert(data->format->linear_to);
+		data->format->linear_to(data, buf, linear);
+		break;
+	case I915_TILING_X:
+		igt_assert(data->format->linear_to_x);
+		data->format->linear_to_x(data, buf, linear);
+		break;
+	case I915_TILING_Y:
+		igt_assert(data->format->linear_to_y);
+		data->format->linear_to_y(data, buf, linear);
+		break;
+	case I915_TILING_Yf:
+		igt_assert(data->format->linear_to_yf);
+		data->format->linear_to_yf(data, buf, linear);
+		break;
+	case I915_TILING_Ys:
+		igt_assert(data->format->linear_to_ys);
+		data->format->linear_to_ys(data, buf, linear);
+		break;
+	}
 }
 
 static void scratch_buf_write_to_png(data_t *data, struct igt_buf *buf,
@@ -204,7 +531,8 @@ static void scratch_buf_write_to_png(data_t *data, struct igt_buf *buf,
 	cairo_status_t ret;
 	void *linear;
 
-	linear = linear_copy(data, buf);
+	linear = alloc_aligned(buf->bo->size);
+	copy_bo_to_linear(data, buf, linear);
 
 	surface = cairo_image_surface_create_for_data(linear,
 						      CAIRO_FORMAT_RGB24,
@@ -250,12 +578,12 @@ static void *linear_copy_aux(data_t *data, struct igt_buf *buf)
 	int aux_size = scratch_buf_aux_width(data->devid, buf) *
 		scratch_buf_aux_height(data->devid, buf);
 
-	igt_assert_eq(posix_memalign(&linear, 16, aux_size), 0);
+	linear = alloc_aligned(aux_size);
 
 	gem_set_domain(data->drm_fd, buf->bo->handle,
 		       I915_GEM_DOMAIN_GTT, 0);
 
-	map = gem_mmap__gtt(data->drm_fd, buf->bo->handle,
+	map = gem_mmap__wc(data->drm_fd, buf->bo->handle, 0,
 			    buf->bo->size, PROT_READ);
 
 	igt_memcpy_from_wc(linear, map + buf->aux.offset, aux_size);
@@ -297,7 +625,7 @@ static void scratch_buf_draw_pattern(data_t *data, struct igt_buf *buf,
 	cairo_t *cr;
 	void *linear;
 
-	linear = linear_copy(data, buf);
+	linear = alloc_aligned(buf->bo->size);
 
 	surface = cairo_image_surface_create_for_data(linear,
 						      CAIRO_FORMAT_RGB24,
@@ -338,10 +666,7 @@ static void scratch_buf_draw_pattern(data_t *data, struct igt_buf *buf,
 
 	cairo_surface_destroy(surface);
 
-	if (buf->tiling == I915_TILING_Yf)
-		copy_linear_to_yf(data, buf, linear);
-	else
-		copy_linear_to_gtt(data, buf, linear);
+	copy_linear_to_bo(data, buf, linear);
 
 	free(linear);
 }
@@ -354,6 +679,7 @@ scratch_buf_copy(data_t *data,
 	int width = igt_buf_width(dst);
 	int height  = igt_buf_height(dst);
 	uint32_t *linear_dst;
+	uint32_t *linear_src;
 
 	igt_assert_eq(igt_buf_width(dst), igt_buf_width(src));
 	igt_assert_eq(igt_buf_height(dst), igt_buf_height(src));
@@ -366,49 +692,20 @@ scratch_buf_copy(data_t *data,
 	h = min(h, height - sy);
 	h = min(h, height - dy);
 
-	gem_set_domain(data->drm_fd, dst->bo->handle,
-		       I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
-	linear_dst = gem_mmap__gtt(data->drm_fd, dst->bo->handle,
-				   dst->bo->size, PROT_WRITE);
-
-	if (src->tiling == I915_TILING_Yf) {
-		void *map;
-
-		gem_set_domain(data->drm_fd, src->bo->handle,
-			       I915_GEM_DOMAIN_CPU, 0);
-		map = gem_mmap__cpu(data->drm_fd, src->bo->handle, 0,
-				    src->bo->size, PROT_READ);
-
-		for (int y = 0; y < h; y++) {
-			for (int x = 0; x < w; x++) {
-				const uint32_t *ptr = yf_ptr(map, sx+x, sy+y,
-							     src->stride,
-							     src->bpp / 8);
-
-				linear_dst[(dy+y) * width + dx+x] = *ptr;
-			}
-		}
+	linear_dst = alloc_aligned(dst->bo->size);
+	linear_src = alloc_aligned(src->bo->size);
+	copy_bo_to_linear(data, src, linear_src);
+	copy_bo_to_linear(data, dst, linear_dst);
 
-		munmap(map, src->bo->size);
-	} else {
-		uint32_t *linear_src;
-
-		gem_set_domain(data->drm_fd, src->bo->handle,
-			       I915_GEM_DOMAIN_GTT, 0);
-
-		linear_src = gem_mmap__gtt(data->drm_fd, src->bo->handle,
-					   src->bo->size, PROT_READ);
-
-		for (int y = 0; y < h; y++) {
-			igt_memcpy_from_wc(&linear_dst[(dy+y) * width + dx],
-					   &linear_src[(sy+y) * width + sx],
-					   w * (src->bpp / 8));
-		}
-
-		munmap(linear_src, src->bo->size);
+	for (int y = 0; y < h; y++) {
+		memcpy(&linear_dst[(dy+y) * width + dx],
+				&linear_src[(sy+y) * width + sx],
+				w * (src->bpp / 8));
 	}
+	free(linear_src);
 
-	munmap(linear_dst, dst->bo->size);
+	copy_linear_to_bo(data, dst, linear_dst);
+	free(linear_dst);
 }
 
 static void scratch_buf_init(data_t *data, struct igt_buf *buf,
@@ -424,6 +721,7 @@ static void scratch_buf_init(data_t *data, struct igt_buf *buf,
 	if (ccs) {
 		int aux_width, aux_height;
 		int size;
+		uint32_t tile_mask = (1 << req_tiling);
 
 		igt_require(intel_gen(data->devid) >= 9);
 		igt_assert(tiling == I915_TILING_Y ||
@@ -457,31 +755,40 @@ static void scratch_buf_init(data_t *data, struct igt_buf *buf,
 
 		buf->bo = drm_intel_bo_alloc(data->bufmgr, "", size, 4096);
 
-		if (tiling == I915_TILING_Y) {
+		if (tiling == I915_TILING_Y &&
+				data->format->hw_tiles & tile_mask) {
 			drm_intel_bo_set_tiling(buf->bo, &tiling, buf->stride);
 			igt_assert_eq(tiling, req_tiling);
 		}
-	} else if (req_tiling == I915_TILING_Yf) {
-		int size;
+	} else {
+		uint32_t tile_mask = (1 << req_tiling);
+
+		/* Requested bo must be hw tiled */
+		if (data->format->hw_tiles & tile_mask) {
+			buf->bo = drm_intel_bo_alloc_tiled(data->bufmgr, "",
+							   width, height,
+							   bpp / 8,
+							   &tiling, &pitch, 0);
+			igt_assert_eq(tiling, req_tiling);
 
-		buf->stride = ALIGN(width * (bpp / 8), 128);
-		buf->size = buf->stride * height;
-		buf->tiling = tiling;
-		buf->bpp = bpp;
+			buf->stride = pitch;
+			buf->tiling = tiling;
+			buf->size = pitch * height;
+			buf->bpp = bpp;
+		/* Use bo alloc and software tiling/detiling */
+		} else {
+			int size;
 
-		size = buf->stride * ALIGN(height, 32);
+			buf->stride = ALIGN(width * (bpp / 8), 128);
+			buf->size = buf->stride * height;
+			buf->tiling = tiling;
+			buf->bpp = bpp;
 
-		buf->bo = drm_intel_bo_alloc(data->bufmgr, "", size, 4096);
-	} else {
-		buf->bo = drm_intel_bo_alloc_tiled(data->bufmgr, "",
-						   width, height, bpp / 8,
-						   &tiling, &pitch, 0);
-		igt_assert_eq(tiling, req_tiling);
+			size = buf->stride * ALIGN(height, 32);
 
-		buf->stride = pitch;
-		buf->tiling = tiling;
-		buf->size = pitch * height;
-		buf->bpp = bpp;
+			buf->bo = drm_intel_bo_alloc(data->bufmgr, "", size,
+						     4096);
+		}
 	}
 
 	igt_assert(igt_buf_width(buf) == width);
@@ -507,11 +814,13 @@ scratch_buf_check(data_t *data,
 	igt_assert_eq(igt_buf_height(buf), igt_buf_height(ref));
 	igt_assert_eq(buf->bo->size, ref->bo->size);
 
-	linear = linear_copy(data, buf);
+	linear = alloc_aligned(buf->bo->size);
+	copy_bo_to_linear(data, buf, linear);
 	buf_val = linear[y * width + x];
 	free(linear);
 
-	linear = linear_copy(data, ref);
+	linear = alloc_aligned(ref->bo->size);
+	copy_bo_to_linear(data, buf, linear);
 	ref_val = linear[y * width + x];
 	free(linear);
 
@@ -533,8 +842,10 @@ scratch_buf_check_all(data_t *data,
 	igt_assert_eq(igt_buf_height(buf), igt_buf_height(ref));
 	igt_assert_eq(buf->bo->size, ref->bo->size);
 
-	linear_buf = linear_copy(data, buf);
-	linear_ref = linear_copy(data, ref);
+	linear_buf = alloc_aligned(buf->bo->size);
+	linear_ref = alloc_aligned(ref->bo->size);
+	copy_bo_to_linear(data, buf, linear_buf);
+	copy_bo_to_linear(data, ref, linear_ref);
 
 	for (int y = 0; y < height; y++) {
 		for (int x = 0; x < width; x++) {
@@ -627,6 +938,7 @@ static void test(data_t *data, uint32_t src_tiling, uint32_t dst_tiling,
 
 	for (int i = 0; i < num_src; i++)
 		scratch_buf_init(data, &src[i].buf, WIDTH, HEIGHT, src[i].tiling, false);
+
 	scratch_buf_init(data, &dst, WIDTH, HEIGHT, dst_tiling, false);
 	if (src_compressed)
 		scratch_buf_init(data, &src_ccs, WIDTH, HEIGHT,
@@ -639,7 +951,8 @@ static void test(data_t *data, uint32_t src_tiling, uint32_t dst_tiling,
 	for (int i = 0; i < num_src; i++)
 		scratch_buf_draw_pattern(data, &src[i].buf,
 					 0, 0, WIDTH, HEIGHT,
-					 0, 0, WIDTH, HEIGHT, true);
+					 0, 0, WIDTH, HEIGHT, (i % 2));
+
 	scratch_buf_draw_pattern(data, &dst,
 				 0, 0, WIDTH, HEIGHT,
 				 0, 0, WIDTH, HEIGHT, false);
@@ -826,6 +1139,8 @@ igt_main_args("da", NULL, help_str, opt_handler, NULL)
 		data.batch = intel_batchbuffer_alloc(data.bufmgr, data.devid);
 		igt_assert(data.batch);
 
+		data.format = get_gen_format(intel_gen(data.devid));
+
 		igt_fork_hang_detector(data.drm_fd);
 	}
 
Signature · 6 lines
2.23.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/gem_render_copy: Add software tiling / detiling support

== Series Details ==

== Series Details ==

Series: tests/gem_render_copy: Add software tiling / detiling support
URL : https://patchwork.freedesktop.org/series/70194/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7440 -> IGTPW_3782
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/index.html

Known issues
------------

Here are the changes found in IGTPW_3782 that come from known issues:

### IGT changes ###

#### Possible fixes ####

* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [FAIL][1] ([fdo#108511]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-skl-6770hq/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-skl-6770hq/igt@[email protected]

* igt@i915_selftest@live_gt_heartbeat:
- fi-kbl-guc: [DMESG-FAIL][3] ([fdo#112405]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-kbl-guc/igt@i915_selftest@live_gt_heartbeat.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-kbl-guc/igt@i915_selftest@live_gt_heartbeat.html

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [FAIL][5] ([fdo#109483]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-icl-u2/igt@[email protected]
- fi-kbl-7500u: [FAIL][7] ([fdo#111045] / [fdo#111096]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-kbl-7500u/igt@[email protected]

#### Warnings ####

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][9] ([fdo#103558] / [fdo#105602]) -> [DMESG-WARN][10] ([fdo#103558] / [fdo#105602] / [fdo#105763]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-kbl-x1275/igt@[email protected]

* igt@kms_flip@basic-flip-vs-modeset:
- fi-kbl-x1275: [DMESG-WARN][11] ([fdo#103558] / [fdo#105602] / [fdo#105763]) -> [DMESG-WARN][12] ([fdo#103558] / [fdo#105602]) +5 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/fi-kbl-x1275/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/fi-kbl-x1275/igt@[email protected]

[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#112405]: https://bugs.freedesktop.org/show_bug.cgi?id=112405

Participating hosts (52 -> 46)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5315 -> IGTPW_3782

CI-20190529: 20190529
CI_DRM_7440: 7b08e6efdddfcde8ea60a96d5a818af032b52b4d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3782: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/index.html
IGT_5315: 58705eb1bd29414244f4d0cfa08a9f0ce42d6545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw
In reply to Zbigniew Kempczyński

Quoting Zbigniew Kempczyński (2019-11-29 09:36:53)

Quoted 3 lines

Older GENs have mmapable GGTT which does buffer tiling / detaling automatically. Newer GENs have looses this possibility so software tiling / detiling is required.

A bunch of trivial checks to ensure idempotence (i.e linear -> X -> linear) with 4K and 2M and a bunch of tiling strides would be useful.

Note that these functions only correspond to HW detiling when swizzling is off -- you can ask the kernel via GET_TILING_IOCTL. -Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw
Quoted 11 lines · Chris Wilson

Quoting Zbigniew Kempczyński (2019-11-29 09:36:53)

Quoted 3 lines

Older GENs have mmapable GGTT which does buffer tiling / detaling automatically. Newer GENs have looses this possibility so software tiling / detiling is required.

A bunch of trivial checks to ensure idempotence (i.e linear -> X -> linear) with 4K and 2M and a bunch of tiling strides would be useful.

Note that these functions only correspond to HW detiling when swizzling is off -- you can ask the kernel via GET_TILING_IOCTL. -Chris

I thought about above check. But this would tie my hands if I would like to use mix software tiling / hw detiling. Thus I decided to set function pointers manually according to generation.

If I good understand you:
You suggest to create single structure (instead of arrays), detect hw tiling/detiling capabilities for each supported tile (X / Y) and fill appropriate functions?

But I still need some table containing information about all tile formats HW supports (for example Yf on Gen9+ even if we can't put it via gtt, because it won't tile it in the fly). In this situation I don't know is it possible to ask the HW about is it supports Yf format).

Zbigniew
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#4 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/gem_render_copy: Add software tiling / detiling support

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: tests/gem_render_copy: Add software tiling / detiling support
URL : https://patchwork.freedesktop.org/series/70194/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7440_full -> IGTPW_3782_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_3782_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_3782_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_3782_full:

### IGT changes ###

#### Possible regressions ####

* igt@gem_exec_schedule@reorder-wide-render:
- shard-iclb: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb7/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-64x21-random:
- shard-iclb: [PASS][2] -> [DMESG-WARN][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb8/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb3/igt@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* {igt@gem_exec_schedule@pi-common-bsd}:
- shard-iclb: NOTRUN -> [SKIP][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* {igt@gem_exec_schedule@pi-distinct-iova-bsd}:
- shard-tglb: NOTRUN -> [SKIP][5] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb5/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_3782_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [PASS][6] -> [SKIP][7] ([fdo#112146]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb6/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [PASS][8] -> [SKIP][9] ([fdo#109276]) +5 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb4/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb8/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-kbl: [PASS][10] -> [FAIL][11] ([fdo#112392])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl6/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl1/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
- shard-snb: [PASS][12] -> [DMESG-WARN][13] ([fdo#111870])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-snb5/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-snb5/igt@[email protected]

* igt@gem_workarounds@suspend-resume:
- shard-tglb: [PASS][14] -> [INCOMPLETE][15] ([fdo#111832] / [fdo#111850]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb1/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb1/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [PASS][16] -> [FAIL][17] ([fdo#111830])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb6/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb3/igt@[email protected]

* igt@i915_selftest@live_gt_heartbeat:
- shard-apl: [PASS][18] -> [DMESG-FAIL][19] ([fdo#112405])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl6/igt@i915_selftest@live_gt_heartbeat.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl8/igt@i915_selftest@live_gt_heartbeat.html

* igt@i915_suspend@sysfs-reader:
- shard-apl: [PASS][20] -> [DMESG-WARN][21] ([fdo#108566]) +2 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl4/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-128x42-onscreen:
- shard-kbl: [PASS][22] -> [FAIL][23] ([fdo#103232])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl3/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl1/igt@[email protected]
- shard-apl: [PASS][24] -> [FAIL][25] ([fdo#103232])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl4/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl1/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [PASS][26] -> [INCOMPLETE][27] ([fdo#111850])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb6/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb1/igt@[email protected]

* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [PASS][28] -> [INCOMPLETE][29] ([fdo#103540])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-hsw4/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-hsw8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-tglb: [PASS][30] -> [INCOMPLETE][31] ([fdo#111884])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb4/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff:
- shard-tglb: [PASS][32] -> [INCOMPLETE][33] ([fdo#111747] / [fdo#111884]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb7/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt:
- shard-iclb: [PASS][34] -> [INCOMPLETE][35] ([fdo#107713]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb6/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-iclb: [PASS][36] -> [FAIL][37] ([fdo#103167]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary:
- shard-kbl: [PASS][38] -> [INCOMPLETE][39] ([fdo#103665] / [fdo#112356])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl6/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [PASS][40] -> [DMESG-WARN][41] ([fdo#108566]) +5 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl4/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-onoff:
- shard-tglb: [PASS][42] -> [FAIL][43] ([fdo#103167]) +3 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb4/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb7/igt@[email protected]

* igt@kms_plane@pixel-format-pipe-a-planes-source-clamping:
- shard-kbl: [PASS][44] -> [INCOMPLETE][45] ([fdo#103665])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl4/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl6/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-iclb: [PASS][46] -> [INCOMPLETE][47] ([fdo#107713] / [fdo#110042])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb5/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb3/igt@[email protected]

* igt@kms_setmode@basic:
- shard-apl: [PASS][48] -> [FAIL][49] ([fdo#99912])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl4/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl2/igt@[email protected]

* igt@kms_vblank@pipe-b-ts-continuation-idle:
- shard-snb: [PASS][50] -> [SKIP][51] ([fdo#109271]) +2 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-snb2/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-snb6/igt@[email protected]

* igt@perf_pmu@busy-accuracy-98-vcs1:
- shard-iclb: [PASS][52] -> [SKIP][53] ([fdo#112080]) +4 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb2/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb7/igt@[email protected]

#### Possible fixes ####

* igt@gem_busy@busy-vcs1:
- shard-iclb: [SKIP][54] ([fdo#112080]) -> [PASS][55] +6 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb1/igt@[email protected]

* igt@gem_ctx_persistence@vcs1-cleanup:
- shard-iclb: [SKIP][56] ([fdo#109276] / [fdo#112080]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb5/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* igt@gem_eio@kms:
- shard-tglb: [INCOMPLETE][58] ([fdo#111887]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb8/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb5/igt@[email protected]

* igt@gem_exec_schedule@fifo-bsd:
- shard-iclb: [SKIP][60] ([fdo#112146]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb2/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb6/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-chain-vebox:
- shard-glk: [INCOMPLETE][62] ([fdo#103359] / [k.org#198133]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-glk4/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-glk2/igt@[email protected]

* igt@gem_exec_schedule@smoketest-bsd2:
- shard-tglb: [INCOMPLETE][64] ([fdo#111998]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb6/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb8/igt@[email protected]

* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [DMESG-WARN][66] ([fdo#108566]) -> [PASS][67] +6 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl6/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl3/igt@[email protected]

* igt@gem_persistent_relocs@forked-interruptible-thrash-inactive:
- shard-kbl: [TIMEOUT][68] ([fdo#112068]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl7/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl6/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [DMESG-WARN][70] ([fdo#111870]) -> [PASS][71] +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-hsw6/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-hsw5/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-snb: [DMESG-WARN][72] ([fdo#111870]) -> [PASS][73] +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-snb1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-snb5/igt@[email protected]

* igt@i915_suspend@debugfs-reader:
- shard-tglb: [INCOMPLETE][74] ([fdo#111832] / [fdo#111850]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb8/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb1/igt@[email protected]

* igt@kms_color@pipe-c-ctm-blue-to-red:
- shard-kbl: [FAIL][76] ([fdo#107201]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl7/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl6/igt@[email protected]
- shard-apl: [FAIL][78] ([fdo#107201]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl3/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl8/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-64x64-sliding:
- shard-kbl: [FAIL][80] ([fdo#103232]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl4/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl4/igt@[email protected]
- shard-apl: [FAIL][82] ([fdo#103232]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl2/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl6/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-iclb: [DMESG-WARN][84] ([fdo#111764]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb2/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-64x21-offscreen:
- shard-hsw: [DMESG-WARN][86] -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-hsw6/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-hsw1/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [DMESG-WARN][88] ([fdo#108566]) -> [PASS][89] +3 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl4/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl4/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-render-untiled:
- shard-kbl: [INCOMPLETE][90] ([fdo#103665]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl6/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [FAIL][92] ([fdo#103167]) -> [PASS][93] +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb6/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen:
- shard-glk: [FAIL][94] ([fdo#103167]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-glk1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-glk2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
- shard-apl: [FAIL][96] ([fdo#103167]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-apl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-apl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
- shard-kbl: [FAIL][98] ([fdo#103167]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-iclb: [INCOMPLETE][100] ([fdo#106978] / [fdo#107713]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt:
- shard-iclb: [FAIL][102] ([fdo#103167]) -> [PASS][103] +1 similar issue
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html

* igt@kms_plane@pixel-format-pipe-c-planes:
- shard-tglb: [FAIL][104] ([fdo#112275]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-tglb2/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-tglb5/igt@[email protected]

* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][106] ([fdo#103166]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb1/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb4/igt@[email protected]

* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][108] ([fdo#109642] / [fdo#111068]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb5/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [SKIP][110] ([fdo#109441]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb8/igt@kms_psr@psr2_no_drrs.html
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@kms_psr@psr2_no_drrs.html

* igt@perf@disabled-read-error:
- shard-hsw: [INCOMPLETE][112] ([fdo#103540]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-hsw8/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-hsw6/igt@[email protected]

* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][114] ([fdo#109276]) -> [PASS][115] +6 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb5/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

#### Warnings ####

* igt@gem_ctx_isolation@vcs1-nonpriv-switch:
- shard-iclb: [SKIP][116] ([fdo#109276] / [fdo#112080]) -> [FAIL][117] ([IGT#28])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb1/igt@[email protected]

* igt@gem_eio@kms:
- shard-snb: [DMESG-WARN][118] ([fdo#111781]) -> [INCOMPLETE][119] ([fdo#105411])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-snb6/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-snb1/igt@[email protected]

* igt@gem_softpin@noreloc-s3:
- shard-kbl: [FAIL][120] ([fdo#103375]) -> [DMESG-WARN][121] ([fdo#108566])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl4/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl7/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-snb: [DMESG-WARN][122] ([fdo#111870]) -> [DMESG-WARN][123] ([fdo#110789] / [fdo#111870])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-snb6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-snb2/igt@[email protected]

* igt@i915_suspend@forcewake:
- shard-kbl: [DMESG-WARN][124] ([fdo#108566]) -> [INCOMPLETE][125] ([fdo#103665] / [fdo#112219])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-kbl4/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-kbl6/igt@[email protected]

* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][126] ([fdo#109349]) -> [DMESG-WARN][127] ([fdo#107724])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb5/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb2/igt@[email protected]

* igt@runner@aborted:
- shard-iclb: [FAIL][128] ([fdo#111093]) -> [FAIL][129] ([fdo#110586] / [fdo#111093] / [k.org#203557])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7440/shard-iclb2/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/shard-iclb7/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
[fdo#107201]: https://bugs.freedesktop.org/show_bug.cgi?id=107201
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110042]: https://bugs.freedesktop.org/show_bug.cgi?id=110042
[fdo#110586]: https://bugs.freedesktop.org/show_bug.cgi?id=110586
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111093]: https://bugs.freedesktop.org/show_bug.cgi?id=111093
[fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[fdo#111781]: https://bugs.freedesktop.org/show_bug.cgi?id=111781
[fdo#111830]: https://bugs.freedesktop.org/show_bug.cgi?id=111830
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111884]: https://bugs.freedesktop.org/show_bug.cgi?id=111884
[fdo#111887]: https://bugs.freedesktop.org/show_bug.cgi?id=111887
[fdo#111998]: https://bugs.freedesktop.org/show_bug.cgi?id=111998
[fdo#112068]: https://bugs.freedesktop.org/show_bug.cgi?id=112068
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112219]: https://bugs.freedesktop.org/show_bug.cgi?id=112219
[fdo#112275]: https://bugs.freedesktop.org/show_bug.cgi?id=112275
[fdo#112356]: https://bugs.freedesktop.org/show_bug.cgi?id=112356
[fdo#112392]: https://bugs.freedesktop.org/show_bug.cgi?id=112392
[fdo#112405]: https://bugs.freedesktop.org/show_bug.cgi?id=112405
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
[k.org#203557]: https://bugzilla.kernel.org/show_bug.cgi?id=203557

Participating hosts (11 -> 8)
------------------------------

Missing (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5315 -> IGTPW_3782
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_7440: 7b08e6efdddfcde8ea60a96d5a818af032b52b4d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3782: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3782/index.html
IGT_5315: 58705eb1bd29414244f4d0cfa08a9f0ce42d6545 @ 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_3782/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev