Skip to contentSkip to conversation

lib/igt_fb: Add support for Y21x formats as well, v3.

PATCH In review Maarten Lankhorst 3 participants 8 messages Mar 28, 2019 – Mar 29, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 lib/igt_fb: Add support for Y21x formats as well, v3.

Those formats are packed like YUYV, but only 16 bits per component.

Changes since v1:
- Rebase on top of upstream YUV changes.
Changes since v2:
- Use drm_fourcc.h from upstream.

---
 include/drm-uapi/drm_fourcc.h | 51 ++++++++++++++++++++++++++++++++++-
 lib/igt_color_encoding.c      |  3 +++
 lib/igt_fb.c                  | 46 +++++++++++++++++++++++++++++++
 3 files changed, 99 insertions(+), 1 deletion(-)
include/drm-uapi/drm_fourcc.h +50 -1
index bab20298f422..3feeaa3f987a 100644
@@ -144,6 +144,17 @@ extern "C" {
 #define DRM_FORMAT_RGBA1010102	fourcc_code('R', 'A', '3', '0') /* [31:0] R:G:B:A 10:10:10:2 little endian */
 #define DRM_FORMAT_BGRA1010102	fourcc_code('B', 'A', '3', '0') /* [31:0] B:G:R:A 10:10:10:2 little endian */
 
+/*
+ * Floating point 64bpp RGB
+ * IEEE 754-2008 binary16 half-precision float
+ * [15:0] sign:exponent:mantissa 1:5:10
+ */
+#define DRM_FORMAT_XRGB16161616F fourcc_code('X', 'R', '4', 'H') /* [63:0] x:R:G:B 16:16:16:16 little endian */
+#define DRM_FORMAT_XBGR16161616F fourcc_code('X', 'B', '4', 'H') /* [63:0] x:B:G:R 16:16:16:16 little endian */
+
+#define DRM_FORMAT_ARGB16161616F fourcc_code('A', 'R', '4', 'H') /* [63:0] A:R:G:B 16:16:16:16 little endian */
+#define DRM_FORMAT_ABGR16161616F fourcc_code('A', 'B', '4', 'H') /* [63:0] A:B:G:R 16:16:16:16 little endian */
+
 /* packed YCbCr */
 #define DRM_FORMAT_YUYV		fourcc_code('Y', 'U', 'Y', 'V') /* [31:0] Cr0:Y1:Cb0:Y0 8:8:8:8 little endian */
 #define DRM_FORMAT_YVYU		fourcc_code('Y', 'V', 'Y', 'U') /* [31:0] Cb0:Y1:Cr0:Y0 8:8:8:8 little endian */
@@ -151,7 +162,29 @@ extern "C" {
 #define DRM_FORMAT_VYUY		fourcc_code('V', 'Y', 'U', 'Y') /* [31:0] Y1:Cb0:Y0:Cr0 8:8:8:8 little endian */
 
 #define DRM_FORMAT_AYUV		fourcc_code('A', 'Y', 'U', 'V') /* [31:0] A:Y:Cb:Cr 8:8:8:8 little endian */
-#define DRM_FORMAT_XYUV8888		fourcc_code('X', 'Y', 'U', 'V') /* [31:0] X:Y:Cb:Cr 8:8:8:8 little endian */
+#define DRM_FORMAT_XYUV8888	fourcc_code('X', 'Y', 'U', 'V') /* [31:0] X:Y:Cb:Cr 8:8:8:8 little endian */
+#define DRM_FORMAT_VUY888	fourcc_code('V', 'U', '2', '4') /* [23:0] Cr:Cb:Y 8:8:8 little endian */
+#define DRM_FORMAT_VUY101010	fourcc_code('V', 'U', '3', '0') /* Y followed by U then V, 10:10:10. Non-linear modifier only */
+
+/*
+ * packed Y2xx indicate for each component, xx valid data occupy msb
+ * 16-xx padding occupy lsb
+ */
+#define DRM_FORMAT_Y210         fourcc_code('Y', '2', '1', '0') /* [63:0] Cr0:0:Y1:0:Cb0:0:Y0:0 10:6:10:6:10:6:10:6 little endian per 2 Y pixels */
+#define DRM_FORMAT_Y212         fourcc_code('Y', '2', '1', '2') /* [63:0] Cr0:0:Y1:0:Cb0:0:Y0:0 12:4:12:4:12:4:12:4 little endian per 2 Y pixels */
+#define DRM_FORMAT_Y216         fourcc_code('Y', '2', '1', '6') /* [63:0] Cr0:Y1:Cb0:Y0 16:16:16:16 little endian per 2 Y pixels */
+
+/*
+ * packed Y4xx indicate for each component, xx valid data occupy msb
+ * 16-xx padding occupy lsb except Y410
+ */
+#define DRM_FORMAT_Y410         fourcc_code('Y', '4', '1', '0') /* [31:0] A:Cr:Y:Cb 2:10:10:10 little endian */
+#define DRM_FORMAT_Y412         fourcc_code('Y', '4', '1', '2') /* [63:0] A:0:Cr:0:Y:0:Cb:0 12:4:12:4:12:4:12:4 little endian */
+#define DRM_FORMAT_Y416         fourcc_code('Y', '4', '1', '6') /* [63:0] A:Cr:Y:Cb 16:16:16:16 little endian */
+
+#define DRM_FORMAT_XVYU2101010	fourcc_code('X', 'V', '3', '0') /* [31:0] X:Cr:Y:Cb 2:10:10:10 little endian */
+#define DRM_FORMAT_XVYU12_16161616	fourcc_code('X', 'V', '3', '6') /* [63:0] X:0:Cr:0:Y:0:Cb:0 12:4:12:4:12:4:12:4 little endian */
+#define DRM_FORMAT_XVYU16161616	fourcc_code('X', 'V', '4', '8') /* [63:0] X:Cr:Y:Cb 16:16:16:16 little endian */
 
 /*
  * packed YCbCr420 2x2 tiled formats
@@ -167,6 +200,15 @@ extern "C" {
 /* [63:0]   X3:X2:Y3:Cr0:Y2:X1:X0:Y1:Cb0:Y0  1:1:10:10:10:1:1:10:10:10 little endian */
 #define DRM_FORMAT_X0L2		fourcc_code('X', '0', 'L', '2')
 
+/*
+ * 1-plane YUV 4:2:0
+ * In these formats, the component ordering is specified (Y, followed by U
+ * then V), but the exact Linear layout is undefined.
+ * These formats can only be used with a non-Linear modifier.
+ */
+#define DRM_FORMAT_YUV420_8BIT	fourcc_code('Y', 'U', '0', '8')
+#define DRM_FORMAT_YUV420_10BIT	fourcc_code('Y', 'U', '1', '0')
+
 /*
  * 2 plane RGB + A
  * index 0 = RGB plane, same format as the corresponding non _A8 format has
@@ -195,6 +237,13 @@ extern "C" {
 #define DRM_FORMAT_NV24		fourcc_code('N', 'V', '2', '4') /* non-subsampled Cr:Cb plane */
 #define DRM_FORMAT_NV42		fourcc_code('N', 'V', '4', '2') /* non-subsampled Cb:Cr plane */
 
+/*
+ * 2 plane YCbCr MSB aligned
+ * index 0 = Y plane, [15:0] Y:x [10:6] little endian
+ * index 1 = Cr:Cb plane, [31:0] Cr:x:Cb:x [10:6:10:6] little endian
+ */
+#define DRM_FORMAT_P210		fourcc_code('P', '2', '1', '0') /* 2x1 subsampled Cr:Cb plane, 10 bit per channel */
+
 /*
  * 2 plane YCbCr MSB aligned
  * index 0 = Y plane, [15:0] Y:x [10:6] little endian
lib/igt_color_encoding.c +3 -0
index cc76a9919242..9f9dc1439ee4 100644
@@ -151,6 +151,9 @@ static const struct color_encoding_format {
 	{ DRM_FORMAT_P010, 65472.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_P012, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_P016, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y210, 65472.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y212, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y216, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 };
 
 static const struct color_encoding_format *lookup_fourcc(uint32_t fourcc)
lib/igt_fb.c +46 -0

94 lines not on this page · raw message

Signature · 6 lines
2.20.1

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

PATCH 2/3 lib/igt_fb: Add support for Y410/Y416 formats, v5.

Y410 is packed with compressed a channel and only 32 bpp, like 10 bits RGB formats. Y416 is a packed 16 bits per component format.

Changes since v1:
- Rebase on top of upstream YUV changes. Changes since v2:
- Discard alpha channel, not used upstream. Changes since v3:
- Handle the XVYU formats and Y41x formats correctly. Changes since v4:
- Fix YUV conversion routines. (Ville)
- Use memset64 to clear initial fb. (Ville)

---
 lib/igt_color_encoding.c |   6 +
 lib/igt_fb.c             | 257 +++++++++++++++++++++++++++++++++++----
 2 files changed, 238 insertions(+), 25 deletions(-)
lib/igt_color_encoding.c +6 -0
index 9f9dc1439ee4..7de6d5abd690 100644
@@ -154,6 +154,12 @@ static const struct color_encoding_format {
 	{ DRM_FORMAT_Y210, 65472.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_Y212, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_Y216, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y410, 1023.f, 64.f, 940.f, 64.f, 512.f, 960.f },
+	{ DRM_FORMAT_Y412, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y416, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_XVYU2101010, 1023.f, 64.f, 940.f, 64.f, 512.f, 960.f },
+	{ DRM_FORMAT_XVYU12_16161616, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_XVYU16161616, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 };
 
 static const struct color_encoding_format *lookup_fourcc(uint32_t fourcc)
lib/igt_fb.c +232 -25

446 lines not on this page · raw message

Signature · 6 lines
2.20.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Reviewed-by on v1 2/3
#2 lore raw

Re: [igt-dev] [PATCH i-g-t 2/3] lib/igt_fb: Add support for Y410/Y416 formats, v5.

Quoted 91 lines · Maarten Lankhorst

Y410 is packed with compressed a channel and only 32 bpp, like 10 bits RGB formats. Y416 is a packed 16 bits per component format.

Changes since v1:
- Rebase on top of upstream YUV changes. Changes since v2:
- Discard alpha channel, not used upstream. Changes since v3:
- Handle the XVYU formats and Y41x formats correctly. Changes since v4:
- Fix YUV conversion routines. (Ville)
- Use memset64 to clear initial fb. (Ville)

---
 lib/igt_color_encoding.c |   6 +
 lib/igt_fb.c             | 257 +++++++++++++++++++++++++++++++++++----
 2 files changed, 238 insertions(+), 25 deletions(-)
lib/igt_color_encoding.c +6 -0
index 9f9dc1439ee4..7de6d5abd690 100644
@@ -154,6 +154,12 @@ static const struct color_encoding_format {
 	{ DRM_FORMAT_Y210, 65472.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_Y212, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 	{ DRM_FORMAT_Y216, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y410, 1023.f, 64.f, 940.f, 64.f, 512.f, 960.f },
+	{ DRM_FORMAT_Y412, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_Y416, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_XVYU2101010, 1023.f, 64.f, 940.f, 64.f, 512.f, 960.f },
+	{ DRM_FORMAT_XVYU12_16161616, 65520.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
+	{ DRM_FORMAT_XVYU16161616, 65535.f, 4096.f, 60160.f, 4096.f, 32768.f, 61440.f },
 };
 
 static const struct color_encoding_format *lookup_fourcc(uint32_t fourcc)
lib/igt_fb.c +36 -0
index c5b1e169a5ff..600d9c246e30 100644
@@ -221,6 +221,36 @@ static const struct format_desc_struct {
 	  .num_planes = 3, .plane_bpp = { 8, 8, 8, },
 	  .hsub = 2, .vsub = 1,
 	},
+	{ .name = "Y410", .depth = -1, .drm_id = DRM_FORMAT_Y410,
+	  .cairo_id = CAIRO_FORMAT_RGBA128F,
+	  .num_planes = 1, .plane_bpp = { 32, },
+	  .hsub = 1, .vsub = 1,
+	},
+	{ .name = "Y412", .depth = -1, .drm_id = DRM_FORMAT_Y412,
+	  .cairo_id = CAIRO_FORMAT_RGBA128F,
+	  .num_planes = 1, .plane_bpp = { 64, },
+	  .hsub = 1, .vsub = 1,
+	},
+	{ .name = "Y416", .depth = -1, .drm_id = DRM_FORMAT_Y416,
+	  .cairo_id = CAIRO_FORMAT_RGBA128F,
+	  .num_planes = 1, .plane_bpp = { 64, },
+	  .hsub = 1, .vsub = 1,
+	},
+	{ .name = "XV30", .depth = -1, .drm_id = DRM_FORMAT_XVYU2101010,
+	  .cairo_id = CAIRO_FORMAT_RGB96F,
+	  .num_planes = 1, .plane_bpp = { 32, },
+	  .hsub = 1, .vsub = 1,
+	},
+	{ .name = "XV36", .depth = -1, .drm_id = DRM_FORMAT_XVYU12_16161616,
+	  .cairo_id = CAIRO_FORMAT_RGB96F,
+	  .num_planes = 1, .plane_bpp = { 64, },
+	  .hsub = 1, .vsub = 1,
+	},
+	{ .name = "XV48", .depth = -1, .drm_id = DRM_FORMAT_XVYU16161616,
+	  .cairo_id = CAIRO_FORMAT_RGB96F,
+	  .num_planes = 1, .plane_bpp = { 64, },
+	  .hsub = 1, .vsub = 1,
+	},
 	{ .name = "P010", .depth = -1, .drm_id = DRM_FORMAT_P010,
 	  .cairo_id = CAIRO_FORMAT_RGB96F,
 	  .num_planes = 2, .plane_bpp = { 16, 32 },
@@ -638,6 +668,12 @@ uint64_t igt_fb_tiling_to_mod(uint64_t tiling)
 	}
 }
 
+static void memset64(uint64_t *s, uint64_t c, size_t n)
+{
+	for (int i = 0; i < n; i++)
+		s[i] = c;
+}
+
 static void clear_yuv_buffer(struct igt_fb *fb)
 {
 	bool full_range = fb->color_range == IGT_COLOR_YCBCR_FULL_RANGE;

lib/igt_fb.c static void clear_yuv_buffer(struct igt_fb *fb) · line 733

Quoted 8 lines
lib/igt_fb.c +5 -0
@@ -690,6 +726,21 @@ static void clear_yuv_buffer(struct igt_fb *fb)
 			fb->strides[0] * fb->plane_height[0] / sizeof(wchar_t));
 		break;
 
+	case DRM_FORMAT_XVYU2101010:
+	case DRM_FORMAT_Y410:
+		wmemset(ptr + fb->offsets[0],
+			full_range ? 0x20000200 : 0x20010200,
+		fb->strides[0] * fb->plane_height[0] / sizeof(wchar_t));

Indentation fail.

lib/igt_fb.c static void clear_yuv_buffer(struct igt_fb *fb) · line 741

Quoted 8 lines
lib/igt_fb.c +8 -0
+		break;
+
+	case DRM_FORMAT_XVYU12_16161616:
+	case DRM_FORMAT_XVYU16161616:
+	case DRM_FORMAT_Y412:
+	case DRM_FORMAT_Y416:
+		memset64(ptr + fb->offsets[0],
+			 full_range ? 0x800000008000 : 0x800010008000ULL,

Missing ULL?

Apart from that this looks good to me.

Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

PATCH 3/3 tests/kms_yuv: Add yuv specific tests, v4.

In reply to Maarten Lankhorst

Add tests excercising switching between various scaled/unscaled transitions to and from various nv12 formats, since some of the workarounds mention this may fail.

We also add NV12 specific clipping/scaling tests, to make sure that YUV src coordinates are always programmed as a multiple of 2 correctly, and verify scaling/clipping works with CRC tests.

crop-scale-bug shows a corruption when scaling and cropping at the same time.

The subpixel clip test rotates and clips a rectangle on each side, which should produce the same CRC as when that part of the rectangle is hidden by a cursor and a whole 2x2 pixel is hidden.

Changes since v1:
- Reset plane position to 0,0 at the start of yuv_valid_width_plane().
- Handle Swati's feedback.
Changes since v2:
- Skip 90°/270° rotation in tests when formats don't support it.
- Add all new HDR formats to test.
- Use igt_plane_has_format_mod.
- Support tests on !i915 by checking if X/Y tiling modifiers are supported.
- Do not enable untested planes to prevent exhausing memory bandwidth and available NV12 Y planes in the rgb-switch-scaled test.
Changes since v3:
- Add a sanity test to sanity test YUV conversion paths, on all planes and pipes.
- Dynamically generate list of YUV tests through igt_format_array_fill.

---
 tests/Makefile.sources |   1 +
 tests/kms_yuv.c        | 942 +++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 3 files changed, 944 insertions(+)
 create mode 100644 tests/kms_yuv.c
tests/Makefile.sources +1 -0
index 71ccf00af256..5eb46087e362 100644
@@ -74,6 +74,7 @@ TESTS_progs = \
 	kms_universal_plane \
 	kms_vblank \
 	kms_vrr \
+	kms_yuv \
 	meta_test \
 	perf \
 	perf_pmu \
tests/kms_yuv.c new file +942 -0

942 lines not on this page · raw message

tests/meson.build +1 -0
index 9015f809ed05..8ca7fe5f4917 100644
@@ -61,6 +61,7 @@ test_progs = [
 	'kms_universal_plane',
 	'kms_vblank',
 	'kms_vrr',
+	'kms_yuv',
 	'meta_test',
 	'perf',
 	'prime_busy',
Signature · 6 lines
2.20.1

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

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_yuv: Add yuv specific tests, v4.

Quoted 134 lines · Maarten Lankhorst

Add tests excercising switching between various scaled/unscaled transitions to and from various nv12 formats, since some of the workarounds mention this may fail.

We also add NV12 specific clipping/scaling tests, to make sure that YUV src coordinates are always programmed as a multiple of 2 correctly, and verify scaling/clipping works with CRC tests.

crop-scale-bug shows a corruption when scaling and cropping at the same time.

The subpixel clip test rotates and clips a rectangle on each side, which should produce the same CRC as when that part of the rectangle is hidden by a cursor and a whole 2x2 pixel is hidden.

Changes since v1:
- Reset plane position to 0,0 at the start of yuv_valid_width_plane().
- Handle Swati's feedback.
Changes since v2:
- Skip 90°/270° rotation in tests when formats don't support it.
- Add all new HDR formats to test.
- Use igt_plane_has_format_mod.
- Support tests on !i915 by checking if X/Y tiling modifiers are supported.
- Do not enable untested planes to prevent exhausing memory bandwidth and available NV12 Y planes in the rgb-switch-scaled test.
Changes since v3:
- Add a sanity test to sanity test YUV conversion paths, on all planes and pipes.
- Dynamically generate list of YUV tests through igt_format_array_fill.

---
 tests/Makefile.sources |   1 +
 tests/kms_yuv.c        | 942 +++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 3 files changed, 944 insertions(+)
 create mode 100644 tests/kms_yuv.c
tests/Makefile.sources +1 -0
index 71ccf00af256..5eb46087e362 100644
@@ -74,6 +74,7 @@ TESTS_progs = \
 	kms_universal_plane \
 	kms_vblank \
 	kms_vrr \
+	kms_yuv \
 	meta_test \
 	perf \
 	perf_pmu \
tests/kms_yuv.c new file +79 -0
new file mode 100644
index 000000000000..0077a07a73f3
@@ -0,0 +1,942 @@
+/*
+ * Copyright © 2019 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ *    Maarten Lankhorst <[email protected]>
+ */
+#include "config.h"
+
+#include "igt.h"
+#include <cairo.h>
+#include <errno.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <sys/time.h>
+
+typedef struct {
+	igt_display_t display;
+
+	igt_pipe_crc_t *pipe_crc;
+	struct igt_fb fb[6];
+} data_t;
+
+static uint64_t x_modifier = LOCAL_DRM_FORMAT_MOD_NONE;
+static uint64_t y_modifier = LOCAL_DRM_FORMAT_MOD_NONE;
+static uint32_t *formats, count_formats;
+
+static bool pipe_supports_format(igt_display_t *display, enum pipe pipe,
+				 uint32_t format, uint64_t tiling)
+{
+	igt_plane_t *plane;
+
+	for_each_plane_on_pipe(display, pipe, plane)
+		if (igt_plane_has_format_mod(plane, format, tiling))
+			return true;
+
+	return false;
+}
+
+
+static void remove_fbs(data_t *data)
+{
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(data->fb); i++)
+		igt_remove_fb(data->display.drm_fd, &data->fb[i]);
+}
+
+static void prepare_crtc(data_t *data, enum pipe pipe, igt_output_t *output)
+{
+	igt_display_t *display = &data->display;
+
+	remove_fbs(data);
+	igt_display_reset(display);
+	igt_output_set_pipe(output, pipe);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+
+	igt_pipe_crc_free(data->pipe_crc);
+	data->pipe_crc = igt_pipe_crc_new(display->drm_fd, pipe,
+					  INTEL_PIPE_CRC_SOURCE_AUTO);
+}
+

tests/kms_yuv.c line 89

Quoted 10 lines
tests/kms_yuv.c new file +10 -0
+static void fudge_lut(data_t *data, enum pipe pipe, uint16_t mask)
+{
+	igt_pipe_t *pipe_obj = &data->display.pipes[pipe];
+	uint16_t *lut;
+	int i, lut_size;
+
+	if (!igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_GAMMA_LUT_SIZE))
+		return;
+
+	lut_size = igt_pipe_obj_get_prop(pipe_obj, IGT_CRTC_GAMMA_LUT_SIZE);

I would suggest hardcoding 256 for i915 so that we'll get the legacy LUT and get consistent behaviour on all platforms. It has more than enough bits for us anyway.

Also for platforms that don't expose the LUT prop we'd probably want to fallback to the legacy API. Although I will soonish post some patches to expose the GAMMA_LUT stuff on all our platforms, so not a big deal for i915 I suppose. Other drivers might care more about that.

tests/kms_yuv.c line 102

Quoted 13 lines
tests/kms_yuv.c new file +13 -0
+
+	lut = malloc(sizeof(uint16_t) * lut_size);
+	for (i = 0; i < lut_size; i++)
+		lut[i] = (i * 0xffff / (lut_size - 1)) & mask;
+
+	igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_GAMMA_LUT, lut, lut_size * sizeof(uint16_t));
+	free(lut);
+
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_DEGAMMA_LUT))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_DEGAMMA_LUT, NULL, 0);
+
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_CTM))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_CTM, NULL, 0);

Shouldn't those be cleared already by some display_reset() type thing?

Quoted 6 lines
tests/kms_yuv.c new file +6 -0
+}
+
+static void unfudge_lut(data_t *data, enum pipe pipe)
+{
+	igt_pipe_t *pipe_obj = &data->display.pipes[pipe];
+

tests/kms_yuv.c line 118

Quoted 10 lines
tests/kms_yuv.c new file +10 -0
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_GAMMA_LUT))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_GAMMA_LUT, NULL, 0);
+}
+
+/*
+ * Test that we initialize a YUV fb as black correctly,
+ * that when we write a black FB it will get the same CRC, and that
+ * all colors we test will give the same CRC on all formats.
+ */
+static void yuv_sanity(data_t *data, enum pipe pipe, igt_output_t *output)

I wonder if this should just be part of the normal pixel format test?

Signature · 6 lines
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#5 lore raw

Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_yuv: Add yuv specific tests, v4.

Op 28-03-2019 om 20:25 schreef Ville Syrjälä:

Quoted 140 lines · Maarten Lankhorst
Quoted 139 lines

Add tests excercising switching between various scaled/unscaled transitions to and from various nv12 formats, since some of the workarounds mention this may fail.

We also add NV12 specific clipping/scaling tests, to make sure that YUV src coordinates are always programmed as a multiple of 2 correctly, and verify scaling/clipping works with CRC tests.

crop-scale-bug shows a corruption when scaling and cropping at the same time.

The subpixel clip test rotates and clips a rectangle on each side, which should produce the same CRC as when that part of the rectangle is hidden by a cursor and a whole 2x2 pixel is hidden.

Changes since v1:
- Reset plane position to 0,0 at the start of yuv_valid_width_plane().
- Handle Swati's feedback.
Changes since v2:
- Skip 90°/270° rotation in tests when formats don't support it.
- Add all new HDR formats to test.
- Use igt_plane_has_format_mod.
- Support tests on !i915 by checking if X/Y tiling modifiers are supported.
- Do not enable untested planes to prevent exhausing memory bandwidth and available NV12 Y planes in the rgb-switch-scaled test.
Changes since v3:
- Add a sanity test to sanity test YUV conversion paths, on all planes and pipes.
- Dynamically generate list of YUV tests through igt_format_array_fill.

---
 tests/Makefile.sources |   1 +
 tests/kms_yuv.c        | 942 +++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 3 files changed, 944 insertions(+)
 create mode 100644 tests/kms_yuv.c
tests/Makefile.sources +1 -0
index 71ccf00af256..5eb46087e362 100644
@@ -74,6 +74,7 @@ TESTS_progs = \
 	kms_universal_plane \
 	kms_vblank \
 	kms_vrr \
+	kms_yuv \
 	meta_test \
 	perf \
 	perf_pmu \
tests/kms_yuv.c new file +84 -0
new file mode 100644
index 000000000000..0077a07a73f3
@@ -0,0 +1,942 @@
+/*
+ * Copyright © 2019 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ *    Maarten Lankhorst <[email protected]>
+ */
+#include "config.h"
+
+#include "igt.h"
+#include <cairo.h>
+#include <errno.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <sys/time.h>
+
+typedef struct {
+	igt_display_t display;
+
+	igt_pipe_crc_t *pipe_crc;
+	struct igt_fb fb[6];
+} data_t;
+
+static uint64_t x_modifier = LOCAL_DRM_FORMAT_MOD_NONE;
+static uint64_t y_modifier = LOCAL_DRM_FORMAT_MOD_NONE;
+static uint32_t *formats, count_formats;
+
+static bool pipe_supports_format(igt_display_t *display, enum pipe pipe,
+				 uint32_t format, uint64_t tiling)
+{
+	igt_plane_t *plane;
+
+	for_each_plane_on_pipe(display, pipe, plane)
+		if (igt_plane_has_format_mod(plane, format, tiling))
+			return true;
+
+	return false;
+}
+
+
+static void remove_fbs(data_t *data)
+{
+	int i;
+
+	for (i = 0; i < ARRAY_SIZE(data->fb); i++)
+		igt_remove_fb(data->display.drm_fd, &data->fb[i]);
+}
+
+static void prepare_crtc(data_t *data, enum pipe pipe, igt_output_t *output)
+{
+	igt_display_t *display = &data->display;
+
+	remove_fbs(data);
+	igt_display_reset(display);
+	igt_output_set_pipe(output, pipe);
+	igt_display_commit2(display, COMMIT_ATOMIC);
+
+	igt_pipe_crc_free(data->pipe_crc);
+	data->pipe_crc = igt_pipe_crc_new(display->drm_fd, pipe,
+					  INTEL_PIPE_CRC_SOURCE_AUTO);
+}
+
+static void fudge_lut(data_t *data, enum pipe pipe, uint16_t mask)
+{
+	igt_pipe_t *pipe_obj = &data->display.pipes[pipe];
+	uint16_t *lut;
+	int i, lut_size;
Quoted 8 lines

tests/kms_yuv.c line 89

Quoted 5 lines
tests/kms_yuv.c new file +5 -0
+
+	if (!igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_GAMMA_LUT_SIZE))
+		return;
+
+	lut_size = igt_pipe_obj_get_prop(pipe_obj, IGT_CRTC_GAMMA_LUT_SIZE);

I would suggest hardcoding 256 for i915 so that we'll get the legacy LUT and get consistent behaviour on all platforms. It has more than enough bits for us anyway.

Where's the fun in not using the extra bits? O:)

Quoted 4 lines

Also for platforms that don't expose the LUT prop we'd probably want to fallback to the legacy API. Although I will soonish post some patches to expose the GAMMA_LUT stuff on all our platforms, so not a big deal for i915 I suppose. Other drivers might care more about that.

Why don't we? Patch should be 2 lines in the kernel.. What prevents us from doing this?

drivers/gpu/drm/i915/intel_color.c +3 -1
index 467fd1a1630c..250ac1765f7f 100644
@@ -873,7 +873,7 @@ void intel_color_init(struct intel_crtc *crtc)
 {
 	struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
 
-	drm_mode_crtc_set_gamma_size(&crtc->base, 256);
+	drm_mode_crtc_set_gamma_size(&crtc->base, LEGACY_LUT_LENGTH);
 
 	if (HAS_GMCH(dev_priv)) {
 		if (IS_CHERRYVIEW(dev_priv))
@@ -907,4 +907,6 @@ void intel_color_init(struct intel_crtc *crtc)
 					   INTEL_INFO(dev_priv)->color.degamma_lut_size,
 					   true,
 					   INTEL_INFO(dev_priv)->color.gamma_lut_size);
+	else
+		drm_crtc_enable_color_mgmt(&crtc->base, 0, false, LEGACY_LUT_LENGTH);
 }

Can send as separate patch, would be nice to have this in-kernel.

Quoted 15 lines
Quoted 4 lines
tests/kms_yuv.c new file +3 -0
+
+	lut = malloc(sizeof(uint16_t) * lut_size);
+	for (i = 0; i < lut_size; i++)

tests/kms_yuv.c line 102

Quoted 10 lines
tests/kms_yuv.c new file +10 -0
+		lut[i] = (i * 0xffff / (lut_size - 1)) & mask;
+
+	igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_GAMMA_LUT, lut, lut_size * sizeof(uint16_t));
+	free(lut);
+
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_DEGAMMA_LUT))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_DEGAMMA_LUT, NULL, 0);
+
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_CTM))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_CTM, NULL, 0);

Shouldn't those be cleared already by some display_reset() type thing?

We don't currently sanitize many properties. Although it seems that from the changes to igt_plane_reset() to deal with fallout from previous tests we probably should start setting sane defaults on everything..

Quoted 9 lines
Quoted 9 lines
tests/kms_yuv.c new file +9 -0
+}
+
+static void unfudge_lut(data_t *data, enum pipe pipe)
+{
+	igt_pipe_t *pipe_obj = &data->display.pipes[pipe];
+
+	if (igt_pipe_obj_has_prop(pipe_obj, IGT_CRTC_GAMMA_LUT))
+		igt_pipe_obj_replace_prop_blob(pipe_obj, IGT_CRTC_GAMMA_LUT, NULL, 0);
+}
Quoted 8 lines

tests/kms_yuv.c line 118

Quoted 7 lines
tests/kms_yuv.c new file +7 -0
+
+/*
+ * Test that we initialize a YUV fb as black correctly,
+ * that when we write a black FB it will get the same CRC, and that
+ * all colors we test will give the same CRC on all formats.
+ */
+static void yuv_sanity(data_t *data, enum pipe pipe, igt_output_t *output)

I wonder if this should just be part of the normal pixel format test?

I wrote these tests specifically to expose bugs in our YUV conversion routines. I could start capturing the reference CRC's with XRGB8888 like the normal pixel format test.

Whenever

~Maarten

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

#6 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] lib/igt_fb: Add support for Y21x formats as well, v3.

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/igt_fb: Add support for Y21x formats as well, v3.
URL : https://patchwork.freedesktop.org/series/58688/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_5831 -> IGTPW_2729
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://patchwork.freedesktop.org/api/1.0/series/58688/revisions/1/mbox/

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: PASS -> INCOMPLETE [fdo#107718]

* igt@kms_busy@basic-flip-b:
- fi-gdg-551: PASS -> FAIL [fdo#103182]

* igt@kms_frontbuffer_tracking@basic:
- fi-byt-clapper: PASS -> FAIL [fdo#103167]

* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a:
- fi-byt-clapper: PASS -> FAIL [fdo#107362]

* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362] +2

#### Possible fixes ####

* igt@i915_selftest@live_contexts:
- fi-bdw-gvtdvm: DMESG-FAIL [fdo#110235 ] -> PASS

[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103182]: https://bugs.freedesktop.org/show_bug.cgi?id=103182
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#110235 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110235

Participating hosts (43 -> 38)
------------------------------

Missing (5): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-skl-guc fi-bsw-cyan

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

* IGT: IGT_4911 -> IGTPW_2729

CI_DRM_5831: 8cac0cc264d2a6af0b33370b542b12d516e022c5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_2729: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2729/
IGT_4911: d9fe699ea45406e279b78d1afdb4d57a205a3c99 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+++ 756 lines
--- 0 lines

== Logs ==

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

#7 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] lib/igt_fb: Add support for Y21x formats as well, v3.

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/igt_fb: Add support for Y21x formats as well, v3.
URL : https://patchwork.freedesktop.org/series/58688/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_5831_full -> IGTPW_2729_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://patchwork.freedesktop.org/api/1.0/series/58688/revisions/1/mbox/

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@kms_yuv@pipe-a-yuv-sanity-crc} (NEW):
- shard-hsw: NOTRUN -> FAIL +2
- shard-snb: NOTRUN -> FAIL +1

* {igt@kms_yuv@pipe-b-yuv-sanity-crc} (NEW):
- shard-apl: NOTRUN -> FAIL +2

New tests
---------

New tests have been introduced between CI_DRM_5831_full and IGTPW_2729_full:

### New IGT tests (378) ###

* igt@kms_yuv@pipe-a-nv12-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv12-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv12-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv12-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv12-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv16-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv16-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv16-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv16-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv16-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv21-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv21-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv21-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv21-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv21-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv61-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv61-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv61-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv61-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-nv61-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p010-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p010-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p010-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p010-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p010-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p012-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p012-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p012-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p012-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p012-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p016-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p016-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p016-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p016-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-p016-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-uyvy-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-uyvy-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-uyvy-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-uyvy-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-uyvy-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-vyuy-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-vyuy-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-vyuy-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-vyuy-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-vyuy-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv30-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv30-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv30-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv30-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv30-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv36-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv36-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv36-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv36-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv36-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv48-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv48-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv48-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv48-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xv48-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xyuv-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xyuv-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xyuv-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xyuv-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-xyuv-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y210-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y210-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y210-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y210-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y210-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y212-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y212-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y212-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y212-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y212-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y216-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y216-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y216-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y216-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y216-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y410-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y410-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y410-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y410-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y410-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y412-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y412-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y412-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y412-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y412-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y416-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y416-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y416-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y416-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-y416-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu12-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu12-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu12-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu12-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu12-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu16-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu16-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu16-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu16-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yu16-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yuv-sanity-crc:
- Statuses : 4 fail(s) 1 skip(s)
- Exec time: [0.29, 2.56] s

* igt@kms_yuv@pipe-a-yuyv-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yuyv-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yuyv-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yuyv-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yuyv-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv12-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv12-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv12-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv12-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv12-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv16-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv16-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv16-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv16-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yv16-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yvyu-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yvyu-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yvyu-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yvyu-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-a-yvyu-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv12-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv12-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv12-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv12-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv12-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv16-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv16-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv16-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv16-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv16-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv21-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv21-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv21-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv21-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv21-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv61-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv61-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv61-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv61-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-nv61-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p010-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p010-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p010-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p010-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p010-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p012-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p012-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p012-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p012-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p012-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p016-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p016-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p016-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p016-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-p016-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-uyvy-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-uyvy-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-uyvy-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-uyvy-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-uyvy-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-vyuy-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-vyuy-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-vyuy-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-vyuy-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-vyuy-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv30-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv30-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv30-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv30-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv30-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv36-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv36-crop-scale-bug:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv36-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv36-rgb-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv36-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv48-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv48-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv48-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv48-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xv48-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xyuv-chroma-subpixel-clip:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xyuv-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xyuv-rgb-scaled-switch:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xyuv-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-xyuv-valid-width:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y210-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y210-crop-scale-bug:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y210-rgb-scaled-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y210-rgb-switch:
- Statuses : 5 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y210-valid-width:
- Statuses : 4 skip(s)
- Exec time: [0.0] s

* igt@kms_yuv@pipe-b-y212-chroma-subpixel-clip:
- Statuses : 5 skip(s)
- Exec time: [0.0

== Logs ==

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