All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
@ 2020-07-28 15:23 Pankaj Bharadiya
  2020-07-28 16:24 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Pankaj Bharadiya @ 2020-07-28 15:23 UTC (permalink / raw)
  To: igt-dev, pankaj.laxminarayan.bharadiya

BACKGROUND_COLOR property is not supported in kernel as
of now. Following patch attempted to add support but never got merged
due to lack of userspace support.

https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1

This test case is always skipped, as it does not find the
BACKGROUND_COLOR prop support hence remove it.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
---
 lib/igt_kms.c                     |   1 -
 lib/igt_kms.h                     |   3 +-
 tests/Makefile.sources            |   1 -
 tests/kms_crtc_background_color.c | 186 ------------------------------
 tests/meson.build                 |   1 -
 5 files changed, 1 insertion(+), 191 deletions(-)
 delete mode 100644 tests/kms_crtc_background_color.c

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index f57972f19..003f6af7b 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -398,7 +398,6 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
 };
 
 const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
-	[IGT_CRTC_BACKGROUND] = "background_color",
 	[IGT_CRTC_CTM] = "CTM",
 	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
 	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE",
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 26dc9f5fb..954f7be52 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
 void kmstest_set_vt_text_mode(void);
 
 enum igt_atomic_crtc_properties {
-       IGT_CRTC_BACKGROUND = 0,
-       IGT_CRTC_CTM,
+       IGT_CRTC_CTM = 0,
        IGT_CRTC_GAMMA_LUT,
        IGT_CRTC_GAMMA_LUT_SIZE,
        IGT_CRTC_DEGAMMA_LUT,
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 93d7768c4..994011700 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -40,7 +40,6 @@ TESTS_progs = \
 	kms_ccs \
 	kms_concurrent \
 	kms_content_protection\
-	kms_crtc_background_color \
 	kms_cursor_crc \
 	kms_cursor_edge_walk \
 	kms_cursor_legacy \
diff --git a/tests/kms_crtc_background_color.c b/tests/kms_crtc_background_color.c
deleted file mode 100644
index b4141b0df..000000000
--- a/tests/kms_crtc_background_color.c
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright © 2013,2014 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 (including the next
- * paragraph) 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.
- *
- */
-
-#include "igt.h"
-#include <math.h>
-
-
-IGT_TEST_DESCRIPTION("Test crtc background color feature");
-
-typedef struct {
-	int gfx_fd;
-	igt_display_t display;
-	struct igt_fb fb;
-	igt_crc_t ref_crc;
-	igt_pipe_crc_t *pipe_crc;
-} data_t;
-
-#define BLACK      0x000000           /* BGR 8bpc */
-#define CYAN       0xFFFF00           /* BGR 8bpc */
-#define PURPLE     0xFF00FF           /* BGR 8bpc */
-#define WHITE      0xFFFFFF           /* BGR 8bpc */
-
-#define BLACK64    0x000000000000     /* BGR 16bpc */
-#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
-#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
-#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
-#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
-#define RED64      0x00000000FFFF     /* BGR 16bpc */
-#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
-#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
-
-static void
-paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo *mode,
-		uint32_t background, double alpha)
-{
-	cairo_t *cr;
-	int w, h;
-	double r, g, b;
-
-	w = mode->hdisplay;
-	h = mode->vdisplay;
-
-	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
-
-	/* Paint with background color */
-	r = (double) (background & 0xFF) / 255.0;
-	g = (double) ((background & 0xFF00) >> 8) / 255.0;
-	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
-	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
-
-	igt_put_cairo_ctx(cr);
-}
-
-static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
-			igt_plane_t *plane, int opaque_buffer, int plane_color,
-			uint64_t pipe_background_color)
-{
-	drmModeModeInfo *mode;
-	igt_display_t *display = &data->display;
-	int fb_id;
-	double alpha;
-
-	igt_output_set_pipe(output, pipe);
-
-	/* create the pipe_crc object for this pipe */
-	igt_pipe_crc_free(data->pipe_crc);
-	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
-
-	mode = igt_output_get_mode(output);
-
-	fb_id = igt_create_fb(data->gfx_fd,
-			mode->hdisplay, mode->vdisplay,
-			DRM_FORMAT_XRGB8888,
-			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
-			&data->fb);
-	igt_assert(fb_id);
-
-	/* To make FB pixel win with background color, set alpha as full opaque */
-	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, pipe_background_color);
-	if (opaque_buffer)
-		alpha = 1.0;    /* alpha 1 is fully opque */
-	else
-		alpha = 0.0;    /* alpha 0 is fully transparent */
-	paint_background(data, &data->fb, mode, plane_color, alpha);
-
-	igt_plane_set_fb(plane, &data->fb);
-	igt_display_commit2(display, COMMIT_UNIVERSAL);
-}
-
-static void cleanup_crtc(data_t *data, igt_output_t *output, igt_plane_t *plane)
-{
-	igt_display_t *display = &data->display;
-
-	igt_pipe_crc_free(data->pipe_crc);
-	data->pipe_crc = NULL;
-
-	igt_remove_fb(data->gfx_fd, &data->fb);
-
-	igt_pipe_obj_set_prop_value(plane->pipe, IGT_CRTC_BACKGROUND, BLACK64);
-	igt_plane_set_fb(plane, NULL);
-	igt_output_set_pipe(output, PIPE_ANY);
-
-	igt_display_commit2(display, COMMIT_UNIVERSAL);
-}
-
-static void test_crtc_background(data_t *data)
-{
-	igt_display_t *display = &data->display;
-	igt_output_t *output;
-	enum pipe pipe;
-	int valid_tests = 0;
-
-	for_each_pipe_with_valid_output(display, pipe, output) {
-		igt_plane_t *plane;
-
-		igt_output_set_pipe(output, pipe);
-
-		plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
-		igt_require(igt_pipe_has_prop(display, pipe, IGT_CRTC_BACKGROUND));
-
-		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
-
-		/* Now set background without using a plane, i.e.,
-		 * Disable the plane to let hw background color win blend. */
-		igt_plane_set_fb(plane, NULL);
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, PURPLE64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		/* Try few other background colors */
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, CYAN64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, YELLOW64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, RED64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, GREEN64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, BLUE64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, WHITE64);
-		igt_display_commit2(display, COMMIT_UNIVERSAL);
-
-		valid_tests++;
-		cleanup_crtc(data, output, plane);
-	}
-	igt_require_f(valid_tests, "no valid crtc/connector combinations found\n");
-}
-
-igt_simple_main
-{
-	data_t data = {};
-
-	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
-	igt_require_pipe_crc(data.gfx_fd);
-	igt_display_require(&data.display, data.gfx_fd);
-
-	test_crtc_background(&data);
-
-	igt_display_fini(&data.display);
-}
diff --git a/tests/meson.build b/tests/meson.build
index ca792ed86..a6e1b7fae 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -24,7 +24,6 @@ test_progs = [
 	'kms_ccs',
 	'kms_concurrent',
 	'kms_content_protection',
-	'kms_crtc_background_color',
 	'kms_cursor_crc',
 	'kms_cursor_edge_walk',
 	'kms_cursor_legacy',
-- 
2.23.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for tests: Remove kms_crtc_background_color test
  2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
@ 2020-07-28 16:24 ` Patchwork
  2020-07-28 22:55 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2020-07-28 16:24 UTC (permalink / raw)
  To: Pankaj Bharadiya; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 6887 bytes --]

== Series Details ==

Series: tests: Remove kms_crtc_background_color test
URL   : https://patchwork.freedesktop.org/series/79989/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8805 -> IGTPW_4813
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@i915_pm_rpm@module-reload:
    - fi-byt-j1900:       [PASS][1] -> [DMESG-WARN][2] ([i915#1982]) +1 similar issue
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-byt-j1900/igt@i915_pm_rpm@module-reload.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-byt-j1900/igt@i915_pm_rpm@module-reload.html

  * igt@i915_selftest@live@gt_lrc:
    - fi-tgl-u2:          [PASS][3] -> [DMESG-FAIL][4] ([i915#1233])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-tgl-u2/igt@i915_selftest@live@gt_lrc.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-tgl-u2/igt@i915_selftest@live@gt_lrc.html

  * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
    - fi-icl-u2:          [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html

  * igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2:
    - fi-bsw-n3050:       [PASS][7] -> [FAIL][8] ([i915#2122])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html

  * igt@prime_self_import@basic-with_two_bos:
    - fi-tgl-y:           [PASS][9] -> [DMESG-WARN][10] ([i915#402]) +1 similar issue
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html

  
#### Possible fixes ####

  * igt@gem_exec_suspend@basic-s3:
    - fi-tgl-u2:          [FAIL][11] ([i915#1888]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-tgl-u2/igt@gem_exec_suspend@basic-s3.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-tgl-u2/igt@gem_exec_suspend@basic-s3.html

  * igt@i915_pm_rpm@module-reload:
    - fi-bsw-kefka:       [DMESG-WARN][13] ([i915#1982]) -> [PASS][14] +1 similar issue
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-bsw-kefka/igt@i915_pm_rpm@module-reload.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-bsw-kefka/igt@i915_pm_rpm@module-reload.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
    - fi-bsw-n3050:       [DMESG-WARN][15] ([i915#1982]) -> [PASS][16] +1 similar issue
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html

  * igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
    - fi-icl-u2:          [DMESG-WARN][17] ([i915#1982]) -> [PASS][18] +1 similar issue
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-before-cursor-atomic.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-before-cursor-atomic.html

  * igt@vgem_basic@setversion:
    - fi-tgl-y:           [DMESG-WARN][19] ([i915#402]) -> [PASS][20] +1 similar issue
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-tgl-y/igt@vgem_basic@setversion.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-tgl-y/igt@vgem_basic@setversion.html

  
#### Warnings ####

  * igt@debugfs_test@read_all_entries:
    - fi-kbl-x1275:       [DMESG-WARN][21] ([i915#62] / [i915#92]) -> [DMESG-WARN][22] ([i915#62] / [i915#92] / [i915#95]) +3 similar issues
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-kbl-x1275/igt@debugfs_test@read_all_entries.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-kbl-x1275/igt@debugfs_test@read_all_entries.html

  * igt@i915_pm_rpm@module-reload:
    - fi-kbl-x1275:       [DMESG-FAIL][23] ([i915#62] / [i915#95]) -> [SKIP][24] ([fdo#109271])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-kbl-x1275/igt@i915_pm_rpm@module-reload.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-kbl-x1275/igt@i915_pm_rpm@module-reload.html

  * igt@kms_force_connector_basic@force-connector-state:
    - fi-kbl-x1275:       [DMESG-WARN][25] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][26] ([i915#62] / [i915#92]) +2 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/fi-kbl-x1275/igt@kms_force_connector_basic@force-connector-state.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/fi-kbl-x1275/igt@kms_force_connector_basic@force-connector-state.html

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

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
  [i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
  [i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
  [i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
  [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95


Participating hosts (43 -> 37)
------------------------------

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


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5749 -> IGTPW_4813

  CI-20190529: 20190529
  CI_DRM_8805: 413763255985bf8aac9b7fb979cc8ff27ea5b1c1 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4813: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/index.html
  IGT_5749: 2fef871e791ceab7841b899691c443167550173d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools



== Testlist changes ==

-igt@kms_crtc_background_color

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/index.html

[-- Attachment #1.2: Type: text/html, Size: 8735 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [igt-dev] ✗ Fi.CI.IGT: failure for tests: Remove kms_crtc_background_color test
  2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
  2020-07-28 16:24 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2020-07-28 22:55 ` Patchwork
  2020-08-11  8:43 ` [igt-dev] ✓ Fi.CI.BAT: success for tests: Remove kms_crtc_background_color test (rev2) Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2020-07-28 22:55 UTC (permalink / raw)
  To: Pankaj Bharadiya; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 21380 bytes --]

== Series Details ==

Series: tests: Remove kms_crtc_background_color test
URL   : https://patchwork.freedesktop.org/series/79989/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_8805_full -> IGTPW_4813_full
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with IGTPW_4813_full absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_4813_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_4813/index.html

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

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

### IGT changes ###

#### Possible regressions ####

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
    - shard-hsw:          [PASS][1] -> [INCOMPLETE][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

  * igt@kms_flip@2x-nonexisting-fb@ac-vga1-hdmi-a1:
    - shard-hsw:          NOTRUN -> [INCOMPLETE][3]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw1/igt@kms_flip@2x-nonexisting-fb@ac-vga1-hdmi-a1.html

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-wc:
    - shard-tglb:         [PASS][4] -> [FAIL][5]
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-wc.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-wc.html

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_huc_copy@huc-copy:
    - shard-tglb:         [PASS][6] -> [SKIP][7] ([i915#2190])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb8/igt@gem_huc_copy@huc-copy.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb6/igt@gem_huc_copy@huc-copy.html

  * igt@i915_pm_rc6_residency@rc6-fence:
    - shard-hsw:          [PASS][8] -> [WARN][9] ([i915#1519])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw6/igt@i915_pm_rc6_residency@rc6-fence.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw1/igt@i915_pm_rc6_residency@rc6-fence.html

  * igt@kms_big_fb@y-tiled-64bpp-rotate-0:
    - shard-glk:          [PASS][10] -> [DMESG-FAIL][11] ([i915#118] / [i915#95])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk1/igt@kms_big_fb@y-tiled-64bpp-rotate-0.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk9/igt@kms_big_fb@y-tiled-64bpp-rotate-0.html

  * igt@kms_color@pipe-c-gamma:
    - shard-hsw:          [PASS][12] -> [TIMEOUT][13] ([i915#1958] / [i915#2119]) +2 similar issues
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw4/igt@kms_color@pipe-c-gamma.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw4/igt@kms_color@pipe-c-gamma.html

  * igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding:
    - shard-snb:          [PASS][14] -> [TIMEOUT][15] ([i915#1958] / [i915#2119]) +1 similar issue
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb6/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb2/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html

  * igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding:
    - shard-iclb:         [PASS][16] -> [DMESG-WARN][17] ([i915#1982])
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb8/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb1/igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding.html

  * igt@kms_cursor_legacy@cursora-vs-flipb-varying-size:
    - shard-glk:          [PASS][18] -> [INCOMPLETE][19] ([i915#2241])
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk3/igt@kms_cursor_legacy@cursora-vs-flipb-varying-size.html
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk1/igt@kms_cursor_legacy@cursora-vs-flipb-varying-size.html

  * igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset@ab-hdmi-a1-hdmi-a2:
    - shard-glk:          [PASS][20] -> [DMESG-WARN][21] ([i915#1982])
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk3/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset@ab-hdmi-a1-hdmi-a2.html
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk7/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset@ab-hdmi-a1-hdmi-a2.html

  * igt@kms_flip@nonexisting-fb-interruptible@a-edp1:
    - shard-iclb:         [PASS][22] -> [INCOMPLETE][23] ([i915#2240])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb6/igt@kms_flip@nonexisting-fb-interruptible@a-edp1.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb8/igt@kms_flip@nonexisting-fb-interruptible@a-edp1.html

  * igt@kms_flip@nonexisting-fb@b-vga1:
    - shard-snb:          [PASS][24] -> [INCOMPLETE][25] ([i915#82])
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb2/igt@kms_flip@nonexisting-fb@b-vga1.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb4/igt@kms_flip@nonexisting-fb@b-vga1.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt:
    - shard-snb:          [PASS][26] -> [SKIP][27] ([fdo#109271])
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
    - shard-tglb:         [PASS][28] -> [DMESG-WARN][29] ([i915#1982]) +2 similar issues
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html

  * igt@kms_hdr@bpc-switch-suspend:
    - shard-tglb:         [PASS][30] -> [INCOMPLETE][31] ([i915#1373] / [i915#1602] / [i915#1887])
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb1/igt@kms_hdr@bpc-switch-suspend.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb7/igt@kms_hdr@bpc-switch-suspend.html

  * igt@kms_psr@psr2_cursor_plane_move:
    - shard-iclb:         [PASS][32] -> [SKIP][33] ([fdo#109441]) +2 similar issues
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb7/igt@kms_psr@psr2_cursor_plane_move.html

  * igt@kms_vblank@pipe-a-ts-continuation-suspend:
    - shard-kbl:          [PASS][34] -> [DMESG-WARN][35] ([i915#180]) +8 similar issues
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl2/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl1/igt@kms_vblank@pipe-a-ts-continuation-suspend.html

  
#### Possible fixes ####

  * igt@gem_ctx_engines@idempotent:
    - shard-hsw:          [TIMEOUT][36] ([i915#1958] / [i915#2119]) -> [PASS][37] +5 similar issues
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw8/igt@gem_ctx_engines@idempotent.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw8/igt@gem_ctx_engines@idempotent.html

  * igt@gem_ctx_exec@basic-nohangcheck:
    - shard-snb:          [TIMEOUT][38] ([i915#1958] / [i915#2119]) -> [PASS][39]
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb5/igt@gem_ctx_exec@basic-nohangcheck.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb6/igt@gem_ctx_exec@basic-nohangcheck.html

  * igt@gem_eio@in-flight-suspend:
    - shard-kbl:          [DMESG-WARN][40] ([i915#165]) -> [PASS][41]
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl7/igt@gem_eio@in-flight-suspend.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl3/igt@gem_eio@in-flight-suspend.html

  * igt@gem_eio@kms:
    - shard-glk:          [INCOMPLETE][42] -> [PASS][43]
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk5/igt@gem_eio@kms.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk5/igt@gem_eio@kms.html

  * igt@gem_exec_whisper@basic-forked:
    - shard-glk:          [DMESG-WARN][44] ([i915#118] / [i915#95]) -> [PASS][45]
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk4/igt@gem_exec_whisper@basic-forked.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk6/igt@gem_exec_whisper@basic-forked.html

  * igt@i915_module_load@reload:
    - shard-apl:          [DMESG-WARN][46] ([i915#1635] / [i915#1982]) -> [PASS][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl7/igt@i915_module_load@reload.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-apl4/igt@i915_module_load@reload.html

  * igt@kms_atomic_transition@plane-all-transition@edp-1-pipe-a:
    - shard-tglb:         [INCOMPLETE][48] ([i915#2242]) -> [PASS][49] +2 similar issues
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb6/igt@kms_atomic_transition@plane-all-transition@edp-1-pipe-a.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb1/igt@kms_atomic_transition@plane-all-transition@edp-1-pipe-a.html

  * igt@kms_cursor_crc@pipe-c-cursor-128x42-sliding:
    - shard-apl:          [FAIL][50] ([i915#1635] / [i915#54]) -> [PASS][51]
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl8/igt@kms_cursor_crc@pipe-c-cursor-128x42-sliding.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-apl2/igt@kms_cursor_crc@pipe-c-cursor-128x42-sliding.html
    - shard-kbl:          [FAIL][52] ([i915#54]) -> [PASS][53]
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl7/igt@kms_cursor_crc@pipe-c-cursor-128x42-sliding.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-128x42-sliding.html

  * igt@kms_cursor_crc@pipe-c-cursor-suspend:
    - shard-kbl:          [DMESG-WARN][54] ([i915#180]) -> [PASS][55] +3 similar issues
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl6/igt@kms_cursor_crc@pipe-c-cursor-suspend.html

  * igt@kms_cursor_legacy@all-pipes-torture-move:
    - shard-iclb:         [DMESG-WARN][56] ([i915#128]) -> [PASS][57]
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb7/igt@kms_cursor_legacy@all-pipes-torture-move.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb5/igt@kms_cursor_legacy@all-pipes-torture-move.html

  * igt@kms_flip@2x-nonexisting-fb@ab-vga1-hdmi-a1:
    - shard-hsw:          [INCOMPLETE][58] -> [PASS][59]
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw4/igt@kms_flip@2x-nonexisting-fb@ab-vga1-hdmi-a1.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw1/igt@kms_flip@2x-nonexisting-fb@ab-vga1-hdmi-a1.html

  * igt@kms_flip@nonexisting-fb-interruptible@a-edp1:
    - shard-tglb:         [INCOMPLETE][60] ([i915#2240]) -> [PASS][61]
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb5/igt@kms_flip@nonexisting-fb-interruptible@a-edp1.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb8/igt@kms_flip@nonexisting-fb-interruptible@a-edp1.html

  * igt@kms_flip@nonexisting-fb-interruptible@c-dp1:
    - shard-kbl:          [INCOMPLETE][62] ([i915#2240]) -> [PASS][63]
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl3/igt@kms_flip@nonexisting-fb-interruptible@c-dp1.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl1/igt@kms_flip@nonexisting-fb-interruptible@c-dp1.html

  * igt@kms_flip@nonexisting-fb@c-dp1:
    - shard-kbl:          [INCOMPLETE][64] -> [PASS][65] +1 similar issue
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl4/igt@kms_flip@nonexisting-fb@c-dp1.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl3/igt@kms_flip@nonexisting-fb@c-dp1.html

  * igt@kms_frontbuffer_tracking@fbc-stridechange:
    - shard-glk:          [DMESG-WARN][66] ([i915#1982]) -> [PASS][67] +1 similar issue
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-glk6/igt@kms_frontbuffer_tracking@fbc-stridechange.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-glk9/igt@kms_frontbuffer_tracking@fbc-stridechange.html

  * igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-blt:
    - shard-tglb:         [DMESG-WARN][68] ([i915#1982]) -> [PASS][69] +3 similar issues
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-tglb8/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-blt.html
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-tglb6/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-blt.html

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
    - shard-kbl:          [INCOMPLETE][70] ([i915#155]) -> [PASS][71]
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-kbl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-kbl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html

  * igt@kms_psr@psr2_sprite_plane_move:
    - shard-iclb:         [SKIP][72] ([fdo#109441]) -> [PASS][73] +2 similar issues
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb8/igt@kms_psr@psr2_sprite_plane_move.html
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html

  * igt@kms_setmode@basic:
    - shard-apl:          [FAIL][74] ([i915#1635] / [i915#31]) -> [PASS][75]
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl2/igt@kms_setmode@basic.html
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-apl7/igt@kms_setmode@basic.html

  
#### Warnings ####

  * igt@gem_exec_reloc@basic-concurrent16:
    - shard-snb:          [FAIL][76] ([i915#1930]) -> [TIMEOUT][77] ([i915#1958] / [i915#2119])
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb6/igt@gem_exec_reloc@basic-concurrent16.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb2/igt@gem_exec_reloc@basic-concurrent16.html

  * igt@gem_exec_reloc@basic-spin-others@vcs0:
    - shard-snb:          [WARN][78] ([i915#2021]) -> [WARN][79] ([i915#2036])
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb4/igt@gem_exec_reloc@basic-spin-others@vcs0.html
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb5/igt@gem_exec_reloc@basic-spin-others@vcs0.html

  * igt@i915_pm_rc6_residency@rc6-idle:
    - shard-iclb:         [WARN][80] ([i915#1515]) -> [FAIL][81] ([i915#1515])
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-iclb5/igt@i915_pm_rc6_residency@rc6-idle.html
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-iclb4/igt@i915_pm_rc6_residency@rc6-idle.html

  * igt@kms_color@pipe-c-gamma:
    - shard-snb:          [SKIP][82] ([fdo#109271]) -> [TIMEOUT][83] ([i915#1958] / [i915#2119]) +3 similar issues
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-snb5/igt@kms_color@pipe-c-gamma.html
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-snb2/igt@kms_color@pipe-c-gamma.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt:
    - shard-hsw:          [SKIP][84] ([fdo#109271]) -> [TIMEOUT][85] ([i915#1958] / [i915#2119]) +2 similar issues
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-hsw6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt.html
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-hsw4/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt.html

  * igt@runner@aborted:
    - shard-apl:          ([FAIL][86], [FAIL][87], [FAIL][88], [FAIL][89], [FAIL][90], [FAIL][91], [FAIL][92], [FAIL][93], [FAIL][94], [FAIL][95], [FAIL][96], [FAIL][97], [FAIL][98], [FAIL][99]) ([i915#1610] / [i915#1635] / [i915#2110] / [i915#637]) -> [FAIL][100] ([i915#1635] / [i915#2110])
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl2/igt@runner@aborted.html
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl3/igt@runner@aborted.html
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl3/igt@runner@aborted.html
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl2/igt@runner@aborted.html
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl3/igt@runner@aborted.html
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl4/igt@runner@aborted.html
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl7/igt@runner@aborted.html
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl7/igt@runner@aborted.html
   [94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl8/igt@runner@aborted.html
   [95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl6/igt@runner@aborted.html
   [96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl6/igt@runner@aborted.html
   [97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl8/igt@runner@aborted.html
   [98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl1/igt@runner@aborted.html
   [99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8805/shard-apl1/igt@runner@aborted.html
   [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/shard-apl7/igt@runner@aborted.html

  
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
  [i915#128]: https://gitlab.freedesktop.org/drm/intel/issues/128
  [i915#1373]: https://gitlab.freedesktop.org/drm/intel/issues/1373
  [i915#1515]: https://gitlab.freedesktop.org/drm/intel/issues/1515
  [i915#1519]: https://gitlab.freedesktop.org/drm/intel/issues/1519
  [i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
  [i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
  [i915#1610]: https://gitlab.freedesktop.org/drm/intel/issues/1610
  [i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
  [i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
  [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
  [i915#1887]: https://gitlab.freedesktop.org/drm/intel/issues/1887
  [i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
  [i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2021]: https://gitlab.freedesktop.org/drm/intel/issues/2021
  [i915#2036]: https://gitlab.freedesktop.org/drm/intel/issues/2036
  [i915#2110]: https://gitlab.freedesktop.org/drm/intel/issues/2110
  [i915#2119]: https://gitlab.freedesktop.org/drm/intel/issues/2119
  [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
  [i915#2240]: https://gitlab.freedesktop.org/drm/intel/issues/2240
  [i915#2241]: https://gitlab.freedesktop.org/drm/intel/issues/2241
  [i915#2242]: https://gitlab.freedesktop.org/drm/intel/issues/2242
  [i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
  [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
  [i915#637]: https://gitlab.freedesktop.org/drm/intel/issues/637
  [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95


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

  Missing    (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7 


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5749 -> IGTPW_4813
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_8805: 413763255985bf8aac9b7fb979cc8ff27ea5b1c1 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4813: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4813/index.html
  IGT_5749: 2fef871e791ceab7841b899691c443167550173d @ 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_4813/index.html

[-- Attachment #1.2: Type: text/html, Size: 25541 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for tests: Remove kms_crtc_background_color test (rev2)
  2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
  2020-07-28 16:24 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2020-07-28 22:55 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
@ 2020-08-11  8:43 ` Patchwork
  2020-08-11  9:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  2020-09-02  8:28 ` [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Sharma, Swati2
  4 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2020-08-11  8:43 UTC (permalink / raw)
  To: Pankaj Bharadiya; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 4918 bytes --]

== Series Details ==

Series: tests: Remove kms_crtc_background_color test (rev2)
URL   : https://patchwork.freedesktop.org/series/79989/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8868 -> IGTPW_4873
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s3:
    - fi-tgl-u2:          [PASS][1] -> [FAIL][2] ([i915#1888])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-tgl-u2/igt@gem_exec_suspend@basic-s3.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-tgl-u2/igt@gem_exec_suspend@basic-s3.html

  * igt@i915_selftest@live@gt_lrc:
    - fi-tgl-u2:          [PASS][3] -> [DMESG-FAIL][4] ([i915#1233])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-tgl-u2/igt@i915_selftest@live@gt_lrc.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-tgl-u2/igt@i915_selftest@live@gt_lrc.html

  
#### Possible fixes ####

  * igt@i915_pm_rpm@basic-pci-d3-state:
    - fi-byt-j1900:       [DMESG-WARN][5] ([i915#1982]) -> [PASS][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html

  * igt@i915_selftest@live@gem_contexts:
    - fi-tgl-u2:          [INCOMPLETE][7] ([i915#2045]) -> [PASS][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-tgl-u2/igt@i915_selftest@live@gem_contexts.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-tgl-u2/igt@i915_selftest@live@gem_contexts.html

  * igt@kms_force_connector_basic@force-connector-state:
    - {fi-tgl-dsi}:       [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-tgl-dsi/igt@kms_force_connector_basic@force-connector-state.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-tgl-dsi/igt@kms_force_connector_basic@force-connector-state.html

  
#### Warnings ####

  * igt@gem_exec_suspend@basic-s0:
    - fi-kbl-x1275:       [DMESG-WARN][11] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][12] ([i915#1982] / [i915#62] / [i915#92])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html

  * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
    - fi-kbl-x1275:       [DMESG-WARN][13] ([i915#62] / [i915#92]) -> [DMESG-WARN][14] ([i915#62] / [i915#92] / [i915#95]) +2 similar issues
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html

  * igt@kms_force_connector_basic@force-edid:
    - fi-kbl-x1275:       [DMESG-WARN][15] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][16] ([i915#62] / [i915#92]) +3 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/fi-kbl-x1275/igt@kms_force_connector_basic@force-edid.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/fi-kbl-x1275/igt@kms_force_connector_basic@force-edid.html

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

  [i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
  [i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2045]: https://gitlab.freedesktop.org/drm/intel/issues/2045
  [i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
  [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95


Participating hosts (43 -> 37)
------------------------------

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


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5766 -> IGTPW_4873

  CI-20190529: 20190529
  CI_DRM_8868: 8013d0a5f31046f2be4ea965ec59c70b39c54186 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4873: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/index.html
  IGT_5766: fc9f95086fc23f7f2226f7603241fbad3a214ee1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools



== Testlist changes ==

-igt@kms_crtc_background_color

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/index.html

[-- Attachment #1.2: Type: text/html, Size: 6627 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [igt-dev] ✓ Fi.CI.IGT: success for tests: Remove kms_crtc_background_color test (rev2)
  2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
                   ` (2 preceding siblings ...)
  2020-08-11  8:43 ` [igt-dev] ✓ Fi.CI.BAT: success for tests: Remove kms_crtc_background_color test (rev2) Patchwork
@ 2020-08-11  9:38 ` Patchwork
  2020-09-02  8:28 ` [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Sharma, Swati2
  4 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2020-08-11  9:38 UTC (permalink / raw)
  To: Pankaj Bharadiya; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 19047 bytes --]

== Series Details ==

Series: tests: Remove kms_crtc_background_color test (rev2)
URL   : https://patchwork.freedesktop.org/series/79989/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8868_full -> IGTPW_4873_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_basic@create-fd-close:
    - shard-snb:          [PASS][1] -> [TIMEOUT][2] ([i915#1958]) +3 similar issues
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-snb5/igt@gem_basic@create-fd-close.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-snb2/igt@gem_basic@create-fd-close.html

  * igt@gem_ctx_isolation@preservation-s3@vecs0:
    - shard-kbl:          [PASS][3] -> [DMESG-WARN][4] ([i915#180]) +6 similar issues
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl4/igt@gem_ctx_isolation@preservation-s3@vecs0.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl3/igt@gem_ctx_isolation@preservation-s3@vecs0.html

  * igt@gem_exec_whisper@basic-fds-priority:
    - shard-glk:          [PASS][5] -> [DMESG-WARN][6] ([i915#118] / [i915#95]) +3 similar issues
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-glk4/igt@gem_exec_whisper@basic-fds-priority.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-glk7/igt@gem_exec_whisper@basic-fds-priority.html

  * igt@gem_pread@bench:
    - shard-hsw:          [PASS][7] -> [TIMEOUT][8] ([i915#1958]) +3 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw8/igt@gem_pread@bench.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw2/igt@gem_pread@bench.html

  * igt@kms_big_fb@x-tiled-64bpp-rotate-0:
    - shard-glk:          [PASS][9] -> [DMESG-FAIL][10] ([i915#118] / [i915#95])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-glk6/igt@kms_big_fb@x-tiled-64bpp-rotate-0.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-glk8/igt@kms_big_fb@x-tiled-64bpp-rotate-0.html

  * igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-vga1-hdmi-a1:
    - shard-hsw:          [PASS][11] -> [DMESG-WARN][12] ([i915#1982])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw7/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-vga1-hdmi-a1.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw6/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-vga1-hdmi-a1.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc:
    - shard-tglb:         [PASS][13] -> [DMESG-WARN][14] ([i915#1982]) +1 similar issue
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-tglb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-tglb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html

  * igt@kms_plane@plane-position-covered-pipe-a-planes:
    - shard-snb:          [PASS][15] -> [SKIP][16] ([fdo#109271]) +3 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-snb2/igt@kms_plane@plane-position-covered-pipe-a-planes.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-snb2/igt@kms_plane@plane-position-covered-pipe-a-planes.html

  * igt@kms_plane_scaling@pipe-c-scaler-with-clipping-clamping:
    - shard-iclb:         [PASS][17] -> [DMESG-WARN][18] ([i915#1982])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb8/igt@kms_plane_scaling@pipe-c-scaler-with-clipping-clamping.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb3/igt@kms_plane_scaling@pipe-c-scaler-with-clipping-clamping.html

  * igt@kms_psr2_su@frontbuffer:
    - shard-tglb:         [PASS][19] -> [SKIP][20] ([i915#1911])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-tglb2/igt@kms_psr2_su@frontbuffer.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-tglb2/igt@kms_psr2_su@frontbuffer.html

  * igt@kms_psr@psr2_primary_page_flip:
    - shard-iclb:         [PASS][21] -> [SKIP][22] ([fdo#109441]) +2 similar issues
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb7/igt@kms_psr@psr2_primary_page_flip.html

  * igt@kms_setmode@basic:
    - shard-kbl:          [PASS][23] -> [FAIL][24] ([i915#31])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl3/igt@kms_setmode@basic.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl3/igt@kms_setmode@basic.html

  * igt@kms_vblank@pipe-b-query-busy:
    - shard-apl:          [PASS][25] -> [DMESG-WARN][26] ([i915#1635] / [i915#1982]) +3 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl8/igt@kms_vblank@pipe-b-query-busy.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl8/igt@kms_vblank@pipe-b-query-busy.html

  * igt@prime_busy@hang-wait@bcs0:
    - shard-hsw:          [PASS][27] -> [FAIL][28] ([i915#2258]) +5 similar issues
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw6/igt@prime_busy@hang-wait@bcs0.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw4/igt@prime_busy@hang-wait@bcs0.html

  
#### Possible fixes ####

  * igt@gem_exec_whisper@basic-queues-priority-all:
    - shard-glk:          [DMESG-WARN][29] ([i915#118] / [i915#95]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-glk4/igt@gem_exec_whisper@basic-queues-priority-all.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-glk1/igt@gem_exec_whisper@basic-queues-priority-all.html

  * igt@gen9_exec_parse@allowed-all:
    - shard-apl:          [DMESG-WARN][31] ([i915#1436] / [i915#1635] / [i915#716]) -> [PASS][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl4/igt@gen9_exec_parse@allowed-all.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl8/igt@gen9_exec_parse@allowed-all.html

  * igt@i915_pm_dc@dc6-psr:
    - shard-iclb:         [FAIL][33] ([i915#1899]) -> [PASS][34]
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb5/igt@i915_pm_dc@dc6-psr.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb5/igt@i915_pm_dc@dc6-psr.html

  * igt@kms_big_fb@x-tiled-64bpp-rotate-180:
    - shard-glk:          [DMESG-FAIL][35] ([i915#118] / [i915#95]) -> [PASS][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-glk8/igt@kms_big_fb@x-tiled-64bpp-rotate-180.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-glk2/igt@kms_big_fb@x-tiled-64bpp-rotate-180.html

  * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
    - shard-hsw:          [FAIL][37] ([i915#96]) -> [PASS][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw8/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw8/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html

  * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-untiled:
    - shard-apl:          [TIMEOUT][39] ([i915#1635] / [i915#1958]) -> [PASS][40] +3 similar issues
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl2/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-untiled.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl7/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-untiled.html

  * igt@kms_flip_event_leak:
    - shard-snb:          [TIMEOUT][41] ([i915#1958]) -> [PASS][42] +4 similar issues
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-snb5/igt@kms_flip_event_leak.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-snb2/igt@kms_flip_event_leak.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc:
    - shard-glk:          [FAIL][43] ([i915#49]) -> [PASS][44] +1 similar issue
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-glk7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-glk5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu:
    - shard-kbl:          [FAIL][45] ([i915#49]) -> [PASS][46] +1 similar issue
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
    - shard-apl:          [FAIL][47] ([i915#1635] / [i915#49]) -> [PASS][48] +1 similar issue
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html

  * igt@kms_frontbuffer_tracking@fbc-suspend:
    - shard-kbl:          [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +7 similar issues
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-suspend.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-suspend.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-mmap-cpu:
    - shard-tglb:         [DMESG-WARN][51] ([i915#1982]) -> [PASS][52] +1 similar issue
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-mmap-cpu.html
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-mmap-cpu.html

  * igt@kms_hdmi_inject@inject-audio:
    - shard-tglb:         [SKIP][53] ([i915#433]) -> [PASS][54]
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-tglb6/igt@kms_hdmi_inject@inject-audio.html
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-tglb2/igt@kms_hdmi_inject@inject-audio.html

  * igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping:
    - shard-iclb:         [DMESG-WARN][55] ([i915#1982]) -> [PASS][56] +1 similar issue
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb3/igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping.html
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb5/igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping.html

  * igt@kms_psr@psr2_no_drrs:
    - shard-iclb:         [SKIP][57] ([fdo#109441]) -> [PASS][58] +2 similar issues
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb6/igt@kms_psr@psr2_no_drrs.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb2/igt@kms_psr@psr2_no_drrs.html

  * igt@kms_vblank@pipe-c-ts-continuation-dpms-suspend:
    - shard-kbl:          [INCOMPLETE][59] ([i915#155]) -> [PASS][60]
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl4/igt@kms_vblank@pipe-c-ts-continuation-dpms-suspend.html
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl2/igt@kms_vblank@pipe-c-ts-continuation-dpms-suspend.html

  * igt@prime_busy@after-wait@vcs0:
    - shard-hsw:          [FAIL][61] ([i915#2258]) -> [PASS][62] +1 similar issue
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw6/igt@prime_busy@after-wait@vcs0.html
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw2/igt@prime_busy@after-wait@vcs0.html

  * igt@syncobj_wait@invalid-signal-illegal-handle:
    - shard-hsw:          [TIMEOUT][63] ([i915#1958]) -> [PASS][64] +2 similar issues
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw8/igt@syncobj_wait@invalid-signal-illegal-handle.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw6/igt@syncobj_wait@invalid-signal-illegal-handle.html

  
#### Warnings ####

  * igt@gem_exec_reloc@basic-concurrent16:
    - shard-apl:          [TIMEOUT][65] ([i915#1635] / [i915#1958]) -> [INCOMPLETE][66] ([i915#1635] / [i915#1958])
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl2/igt@gem_exec_reloc@basic-concurrent16.html
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl7/igt@gem_exec_reloc@basic-concurrent16.html

  * igt@i915_pm_dc@dc6-psr:
    - shard-tglb:         [FAIL][67] ([i915#1899]) -> [FAIL][68] ([i915#454])
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-tglb5/igt@i915_pm_dc@dc6-psr.html
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-tglb3/igt@i915_pm_dc@dc6-psr.html

  * igt@i915_pm_rc6_residency@rc6-idle:
    - shard-iclb:         [WARN][69] ([i915#1515]) -> [FAIL][70] ([i915#1515])
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb4/igt@i915_pm_rc6_residency@rc6-idle.html
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb1/igt@i915_pm_rc6_residency@rc6-idle.html

  * igt@kms_ccs@pipe-b-ccs-on-another-bo:
    - shard-hsw:          [SKIP][71] ([fdo#109271]) -> [TIMEOUT][72] ([i915#1958])
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw4/igt@kms_ccs@pipe-b-ccs-on-another-bo.html
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw2/igt@kms_ccs@pipe-b-ccs-on-another-bo.html
    - shard-snb:          [SKIP][73] ([fdo#109271]) -> [TIMEOUT][74] ([i915#1958])
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-snb6/igt@kms_ccs@pipe-b-ccs-on-another-bo.html
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-snb2/igt@kms_ccs@pipe-b-ccs-on-another-bo.html

  * igt@kms_color@pipe-a-ctm-0-75:
    - shard-iclb:         [DMESG-FAIL][75] ([i915#1149] / [i915#1226]) -> [FAIL][76] ([i915#1149] / [i915#315])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb1/igt@kms_color@pipe-a-ctm-0-75.html
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb8/igt@kms_color@pipe-a-ctm-0-75.html

  * igt@kms_dp_dsc@basic-dsc-enable-edp:
    - shard-iclb:         [DMESG-WARN][77] ([i915#1226]) -> [SKIP][78] ([fdo#109349])
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-iclb7/igt@kms_dp_dsc@basic-dsc-enable-edp.html

  * igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
    - shard-kbl:          [DMESG-WARN][79] ([i915#180]) -> [INCOMPLETE][80] ([i915#155])
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-kbl2/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-kbl6/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-mmap-cpu:
    - shard-hsw:          [TIMEOUT][81] ([i915#1958]) -> [SKIP][82] ([fdo#109271]) +1 similar issue
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-hsw8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-mmap-cpu.html
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-hsw8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-mmap-cpu.html

  * igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-render:
    - shard-snb:          [TIMEOUT][83] ([i915#1958]) -> [SKIP][84] ([fdo#109271])
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-snb5/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-render.html
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-snb4/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-render.html
    - shard-apl:          [TIMEOUT][85] ([i915#1635] / [i915#1958]) -> [SKIP][86] ([fdo#109271] / [i915#1635])
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8868/shard-apl2/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-render.html
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/shard-apl7/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-render.html

  
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
  [i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
  [i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
  [i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
  [i915#1515]: https://gitlab.freedesktop.org/drm/intel/issues/1515
  [i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
  [i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
  [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
  [i915#1899]: https://gitlab.freedesktop.org/drm/intel/issues/1899
  [i915#1911]: https://gitlab.freedesktop.org/drm/intel/issues/1911
  [i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2258]: https://gitlab.freedesktop.org/drm/intel/issues/2258
  [i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
  [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
  [i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
  [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
  [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
  [i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
  [i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96


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

  Missing    (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7 


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5766 -> IGTPW_4873
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_8868: 8013d0a5f31046f2be4ea965ec59c70b39c54186 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4873: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4873/index.html
  IGT_5766: fc9f95086fc23f7f2226f7603241fbad3a214ee1 @ 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_4873/index.html

[-- Attachment #1.2: Type: text/html, Size: 23684 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
                   ` (3 preceding siblings ...)
  2020-08-11  9:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2020-09-02  8:28 ` Sharma, Swati2
  2020-09-02  8:34   ` Laxminarayan Bharadiya, Pankaj
  4 siblings, 1 reply; 11+ messages in thread
From: Sharma, Swati2 @ 2020-09-02  8:28 UTC (permalink / raw)
  To: Pankaj Bharadiya, igt-dev, Martin Peres



On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
> BACKGROUND_COLOR property is not supported in kernel as
> of now. Following patch attempted to add support but never got merged
> due to lack of userspace support.
> 
> https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
> 
> This test case is always skipped, as it does not find the
> BACKGROUND_COLOR prop support hence remove it.

Why we have to remove the test? What if its supported in kernel in future?
If test is skipping; we can add it to blacklist (listing it as expected 
skip)

Adding Martin Peres.
> 
> Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
> ---
>   lib/igt_kms.c                     |   1 -
>   lib/igt_kms.h                     |   3 +-
>   tests/Makefile.sources            |   1 -
>   tests/kms_crtc_background_color.c | 186 ------------------------------
>   tests/meson.build                 |   1 -
>   5 files changed, 1 insertion(+), 191 deletions(-)
>   delete mode 100644 tests/kms_crtc_background_color.c
> 
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index f57972f19..003f6af7b 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -398,7 +398,6 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
>   };
>   
>   const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
> -	[IGT_CRTC_BACKGROUND] = "background_color",
>   	[IGT_CRTC_CTM] = "CTM",
>   	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
>   	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE",
> diff --git a/lib/igt_kms.h b/lib/igt_kms.h
> index 26dc9f5fb..954f7be52 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
>   void kmstest_set_vt_text_mode(void);
>   
>   enum igt_atomic_crtc_properties {
> -       IGT_CRTC_BACKGROUND = 0,
> -       IGT_CRTC_CTM,
> +       IGT_CRTC_CTM = 0,
>          IGT_CRTC_GAMMA_LUT,
>          IGT_CRTC_GAMMA_LUT_SIZE,
>          IGT_CRTC_DEGAMMA_LUT,
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index 93d7768c4..994011700 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -40,7 +40,6 @@ TESTS_progs = \
>   	kms_ccs \
>   	kms_concurrent \
>   	kms_content_protection\
> -	kms_crtc_background_color \
>   	kms_cursor_crc \
>   	kms_cursor_edge_walk \
>   	kms_cursor_legacy \
> diff --git a/tests/kms_crtc_background_color.c b/tests/kms_crtc_background_color.c
> deleted file mode 100644
> index b4141b0df..000000000
> --- a/tests/kms_crtc_background_color.c
> +++ /dev/null
> @@ -1,186 +0,0 @@
> -/*
> - * Copyright © 2013,2014 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 (including the next
> - * paragraph) 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.
> - *
> - */
> -
> -#include "igt.h"
> -#include <math.h>
> -
> -
> -IGT_TEST_DESCRIPTION("Test crtc background color feature");
> -
> -typedef struct {
> -	int gfx_fd;
> -	igt_display_t display;
> -	struct igt_fb fb;
> -	igt_crc_t ref_crc;
> -	igt_pipe_crc_t *pipe_crc;
> -} data_t;
> -
> -#define BLACK      0x000000           /* BGR 8bpc */
> -#define CYAN       0xFFFF00           /* BGR 8bpc */
> -#define PURPLE     0xFF00FF           /* BGR 8bpc */
> -#define WHITE      0xFFFFFF           /* BGR 8bpc */
> -
> -#define BLACK64    0x000000000000     /* BGR 16bpc */
> -#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
> -#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
> -#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
> -#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
> -#define RED64      0x00000000FFFF     /* BGR 16bpc */
> -#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
> -#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
> -
> -static void
> -paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo *mode,
> -		uint32_t background, double alpha)
> -{
> -	cairo_t *cr;
> -	int w, h;
> -	double r, g, b;
> -
> -	w = mode->hdisplay;
> -	h = mode->vdisplay;
> -
> -	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
> -
> -	/* Paint with background color */
> -	r = (double) (background & 0xFF) / 255.0;
> -	g = (double) ((background & 0xFF00) >> 8) / 255.0;
> -	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
> -	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
> -
> -	igt_put_cairo_ctx(cr);
> -}
> -
> -static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
> -			igt_plane_t *plane, int opaque_buffer, int plane_color,
> -			uint64_t pipe_background_color)
> -{
> -	drmModeModeInfo *mode;
> -	igt_display_t *display = &data->display;
> -	int fb_id;
> -	double alpha;
> -
> -	igt_output_set_pipe(output, pipe);
> -
> -	/* create the pipe_crc object for this pipe */
> -	igt_pipe_crc_free(data->pipe_crc);
> -	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
> -
> -	mode = igt_output_get_mode(output);
> -
> -	fb_id = igt_create_fb(data->gfx_fd,
> -			mode->hdisplay, mode->vdisplay,
> -			DRM_FORMAT_XRGB8888,
> -			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
> -			&data->fb);
> -	igt_assert(fb_id);
> -
> -	/* To make FB pixel win with background color, set alpha as full opaque */
> -	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, pipe_background_color);
> -	if (opaque_buffer)
> -		alpha = 1.0;    /* alpha 1 is fully opque */
> -	else
> -		alpha = 0.0;    /* alpha 0 is fully transparent */
> -	paint_background(data, &data->fb, mode, plane_color, alpha);
> -
> -	igt_plane_set_fb(plane, &data->fb);
> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> -}
> -
> -static void cleanup_crtc(data_t *data, igt_output_t *output, igt_plane_t *plane)
> -{
> -	igt_display_t *display = &data->display;
> -
> -	igt_pipe_crc_free(data->pipe_crc);
> -	data->pipe_crc = NULL;
> -
> -	igt_remove_fb(data->gfx_fd, &data->fb);
> -
> -	igt_pipe_obj_set_prop_value(plane->pipe, IGT_CRTC_BACKGROUND, BLACK64);
> -	igt_plane_set_fb(plane, NULL);
> -	igt_output_set_pipe(output, PIPE_ANY);
> -
> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> -}
> -
> -static void test_crtc_background(data_t *data)
> -{
> -	igt_display_t *display = &data->display;
> -	igt_output_t *output;
> -	enum pipe pipe;
> -	int valid_tests = 0;
> -
> -	for_each_pipe_with_valid_output(display, pipe, output) {
> -		igt_plane_t *plane;
> -
> -		igt_output_set_pipe(output, pipe);
> -
> -		plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
> -		igt_require(igt_pipe_has_prop(display, pipe, IGT_CRTC_BACKGROUND));
> -
> -		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
> -
> -		/* Now set background without using a plane, i.e.,
> -		 * Disable the plane to let hw background color win blend. */
> -		igt_plane_set_fb(plane, NULL);
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, PURPLE64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		/* Try few other background colors */
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, CYAN64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, YELLOW64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, RED64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, GREEN64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, BLUE64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND, WHITE64);
> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> -
> -		valid_tests++;
> -		cleanup_crtc(data, output, plane);
> -	}
> -	igt_require_f(valid_tests, "no valid crtc/connector combinations found\n");
> -}
> -
> -igt_simple_main
> -{
> -	data_t data = {};
> -
> -	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
> -	igt_require_pipe_crc(data.gfx_fd);
> -	igt_display_require(&data.display, data.gfx_fd);
> -
> -	test_crtc_background(&data);
> -
> -	igt_display_fini(&data.display);
> -}
> diff --git a/tests/meson.build b/tests/meson.build
> index ca792ed86..a6e1b7fae 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -24,7 +24,6 @@ test_progs = [
>   	'kms_ccs',
>   	'kms_concurrent',
>   	'kms_content_protection',
> -	'kms_crtc_background_color',
>   	'kms_cursor_crc',
>   	'kms_cursor_edge_walk',
>   	'kms_cursor_legacy',
> 

-- 
~Swati Sharma
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-09-02  8:28 ` [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Sharma, Swati2
@ 2020-09-02  8:34   ` Laxminarayan Bharadiya, Pankaj
  2020-09-02 11:58     ` Peres, Martin
  0 siblings, 1 reply; 11+ messages in thread
From: Laxminarayan Bharadiya, Pankaj @ 2020-09-02  8:34 UTC (permalink / raw)
  To: Sharma, Swati2, igt-dev, Martin Peres



> -----Original Message-----
> From: Sharma, Swati2 <swati2.sharma@intel.com>
> Sent: 02 September 2020 13:59
> To: Laxminarayan Bharadiya, Pankaj
> <pankaj.laxminarayan.bharadiya@intel.com>; igt-dev@lists.freedesktop.org;
> Martin Peres <martin.peres@linux.intel.com>
> Subject: Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
> 
> 
> 
> On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
> > BACKGROUND_COLOR property is not supported in kernel as of now.
> > Following patch attempted to add support but never got merged due to
> > lack of userspace support.
> >
> > https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
> >
> > This test case is always skipped, as it does not find the
> > BACKGROUND_COLOR prop support hence remove it.
> 
> Why we have to remove the test? What if its supported in kernel in future?
> If test is skipping; we can add it to blacklist (listing it as expected
> skip)

IMO, first of all, this code should not have been added unless kernel supports it.
It's a dead code.

I don’t think there a plan to add BACKGROUND_COLOR property in kernel since
we don't have any reference user space implantation which uses/need this property.

Thanks,
Pankaj

> 
> Adding Martin Peres.
> >
> > Signed-off-by: Pankaj Bharadiya
> > <pankaj.laxminarayan.bharadiya@intel.com>
> > ---
> >   lib/igt_kms.c                     |   1 -
> >   lib/igt_kms.h                     |   3 +-
> >   tests/Makefile.sources            |   1 -
> >   tests/kms_crtc_background_color.c | 186 ------------------------------
> >   tests/meson.build                 |   1 -
> >   5 files changed, 1 insertion(+), 191 deletions(-)
> >   delete mode 100644 tests/kms_crtc_background_color.c
> >
> > diff --git a/lib/igt_kms.c b/lib/igt_kms.c index f57972f19..003f6af7b
> > 100644
> > --- a/lib/igt_kms.c
> > +++ b/lib/igt_kms.c
> > @@ -398,7 +398,6 @@ const char * const
> igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
> >   };
> >
> >   const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
> > -	[IGT_CRTC_BACKGROUND] = "background_color",
> >   	[IGT_CRTC_CTM] = "CTM",
> >   	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
> >   	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE", diff --git
> > a/lib/igt_kms.h b/lib/igt_kms.h index 26dc9f5fb..954f7be52 100644
> > --- a/lib/igt_kms.h
> > +++ b/lib/igt_kms.h
> > @@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
> >   void kmstest_set_vt_text_mode(void);
> >
> >   enum igt_atomic_crtc_properties {
> > -       IGT_CRTC_BACKGROUND = 0,
> > -       IGT_CRTC_CTM,
> > +       IGT_CRTC_CTM = 0,
> >          IGT_CRTC_GAMMA_LUT,
> >          IGT_CRTC_GAMMA_LUT_SIZE,
> >          IGT_CRTC_DEGAMMA_LUT,
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources index
> > 93d7768c4..994011700 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -40,7 +40,6 @@ TESTS_progs = \
> >   	kms_ccs \
> >   	kms_concurrent \
> >   	kms_content_protection\
> > -	kms_crtc_background_color \
> >   	kms_cursor_crc \
> >   	kms_cursor_edge_walk \
> >   	kms_cursor_legacy \
> > diff --git a/tests/kms_crtc_background_color.c
> > b/tests/kms_crtc_background_color.c
> > deleted file mode 100644
> > index b4141b0df..000000000
> > --- a/tests/kms_crtc_background_color.c
> > +++ /dev/null
> > @@ -1,186 +0,0 @@
> > -/*
> > - * Copyright © 2013,2014 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 (including
> > the next
> > - * paragraph) 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.
> > - *
> > - */
> > -
> > -#include "igt.h"
> > -#include <math.h>
> > -
> > -
> > -IGT_TEST_DESCRIPTION("Test crtc background color feature");
> > -
> > -typedef struct {
> > -	int gfx_fd;
> > -	igt_display_t display;
> > -	struct igt_fb fb;
> > -	igt_crc_t ref_crc;
> > -	igt_pipe_crc_t *pipe_crc;
> > -} data_t;
> > -
> > -#define BLACK      0x000000           /* BGR 8bpc */
> > -#define CYAN       0xFFFF00           /* BGR 8bpc */
> > -#define PURPLE     0xFF00FF           /* BGR 8bpc */
> > -#define WHITE      0xFFFFFF           /* BGR 8bpc */
> > -
> > -#define BLACK64    0x000000000000     /* BGR 16bpc */
> > -#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
> > -#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
> > -#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
> > -#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
> > -#define RED64      0x00000000FFFF     /* BGR 16bpc */
> > -#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
> > -#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
> > -
> > -static void
> > -paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo
> *mode,
> > -		uint32_t background, double alpha)
> > -{
> > -	cairo_t *cr;
> > -	int w, h;
> > -	double r, g, b;
> > -
> > -	w = mode->hdisplay;
> > -	h = mode->vdisplay;
> > -
> > -	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
> > -
> > -	/* Paint with background color */
> > -	r = (double) (background & 0xFF) / 255.0;
> > -	g = (double) ((background & 0xFF00) >> 8) / 255.0;
> > -	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
> > -	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
> > -
> > -	igt_put_cairo_ctx(cr);
> > -}
> > -
> > -static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
> > -			igt_plane_t *plane, int opaque_buffer, int plane_color,
> > -			uint64_t pipe_background_color)
> > -{
> > -	drmModeModeInfo *mode;
> > -	igt_display_t *display = &data->display;
> > -	int fb_id;
> > -	double alpha;
> > -
> > -	igt_output_set_pipe(output, pipe);
> > -
> > -	/* create the pipe_crc object for this pipe */
> > -	igt_pipe_crc_free(data->pipe_crc);
> > -	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe,
> INTEL_PIPE_CRC_SOURCE_AUTO);
> > -
> > -	mode = igt_output_get_mode(output);
> > -
> > -	fb_id = igt_create_fb(data->gfx_fd,
> > -			mode->hdisplay, mode->vdisplay,
> > -			DRM_FORMAT_XRGB8888,
> > -			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
> > -			&data->fb);
> > -	igt_assert(fb_id);
> > -
> > -	/* To make FB pixel win with background color, set alpha as full opaque
> */
> > -	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND,
> pipe_background_color);
> > -	if (opaque_buffer)
> > -		alpha = 1.0;    /* alpha 1 is fully opque */
> > -	else
> > -		alpha = 0.0;    /* alpha 0 is fully transparent */
> > -	paint_background(data, &data->fb, mode, plane_color, alpha);
> > -
> > -	igt_plane_set_fb(plane, &data->fb);
> > -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -}
> > -
> > -static void cleanup_crtc(data_t *data, igt_output_t *output,
> > igt_plane_t *plane) -{
> > -	igt_display_t *display = &data->display;
> > -
> > -	igt_pipe_crc_free(data->pipe_crc);
> > -	data->pipe_crc = NULL;
> > -
> > -	igt_remove_fb(data->gfx_fd, &data->fb);
> > -
> > -	igt_pipe_obj_set_prop_value(plane->pipe, IGT_CRTC_BACKGROUND,
> BLACK64);
> > -	igt_plane_set_fb(plane, NULL);
> > -	igt_output_set_pipe(output, PIPE_ANY);
> > -
> > -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -}
> > -
> > -static void test_crtc_background(data_t *data) -{
> > -	igt_display_t *display = &data->display;
> > -	igt_output_t *output;
> > -	enum pipe pipe;
> > -	int valid_tests = 0;
> > -
> > -	for_each_pipe_with_valid_output(display, pipe, output) {
> > -		igt_plane_t *plane;
> > -
> > -		igt_output_set_pipe(output, pipe);
> > -
> > -		plane = igt_output_get_plane_type(output,
> DRM_PLANE_TYPE_PRIMARY);
> > -		igt_require(igt_pipe_has_prop(display, pipe,
> IGT_CRTC_BACKGROUND));
> > -
> > -		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
> > -
> > -		/* Now set background without using a plane, i.e.,
> > -		 * Disable the plane to let hw background color win blend. */
> > -		igt_plane_set_fb(plane, NULL);
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, PURPLE64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		/* Try few other background colors */
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, CYAN64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, YELLOW64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, RED64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, GREEN64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, BLUE64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		igt_pipe_set_prop_value(display, pipe,
> IGT_CRTC_BACKGROUND, WHITE64);
> > -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > -
> > -		valid_tests++;
> > -		cleanup_crtc(data, output, plane);
> > -	}
> > -	igt_require_f(valid_tests, "no valid crtc/connector combinations
> found\n");
> > -}
> > -
> > -igt_simple_main
> > -{
> > -	data_t data = {};
> > -
> > -	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
> > -	igt_require_pipe_crc(data.gfx_fd);
> > -	igt_display_require(&data.display, data.gfx_fd);
> > -
> > -	test_crtc_background(&data);
> > -
> > -	igt_display_fini(&data.display);
> > -}
> > diff --git a/tests/meson.build b/tests/meson.build index
> > ca792ed86..a6e1b7fae 100644
> > --- a/tests/meson.build
> > +++ b/tests/meson.build
> > @@ -24,7 +24,6 @@ test_progs = [
> >   	'kms_ccs',
> >   	'kms_concurrent',
> >   	'kms_content_protection',
> > -	'kms_crtc_background_color',
> >   	'kms_cursor_crc',
> >   	'kms_cursor_edge_walk',
> >   	'kms_cursor_legacy',
> >
> 
> --
> ~Swati Sharma
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-09-02  8:34   ` Laxminarayan Bharadiya, Pankaj
@ 2020-09-02 11:58     ` Peres, Martin
  2020-09-03  1:53       ` Matt Roper
  0 siblings, 1 reply; 11+ messages in thread
From: Peres, Martin @ 2020-09-02 11:58 UTC (permalink / raw)
  To: Laxminarayan Bharadiya, Pankaj, Sharma, Swati2, igt-dev, Roper,
	Matthew D

[-- Attachment #1: Type: text/plain, Size: 11582 bytes --]

+Matt

Hi everyone,

On 2020-09-02 11:34, Laxminarayan Bharadiya, Pankaj wrote:
>> -----Original Message-----
>> From: Sharma, Swati2 <swati2.sharma@intel.com>
>> Sent: 02 September 2020 13:59
>> To: Laxminarayan Bharadiya, Pankaj
>> <pankaj.laxminarayan.bharadiya@intel.com>; igt-dev@lists.freedesktop.org;
>> Martin Peres <martin.peres@linux.intel.com>
>> Subject: Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
>>
>>
>>
>> On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
>>> BACKGROUND_COLOR property is not supported in kernel as of now.
>>> Following patch attempted to add support but never got merged due to
>>> lack of userspace support.
>>>
>>> https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
>>>
>>> This test case is always skipped, as it does not find the
>>> BACKGROUND_COLOR prop support hence remove it.
>>
>> Why we have to remove the test? What if its supported in kernel in future?
>> If test is skipping; we can add it to blacklist (listing it as expected
>> skip)
> 
> IMO, first of all, this code should not have been added unless kernel supports it.
> It's a dead code.
> 
> I don’t think there a plan to add BACKGROUND_COLOR property in kernel since
> we don't have any reference user space implantation which uses/need this property.

I tend to agree with Pankaj here. The code won't be gone, and this patch
can be reverted when the property lands in at least one DRM driver.

That being said, please make sure with Matt that no activity is going on
around this property before landing this patch. If so, then this patch is:

Acked-by: Martin Peres <martin.peres@linux.intel.com>

Thanks,
Martin

> 
> Thanks,
> Pankaj
> 
>>
>> Adding Martin Peres.
>>>
>>> Signed-off-by: Pankaj Bharadiya
>>> <pankaj.laxminarayan.bharadiya@intel.com>
>>> ---
>>>   lib/igt_kms.c                     |   1 -
>>>   lib/igt_kms.h                     |   3 +-
>>>   tests/Makefile.sources            |   1 -
>>>   tests/kms_crtc_background_color.c | 186 ------------------------------
>>>   tests/meson.build                 |   1 -
>>>   5 files changed, 1 insertion(+), 191 deletions(-)
>>>   delete mode 100644 tests/kms_crtc_background_color.c
>>>
>>> diff --git a/lib/igt_kms.c b/lib/igt_kms.c index f57972f19..003f6af7b
>>> 100644
>>> --- a/lib/igt_kms.c
>>> +++ b/lib/igt_kms.c
>>> @@ -398,7 +398,6 @@ const char * const
>> igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
>>>   };
>>>
>>>   const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
>>> -	[IGT_CRTC_BACKGROUND] = "background_color",
>>>   	[IGT_CRTC_CTM] = "CTM",
>>>   	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
>>>   	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE", diff --git
>>> a/lib/igt_kms.h b/lib/igt_kms.h index 26dc9f5fb..954f7be52 100644
>>> --- a/lib/igt_kms.h
>>> +++ b/lib/igt_kms.h
>>> @@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
>>>   void kmstest_set_vt_text_mode(void);
>>>
>>>   enum igt_atomic_crtc_properties {
>>> -       IGT_CRTC_BACKGROUND = 0,
>>> -       IGT_CRTC_CTM,
>>> +       IGT_CRTC_CTM = 0,
>>>          IGT_CRTC_GAMMA_LUT,
>>>          IGT_CRTC_GAMMA_LUT_SIZE,
>>>          IGT_CRTC_DEGAMMA_LUT,
>>> diff --git a/tests/Makefile.sources b/tests/Makefile.sources index
>>> 93d7768c4..994011700 100644
>>> --- a/tests/Makefile.sources
>>> +++ b/tests/Makefile.sources
>>> @@ -40,7 +40,6 @@ TESTS_progs = \
>>>   	kms_ccs \
>>>   	kms_concurrent \
>>>   	kms_content_protection\
>>> -	kms_crtc_background_color \
>>>   	kms_cursor_crc \
>>>   	kms_cursor_edge_walk \
>>>   	kms_cursor_legacy \
>>> diff --git a/tests/kms_crtc_background_color.c
>>> b/tests/kms_crtc_background_color.c
>>> deleted file mode 100644
>>> index b4141b0df..000000000
>>> --- a/tests/kms_crtc_background_color.c
>>> +++ /dev/null
>>> @@ -1,186 +0,0 @@
>>> -/*
>>> - * Copyright © 2013,2014 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 (including
>>> the next
>>> - * paragraph) 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.
>>> - *
>>> - */
>>> -
>>> -#include "igt.h"
>>> -#include <math.h>
>>> -
>>> -
>>> -IGT_TEST_DESCRIPTION("Test crtc background color feature");
>>> -
>>> -typedef struct {
>>> -	int gfx_fd;
>>> -	igt_display_t display;
>>> -	struct igt_fb fb;
>>> -	igt_crc_t ref_crc;
>>> -	igt_pipe_crc_t *pipe_crc;
>>> -} data_t;
>>> -
>>> -#define BLACK      0x000000           /* BGR 8bpc */
>>> -#define CYAN       0xFFFF00           /* BGR 8bpc */
>>> -#define PURPLE     0xFF00FF           /* BGR 8bpc */
>>> -#define WHITE      0xFFFFFF           /* BGR 8bpc */
>>> -
>>> -#define BLACK64    0x000000000000     /* BGR 16bpc */
>>> -#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
>>> -#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
>>> -#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
>>> -#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
>>> -#define RED64      0x00000000FFFF     /* BGR 16bpc */
>>> -#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
>>> -#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
>>> -
>>> -static void
>>> -paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo
>> *mode,
>>> -		uint32_t background, double alpha)
>>> -{
>>> -	cairo_t *cr;
>>> -	int w, h;
>>> -	double r, g, b;
>>> -
>>> -	w = mode->hdisplay;
>>> -	h = mode->vdisplay;
>>> -
>>> -	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
>>> -
>>> -	/* Paint with background color */
>>> -	r = (double) (background & 0xFF) / 255.0;
>>> -	g = (double) ((background & 0xFF00) >> 8) / 255.0;
>>> -	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
>>> -	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
>>> -
>>> -	igt_put_cairo_ctx(cr);
>>> -}
>>> -
>>> -static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
>>> -			igt_plane_t *plane, int opaque_buffer, int plane_color,
>>> -			uint64_t pipe_background_color)
>>> -{
>>> -	drmModeModeInfo *mode;
>>> -	igt_display_t *display = &data->display;
>>> -	int fb_id;
>>> -	double alpha;
>>> -
>>> -	igt_output_set_pipe(output, pipe);
>>> -
>>> -	/* create the pipe_crc object for this pipe */
>>> -	igt_pipe_crc_free(data->pipe_crc);
>>> -	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe,
>> INTEL_PIPE_CRC_SOURCE_AUTO);
>>> -
>>> -	mode = igt_output_get_mode(output);
>>> -
>>> -	fb_id = igt_create_fb(data->gfx_fd,
>>> -			mode->hdisplay, mode->vdisplay,
>>> -			DRM_FORMAT_XRGB8888,
>>> -			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
>>> -			&data->fb);
>>> -	igt_assert(fb_id);
>>> -
>>> -	/* To make FB pixel win with background color, set alpha as full opaque
>> */
>>> -	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND,
>> pipe_background_color);
>>> -	if (opaque_buffer)
>>> -		alpha = 1.0;    /* alpha 1 is fully opque */
>>> -	else
>>> -		alpha = 0.0;    /* alpha 0 is fully transparent */
>>> -	paint_background(data, &data->fb, mode, plane_color, alpha);
>>> -
>>> -	igt_plane_set_fb(plane, &data->fb);
>>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -}
>>> -
>>> -static void cleanup_crtc(data_t *data, igt_output_t *output,
>>> igt_plane_t *plane) -{
>>> -	igt_display_t *display = &data->display;
>>> -
>>> -	igt_pipe_crc_free(data->pipe_crc);
>>> -	data->pipe_crc = NULL;
>>> -
>>> -	igt_remove_fb(data->gfx_fd, &data->fb);
>>> -
>>> -	igt_pipe_obj_set_prop_value(plane->pipe, IGT_CRTC_BACKGROUND,
>> BLACK64);
>>> -	igt_plane_set_fb(plane, NULL);
>>> -	igt_output_set_pipe(output, PIPE_ANY);
>>> -
>>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -}
>>> -
>>> -static void test_crtc_background(data_t *data) -{
>>> -	igt_display_t *display = &data->display;
>>> -	igt_output_t *output;
>>> -	enum pipe pipe;
>>> -	int valid_tests = 0;
>>> -
>>> -	for_each_pipe_with_valid_output(display, pipe, output) {
>>> -		igt_plane_t *plane;
>>> -
>>> -		igt_output_set_pipe(output, pipe);
>>> -
>>> -		plane = igt_output_get_plane_type(output,
>> DRM_PLANE_TYPE_PRIMARY);
>>> -		igt_require(igt_pipe_has_prop(display, pipe,
>> IGT_CRTC_BACKGROUND));
>>> -
>>> -		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
>>> -
>>> -		/* Now set background without using a plane, i.e.,
>>> -		 * Disable the plane to let hw background color win blend. */
>>> -		igt_plane_set_fb(plane, NULL);
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, PURPLE64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		/* Try few other background colors */
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, CYAN64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, YELLOW64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, RED64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, GREEN64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, BLUE64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		igt_pipe_set_prop_value(display, pipe,
>> IGT_CRTC_BACKGROUND, WHITE64);
>>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
>>> -
>>> -		valid_tests++;
>>> -		cleanup_crtc(data, output, plane);
>>> -	}
>>> -	igt_require_f(valid_tests, "no valid crtc/connector combinations
>> found\n");
>>> -}
>>> -
>>> -igt_simple_main
>>> -{
>>> -	data_t data = {};
>>> -
>>> -	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
>>> -	igt_require_pipe_crc(data.gfx_fd);
>>> -	igt_display_require(&data.display, data.gfx_fd);
>>> -
>>> -	test_crtc_background(&data);
>>> -
>>> -	igt_display_fini(&data.display);
>>> -}
>>> diff --git a/tests/meson.build b/tests/meson.build index
>>> ca792ed86..a6e1b7fae 100644
>>> --- a/tests/meson.build
>>> +++ b/tests/meson.build
>>> @@ -24,7 +24,6 @@ test_progs = [
>>>   	'kms_ccs',
>>>   	'kms_concurrent',
>>>   	'kms_content_protection',
>>> -	'kms_crtc_background_color',
>>>   	'kms_cursor_crc',
>>>   	'kms_cursor_edge_walk',
>>>   	'kms_cursor_legacy',
>>>
>>
>> --
>> ~Swati Sharma


[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2233 bytes --]

[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-09-02 11:58     ` Peres, Martin
@ 2020-09-03  1:53       ` Matt Roper
  2020-10-07  8:56         ` Laxminarayan Bharadiya, Pankaj
  0 siblings, 1 reply; 11+ messages in thread
From: Matt Roper @ 2020-09-03  1:53 UTC (permalink / raw)
  To: Peres, Martin; +Cc: igt-dev

On Wed, Sep 02, 2020 at 04:58:35AM -0700, Peres, Martin wrote:
> +Matt
> 
> Hi everyone,
> 
> On 2020-09-02 11:34, Laxminarayan Bharadiya, Pankaj wrote:
> >> -----Original Message-----
> >> From: Sharma, Swati2 <swati2.sharma@intel.com>
> >> Sent: 02 September 2020 13:59
> >> To: Laxminarayan Bharadiya, Pankaj
> >> <pankaj.laxminarayan.bharadiya@intel.com>; igt-dev@lists.freedesktop.org;
> >> Martin Peres <martin.peres@linux.intel.com>
> >> Subject: Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
> >>
> >>
> >>
> >> On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
> >>> BACKGROUND_COLOR property is not supported in kernel as of now.
> >>> Following patch attempted to add support but never got merged due to
> >>> lack of userspace support.
> >>>
> >>> https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
> >>>
> >>> This test case is always skipped, as it does not find the
> >>> BACKGROUND_COLOR prop support hence remove it.
> >>
> >> Why we have to remove the test? What if its supported in kernel in future?
> >> If test is skipping; we can add it to blacklist (listing it as expected
> >> skip)
> > 
> > IMO, first of all, this code should not have been added unless kernel supports it.
> > It's a dead code.
> > 
> > I don’t think there a plan to add BACKGROUND_COLOR property in kernel since
> > we don't have any reference user space implantation which uses/need this property.
> 
> I tend to agree with Pankaj here. The code won't be gone, and this patch
> can be reverted when the property lands in at least one DRM driver.
> 
> That being said, please make sure with Matt that no activity is going on
> around this property before landing this patch. If so, then this patch is:

Yeah, go ahead and remove it.  There is software out there that uses the
property, but it's all closed-source software, so the kernel support has
never been upstreamable and only exists in product group kernels.

It seems every couple years someone comes along and shows interest in
using the functionality in open source userspace, so we put effort into
refreshing the patches and resubmitting them upstream, but ultimately
the userspace efforts fizzle out and the kernel code goes back on ice.
I'm not aware of any specific interest at the moment, and if this does
get resurrected again in the future we can just write new IGT support
for it then (my last couple upstream respins also included complete
overhauls of the IGT support, so the old snapshot that's already present
in upsteam IGT isn't even really useful if the kernel support does come
back).

For the removal:
Acked-by: Matt Roper <matthew.d.roper@intel.com>


Matt

> 
> Acked-by: Martin Peres <martin.peres@linux.intel.com>
> 
> Thanks,
> Martin
> 
> > 
> > Thanks,
> > Pankaj
> > 
> >>
> >> Adding Martin Peres.
> >>>
> >>> Signed-off-by: Pankaj Bharadiya
> >>> <pankaj.laxminarayan.bharadiya@intel.com>
> >>> ---
> >>>   lib/igt_kms.c                     |   1 -
> >>>   lib/igt_kms.h                     |   3 +-
> >>>   tests/Makefile.sources            |   1 -
> >>>   tests/kms_crtc_background_color.c | 186 ------------------------------
> >>>   tests/meson.build                 |   1 -
> >>>   5 files changed, 1 insertion(+), 191 deletions(-)
> >>>   delete mode 100644 tests/kms_crtc_background_color.c
> >>>
> >>> diff --git a/lib/igt_kms.c b/lib/igt_kms.c index f57972f19..003f6af7b
> >>> 100644
> >>> --- a/lib/igt_kms.c
> >>> +++ b/lib/igt_kms.c
> >>> @@ -398,7 +398,6 @@ const char * const
> >> igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
> >>>   };
> >>>
> >>>   const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
> >>> -	[IGT_CRTC_BACKGROUND] = "background_color",
> >>>   	[IGT_CRTC_CTM] = "CTM",
> >>>   	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
> >>>   	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE", diff --git
> >>> a/lib/igt_kms.h b/lib/igt_kms.h index 26dc9f5fb..954f7be52 100644
> >>> --- a/lib/igt_kms.h
> >>> +++ b/lib/igt_kms.h
> >>> @@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
> >>>   void kmstest_set_vt_text_mode(void);
> >>>
> >>>   enum igt_atomic_crtc_properties {
> >>> -       IGT_CRTC_BACKGROUND = 0,
> >>> -       IGT_CRTC_CTM,
> >>> +       IGT_CRTC_CTM = 0,
> >>>          IGT_CRTC_GAMMA_LUT,
> >>>          IGT_CRTC_GAMMA_LUT_SIZE,
> >>>          IGT_CRTC_DEGAMMA_LUT,
> >>> diff --git a/tests/Makefile.sources b/tests/Makefile.sources index
> >>> 93d7768c4..994011700 100644
> >>> --- a/tests/Makefile.sources
> >>> +++ b/tests/Makefile.sources
> >>> @@ -40,7 +40,6 @@ TESTS_progs = \
> >>>   	kms_ccs \
> >>>   	kms_concurrent \
> >>>   	kms_content_protection\
> >>> -	kms_crtc_background_color \
> >>>   	kms_cursor_crc \
> >>>   	kms_cursor_edge_walk \
> >>>   	kms_cursor_legacy \
> >>> diff --git a/tests/kms_crtc_background_color.c
> >>> b/tests/kms_crtc_background_color.c
> >>> deleted file mode 100644
> >>> index b4141b0df..000000000
> >>> --- a/tests/kms_crtc_background_color.c
> >>> +++ /dev/null
> >>> @@ -1,186 +0,0 @@
> >>> -/*
> >>> - * Copyright © 2013,2014 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 (including
> >>> the next
> >>> - * paragraph) 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.
> >>> - *
> >>> - */
> >>> -
> >>> -#include "igt.h"
> >>> -#include <math.h>
> >>> -
> >>> -
> >>> -IGT_TEST_DESCRIPTION("Test crtc background color feature");
> >>> -
> >>> -typedef struct {
> >>> -	int gfx_fd;
> >>> -	igt_display_t display;
> >>> -	struct igt_fb fb;
> >>> -	igt_crc_t ref_crc;
> >>> -	igt_pipe_crc_t *pipe_crc;
> >>> -} data_t;
> >>> -
> >>> -#define BLACK      0x000000           /* BGR 8bpc */
> >>> -#define CYAN       0xFFFF00           /* BGR 8bpc */
> >>> -#define PURPLE     0xFF00FF           /* BGR 8bpc */
> >>> -#define WHITE      0xFFFFFF           /* BGR 8bpc */
> >>> -
> >>> -#define BLACK64    0x000000000000     /* BGR 16bpc */
> >>> -#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
> >>> -#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
> >>> -#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
> >>> -#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
> >>> -#define RED64      0x00000000FFFF     /* BGR 16bpc */
> >>> -#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
> >>> -#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
> >>> -
> >>> -static void
> >>> -paint_background(data_t *data, struct igt_fb *fb, drmModeModeInfo
> >> *mode,
> >>> -		uint32_t background, double alpha)
> >>> -{
> >>> -	cairo_t *cr;
> >>> -	int w, h;
> >>> -	double r, g, b;
> >>> -
> >>> -	w = mode->hdisplay;
> >>> -	h = mode->vdisplay;
> >>> -
> >>> -	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
> >>> -
> >>> -	/* Paint with background color */
> >>> -	r = (double) (background & 0xFF) / 255.0;
> >>> -	g = (double) ((background & 0xFF00) >> 8) / 255.0;
> >>> -	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
> >>> -	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
> >>> -
> >>> -	igt_put_cairo_ctx(cr);
> >>> -}
> >>> -
> >>> -static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe,
> >>> -			igt_plane_t *plane, int opaque_buffer, int plane_color,
> >>> -			uint64_t pipe_background_color)
> >>> -{
> >>> -	drmModeModeInfo *mode;
> >>> -	igt_display_t *display = &data->display;
> >>> -	int fb_id;
> >>> -	double alpha;
> >>> -
> >>> -	igt_output_set_pipe(output, pipe);
> >>> -
> >>> -	/* create the pipe_crc object for this pipe */
> >>> -	igt_pipe_crc_free(data->pipe_crc);
> >>> -	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe,
> >> INTEL_PIPE_CRC_SOURCE_AUTO);
> >>> -
> >>> -	mode = igt_output_get_mode(output);
> >>> -
> >>> -	fb_id = igt_create_fb(data->gfx_fd,
> >>> -			mode->hdisplay, mode->vdisplay,
> >>> -			DRM_FORMAT_XRGB8888,
> >>> -			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
> >>> -			&data->fb);
> >>> -	igt_assert(fb_id);
> >>> -
> >>> -	/* To make FB pixel win with background color, set alpha as full opaque
> >> */
> >>> -	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND,
> >> pipe_background_color);
> >>> -	if (opaque_buffer)
> >>> -		alpha = 1.0;    /* alpha 1 is fully opque */
> >>> -	else
> >>> -		alpha = 0.0;    /* alpha 0 is fully transparent */
> >>> -	paint_background(data, &data->fb, mode, plane_color, alpha);
> >>> -
> >>> -	igt_plane_set_fb(plane, &data->fb);
> >>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -}
> >>> -
> >>> -static void cleanup_crtc(data_t *data, igt_output_t *output,
> >>> igt_plane_t *plane) -{
> >>> -	igt_display_t *display = &data->display;
> >>> -
> >>> -	igt_pipe_crc_free(data->pipe_crc);
> >>> -	data->pipe_crc = NULL;
> >>> -
> >>> -	igt_remove_fb(data->gfx_fd, &data->fb);
> >>> -
> >>> -	igt_pipe_obj_set_prop_value(plane->pipe, IGT_CRTC_BACKGROUND,
> >> BLACK64);
> >>> -	igt_plane_set_fb(plane, NULL);
> >>> -	igt_output_set_pipe(output, PIPE_ANY);
> >>> -
> >>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -}
> >>> -
> >>> -static void test_crtc_background(data_t *data) -{
> >>> -	igt_display_t *display = &data->display;
> >>> -	igt_output_t *output;
> >>> -	enum pipe pipe;
> >>> -	int valid_tests = 0;
> >>> -
> >>> -	for_each_pipe_with_valid_output(display, pipe, output) {
> >>> -		igt_plane_t *plane;
> >>> -
> >>> -		igt_output_set_pipe(output, pipe);
> >>> -
> >>> -		plane = igt_output_get_plane_type(output,
> >> DRM_PLANE_TYPE_PRIMARY);
> >>> -		igt_require(igt_pipe_has_prop(display, pipe,
> >> IGT_CRTC_BACKGROUND));
> >>> -
> >>> -		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
> >>> -
> >>> -		/* Now set background without using a plane, i.e.,
> >>> -		 * Disable the plane to let hw background color win blend. */
> >>> -		igt_plane_set_fb(plane, NULL);
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, PURPLE64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		/* Try few other background colors */
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, CYAN64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, YELLOW64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, RED64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, GREEN64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, BLUE64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		igt_pipe_set_prop_value(display, pipe,
> >> IGT_CRTC_BACKGROUND, WHITE64);
> >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> >>> -
> >>> -		valid_tests++;
> >>> -		cleanup_crtc(data, output, plane);
> >>> -	}
> >>> -	igt_require_f(valid_tests, "no valid crtc/connector combinations
> >> found\n");
> >>> -}
> >>> -
> >>> -igt_simple_main
> >>> -{
> >>> -	data_t data = {};
> >>> -
> >>> -	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
> >>> -	igt_require_pipe_crc(data.gfx_fd);
> >>> -	igt_display_require(&data.display, data.gfx_fd);
> >>> -
> >>> -	test_crtc_background(&data);
> >>> -
> >>> -	igt_display_fini(&data.display);
> >>> -}
> >>> diff --git a/tests/meson.build b/tests/meson.build index
> >>> ca792ed86..a6e1b7fae 100644
> >>> --- a/tests/meson.build
> >>> +++ b/tests/meson.build
> >>> @@ -24,7 +24,6 @@ test_progs = [
> >>>   	'kms_ccs',
> >>>   	'kms_concurrent',
> >>>   	'kms_content_protection',
> >>> -	'kms_crtc_background_color',
> >>>   	'kms_cursor_crc',
> >>>   	'kms_cursor_edge_walk',
> >>>   	'kms_cursor_legacy',
> >>>
> >>
> >> --
> >> ~Swati Sharma
> 



-- 
Matt Roper
Graphics Software Engineer
VTT-OSGC Platform Enablement
Intel Corporation
(916) 356-2795
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-09-03  1:53       ` Matt Roper
@ 2020-10-07  8:56         ` Laxminarayan Bharadiya, Pankaj
  2020-10-07  9:09           ` Petri Latvala
  0 siblings, 1 reply; 11+ messages in thread
From: Laxminarayan Bharadiya, Pankaj @ 2020-10-07  8:56 UTC (permalink / raw)
  To: Roper, Matthew D, Peres, Martin, Latvala, Petri, arkadiusz.hiler; +Cc: igt-dev



> -----Original Message-----
> From: Matt Roper <matthew.d.roper@intel.com>
> Sent: 03 September 2020 07:23
> To: Peres, Martin <martin.peres@intel.com>
> Cc: Laxminarayan Bharadiya, Pankaj
> <pankaj.laxminarayan.bharadiya@intel.com>; Sharma, Swati2
> <swati2.sharma@intel.com>; igt-dev@lists.freedesktop.org
> Subject: Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
> 
> On Wed, Sep 02, 2020 at 04:58:35AM -0700, Peres, Martin wrote:
> > +Matt
> >
> > Hi everyone,
> >
> > On 2020-09-02 11:34, Laxminarayan Bharadiya, Pankaj wrote:
> > >> -----Original Message-----
> > >> From: Sharma, Swati2 <swati2.sharma@intel.com>
> > >> Sent: 02 September 2020 13:59
> > >> To: Laxminarayan Bharadiya, Pankaj
> > >> <pankaj.laxminarayan.bharadiya@intel.com>;
> > >> igt-dev@lists.freedesktop.org; Martin Peres
> > >> <martin.peres@linux.intel.com>
> > >> Subject: Re: [igt-dev] [i-g-t] tests: Remove
> > >> kms_crtc_background_color test
> > >>
> > >>
> > >>
> > >> On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
> > >>> BACKGROUND_COLOR property is not supported in kernel as of now.
> > >>> Following patch attempted to add support but never got merged due
> > >>> to lack of userspace support.
> > >>>
> > >>>
> https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
> > >>>
> > >>> This test case is always skipped, as it does not find the
> > >>> BACKGROUND_COLOR prop support hence remove it.
> > >>
> > >> Why we have to remove the test? What if its supported in kernel in
> future?
> > >> If test is skipping; we can add it to blacklist (listing it as
> > >> expected
> > >> skip)
> > >
> > > IMO, first of all, this code should not have been added unless kernel
> supports it.
> > > It's a dead code.
> > >
> > > I don’t think there a plan to add BACKGROUND_COLOR property in
> > > kernel since we don't have any reference user space implantation which
> uses/need this property.
> >
> > I tend to agree with Pankaj here. The code won't be gone, and this
> > patch can be reverted when the property lands in at least one DRM driver.
> >
> > That being said, please make sure with Matt that no activity is going
> > on around this property before landing this patch. If so, then this patch is:
> 
> Yeah, go ahead and remove it.  There is software out there that uses the
> property, but it's all closed-source software, so the kernel support has never
> been upstreamable and only exists in product group kernels.
> 
> It seems every couple years someone comes along and shows interest in
> using the functionality in open source userspace, so we put effort into
> refreshing the patches and resubmitting them upstream, but ultimately the
> userspace efforts fizzle out and the kernel code goes back on ice.
> I'm not aware of any specific interest at the moment, and if this does get
> resurrected again in the future we can just write new IGT support for it then
> (my last couple upstream respins also included complete overhauls of the
> IGT support, so the old snapshot that's already present in upsteam IGT isn't
> even really useful if the kernel support does come back).
> 
> For the removal:
> Acked-by: Matt Roper <matthew.d.roper@intel.com>

Can this patch be merged please?

Thanks,
Pankaj
> 
> 
> Matt
> 
> >
> > Acked-by: Martin Peres <martin.peres@linux.intel.com>
> >
> > Thanks,
> > Martin
> >
> > >
> > > Thanks,
> > > Pankaj
> > >
> > >>
> > >> Adding Martin Peres.
> > >>>
> > >>> Signed-off-by: Pankaj Bharadiya
> > >>> <pankaj.laxminarayan.bharadiya@intel.com>
> > >>> ---
> > >>>   lib/igt_kms.c                     |   1 -
> > >>>   lib/igt_kms.h                     |   3 +-
> > >>>   tests/Makefile.sources            |   1 -
> > >>>   tests/kms_crtc_background_color.c | 186 ------------------------------
> > >>>   tests/meson.build                 |   1 -
> > >>>   5 files changed, 1 insertion(+), 191 deletions(-)
> > >>>   delete mode 100644 tests/kms_crtc_background_color.c
> > >>>
> > >>> diff --git a/lib/igt_kms.c b/lib/igt_kms.c index
> > >>> f57972f19..003f6af7b
> > >>> 100644
> > >>> --- a/lib/igt_kms.c
> > >>> +++ b/lib/igt_kms.c
> > >>> @@ -398,7 +398,6 @@ const char * const
> > >> igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
> > >>>   };
> > >>>
> > >>>   const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
> > >>> -	[IGT_CRTC_BACKGROUND] = "background_color",
> > >>>   	[IGT_CRTC_CTM] = "CTM",
> > >>>   	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
> > >>>   	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE", diff --git
> > >>> a/lib/igt_kms.h b/lib/igt_kms.h index 26dc9f5fb..954f7be52 100644
> > >>> --- a/lib/igt_kms.h
> > >>> +++ b/lib/igt_kms.h
> > >>> @@ -96,8 +96,7 @@ void kmstest_restore_vt_mode(void);
> > >>>   void kmstest_set_vt_text_mode(void);
> > >>>
> > >>>   enum igt_atomic_crtc_properties {
> > >>> -       IGT_CRTC_BACKGROUND = 0,
> > >>> -       IGT_CRTC_CTM,
> > >>> +       IGT_CRTC_CTM = 0,
> > >>>          IGT_CRTC_GAMMA_LUT,
> > >>>          IGT_CRTC_GAMMA_LUT_SIZE,
> > >>>          IGT_CRTC_DEGAMMA_LUT,
> > >>> diff --git a/tests/Makefile.sources b/tests/Makefile.sources index
> > >>> 93d7768c4..994011700 100644
> > >>> --- a/tests/Makefile.sources
> > >>> +++ b/tests/Makefile.sources
> > >>> @@ -40,7 +40,6 @@ TESTS_progs = \
> > >>>   	kms_ccs \
> > >>>   	kms_concurrent \
> > >>>   	kms_content_protection\
> > >>> -	kms_crtc_background_color \
> > >>>   	kms_cursor_crc \
> > >>>   	kms_cursor_edge_walk \
> > >>>   	kms_cursor_legacy \
> > >>> diff --git a/tests/kms_crtc_background_color.c
> > >>> b/tests/kms_crtc_background_color.c
> > >>> deleted file mode 100644
> > >>> index b4141b0df..000000000
> > >>> --- a/tests/kms_crtc_background_color.c
> > >>> +++ /dev/null
> > >>> @@ -1,186 +0,0 @@
> > >>> -/*
> > >>> - * Copyright © 2013,2014 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
> > >>> (including the next
> > >>> - * paragraph) 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.
> > >>> - *
> > >>> - */
> > >>> -
> > >>> -#include "igt.h"
> > >>> -#include <math.h>
> > >>> -
> > >>> -
> > >>> -IGT_TEST_DESCRIPTION("Test crtc background color feature");
> > >>> -
> > >>> -typedef struct {
> > >>> -	int gfx_fd;
> > >>> -	igt_display_t display;
> > >>> -	struct igt_fb fb;
> > >>> -	igt_crc_t ref_crc;
> > >>> -	igt_pipe_crc_t *pipe_crc;
> > >>> -} data_t;
> > >>> -
> > >>> -#define BLACK      0x000000           /* BGR 8bpc */
> > >>> -#define CYAN       0xFFFF00           /* BGR 8bpc */
> > >>> -#define PURPLE     0xFF00FF           /* BGR 8bpc */
> > >>> -#define WHITE      0xFFFFFF           /* BGR 8bpc */
> > >>> -
> > >>> -#define BLACK64    0x000000000000     /* BGR 16bpc */
> > >>> -#define CYAN64     0xFFFFFFFF0000     /* BGR 16bpc */
> > >>> -#define PURPLE64   0xFFFF0000FFFF     /* BGR 16bpc */
> > >>> -#define YELLOW64   0x0000FFFFFFFF     /* BGR 16bpc */
> > >>> -#define WHITE64    0xFFFFFFFFFFFF     /* BGR 16bpc */
> > >>> -#define RED64      0x00000000FFFF     /* BGR 16bpc */
> > >>> -#define GREEN64    0x0000FFFF0000     /* BGR 16bpc */
> > >>> -#define BLUE64     0xFFFF00000000     /* BGR 16bpc */
> > >>> -
> > >>> -static void
> > >>> -paint_background(data_t *data, struct igt_fb *fb,
> drmModeModeInfo
> > >> *mode,
> > >>> -		uint32_t background, double alpha)
> > >>> -{
> > >>> -	cairo_t *cr;
> > >>> -	int w, h;
> > >>> -	double r, g, b;
> > >>> -
> > >>> -	w = mode->hdisplay;
> > >>> -	h = mode->vdisplay;
> > >>> -
> > >>> -	cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
> > >>> -
> > >>> -	/* Paint with background color */
> > >>> -	r = (double) (background & 0xFF) / 255.0;
> > >>> -	g = (double) ((background & 0xFF00) >> 8) / 255.0;
> > >>> -	b = (double) ((background & 0xFF0000) >> 16) / 255.0;
> > >>> -	igt_paint_color_alpha(cr, 0, 0, w, h, r, g, b, alpha);
> > >>> -
> > >>> -	igt_put_cairo_ctx(cr);
> > >>> -}
> > >>> -
> > >>> -static void prepare_crtc(data_t *data, igt_output_t *output, enum
> pipe pipe,
> > >>> -			igt_plane_t *plane, int opaque_buffer, int
> plane_color,
> > >>> -			uint64_t pipe_background_color)
> > >>> -{
> > >>> -	drmModeModeInfo *mode;
> > >>> -	igt_display_t *display = &data->display;
> > >>> -	int fb_id;
> > >>> -	double alpha;
> > >>> -
> > >>> -	igt_output_set_pipe(output, pipe);
> > >>> -
> > >>> -	/* create the pipe_crc object for this pipe */
> > >>> -	igt_pipe_crc_free(data->pipe_crc);
> > >>> -	data->pipe_crc = igt_pipe_crc_new(data->gfx_fd, pipe,
> > >> INTEL_PIPE_CRC_SOURCE_AUTO);
> > >>> -
> > >>> -	mode = igt_output_get_mode(output);
> > >>> -
> > >>> -	fb_id = igt_create_fb(data->gfx_fd,
> > >>> -			mode->hdisplay, mode->vdisplay,
> > >>> -			DRM_FORMAT_XRGB8888,
> > >>> -			LOCAL_DRM_FORMAT_MOD_NONE, /* tiled */
> > >>> -			&data->fb);
> > >>> -	igt_assert(fb_id);
> > >>> -
> > >>> -	/* To make FB pixel win with background color, set alpha as full
> opaque
> > >> */
> > >>> -	igt_pipe_set_prop_value(display, pipe, IGT_CRTC_BACKGROUND,
> > >> pipe_background_color);
> > >>> -	if (opaque_buffer)
> > >>> -		alpha = 1.0;    /* alpha 1 is fully opque */
> > >>> -	else
> > >>> -		alpha = 0.0;    /* alpha 0 is fully transparent */
> > >>> -	paint_background(data, &data->fb, mode, plane_color, alpha);
> > >>> -
> > >>> -	igt_plane_set_fb(plane, &data->fb);
> > >>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -}
> > >>> -
> > >>> -static void cleanup_crtc(data_t *data, igt_output_t *output,
> > >>> igt_plane_t *plane) -{
> > >>> -	igt_display_t *display = &data->display;
> > >>> -
> > >>> -	igt_pipe_crc_free(data->pipe_crc);
> > >>> -	data->pipe_crc = NULL;
> > >>> -
> > >>> -	igt_remove_fb(data->gfx_fd, &data->fb);
> > >>> -
> > >>> -	igt_pipe_obj_set_prop_value(plane->pipe,
> IGT_CRTC_BACKGROUND,
> > >> BLACK64);
> > >>> -	igt_plane_set_fb(plane, NULL);
> > >>> -	igt_output_set_pipe(output, PIPE_ANY);
> > >>> -
> > >>> -	igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -}
> > >>> -
> > >>> -static void test_crtc_background(data_t *data) -{
> > >>> -	igt_display_t *display = &data->display;
> > >>> -	igt_output_t *output;
> > >>> -	enum pipe pipe;
> > >>> -	int valid_tests = 0;
> > >>> -
> > >>> -	for_each_pipe_with_valid_output(display, pipe, output) {
> > >>> -		igt_plane_t *plane;
> > >>> -
> > >>> -		igt_output_set_pipe(output, pipe);
> > >>> -
> > >>> -		plane = igt_output_get_plane_type(output,
> > >> DRM_PLANE_TYPE_PRIMARY);
> > >>> -		igt_require(igt_pipe_has_prop(display, pipe,
> > >> IGT_CRTC_BACKGROUND));
> > >>> -
> > >>> -		prepare_crtc(data, output, pipe, plane, 1, PURPLE, BLACK64);
> > >>> -
> > >>> -		/* Now set background without using a plane, i.e.,
> > >>> -		 * Disable the plane to let hw background color win blend. */
> > >>> -		igt_plane_set_fb(plane, NULL);
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, PURPLE64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		/* Try few other background colors */
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, CYAN64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, YELLOW64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, RED64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, GREEN64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, BLUE64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		igt_pipe_set_prop_value(display, pipe,
> > >> IGT_CRTC_BACKGROUND, WHITE64);
> > >>> -		igt_display_commit2(display, COMMIT_UNIVERSAL);
> > >>> -
> > >>> -		valid_tests++;
> > >>> -		cleanup_crtc(data, output, plane);
> > >>> -	}
> > >>> -	igt_require_f(valid_tests, "no valid crtc/connector combinations
> > >> found\n");
> > >>> -}
> > >>> -
> > >>> -igt_simple_main
> > >>> -{
> > >>> -	data_t data = {};
> > >>> -
> > >>> -	data.gfx_fd = drm_open_driver(DRIVER_INTEL);
> > >>> -	igt_require_pipe_crc(data.gfx_fd);
> > >>> -	igt_display_require(&data.display, data.gfx_fd);
> > >>> -
> > >>> -	test_crtc_background(&data);
> > >>> -
> > >>> -	igt_display_fini(&data.display);
> > >>> -}
> > >>> diff --git a/tests/meson.build b/tests/meson.build index
> > >>> ca792ed86..a6e1b7fae 100644
> > >>> --- a/tests/meson.build
> > >>> +++ b/tests/meson.build
> > >>> @@ -24,7 +24,6 @@ test_progs = [
> > >>>   	'kms_ccs',
> > >>>   	'kms_concurrent',
> > >>>   	'kms_content_protection',
> > >>> -	'kms_crtc_background_color',
> > >>>   	'kms_cursor_crc',
> > >>>   	'kms_cursor_edge_walk',
> > >>>   	'kms_cursor_legacy',
> > >>>
> > >>
> > >> --
> > >> ~Swati Sharma
> >
> 
> 
> 
> --
> Matt Roper
> Graphics Software Engineer
> VTT-OSGC Platform Enablement
> Intel Corporation
> (916) 356-2795
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
  2020-10-07  8:56         ` Laxminarayan Bharadiya, Pankaj
@ 2020-10-07  9:09           ` Petri Latvala
  0 siblings, 0 replies; 11+ messages in thread
From: Petri Latvala @ 2020-10-07  9:09 UTC (permalink / raw)
  To: Laxminarayan Bharadiya, Pankaj; +Cc: igt-dev, arkadiusz.hiler, Peres, Martin

On Wed, Oct 07, 2020 at 11:56:08AM +0300, Laxminarayan Bharadiya, Pankaj wrote:
> 
> 
> > -----Original Message-----
> > From: Matt Roper <matthew.d.roper@intel.com>
> > Sent: 03 September 2020 07:23
> > To: Peres, Martin <martin.peres@intel.com>
> > Cc: Laxminarayan Bharadiya, Pankaj
> > <pankaj.laxminarayan.bharadiya@intel.com>; Sharma, Swati2
> > <swati2.sharma@intel.com>; igt-dev@lists.freedesktop.org
> > Subject: Re: [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test
> > 
> > On Wed, Sep 02, 2020 at 04:58:35AM -0700, Peres, Martin wrote:
> > > +Matt
> > >
> > > Hi everyone,
> > >
> > > On 2020-09-02 11:34, Laxminarayan Bharadiya, Pankaj wrote:
> > > >> -----Original Message-----
> > > >> From: Sharma, Swati2 <swati2.sharma@intel.com>
> > > >> Sent: 02 September 2020 13:59
> > > >> To: Laxminarayan Bharadiya, Pankaj
> > > >> <pankaj.laxminarayan.bharadiya@intel.com>;
> > > >> igt-dev@lists.freedesktop.org; Martin Peres
> > > >> <martin.peres@linux.intel.com>
> > > >> Subject: Re: [igt-dev] [i-g-t] tests: Remove
> > > >> kms_crtc_background_color test
> > > >>
> > > >>
> > > >>
> > > >> On 28-Jul-20 8:53 PM, Pankaj Bharadiya wrote:
> > > >>> BACKGROUND_COLOR property is not supported in kernel as of now.
> > > >>> Following patch attempted to add support but never got merged due
> > > >>> to lack of userspace support.
> > > >>>
> > > >>>
> > https://patchwork.freedesktop.org/patch/333632/?series=67424&rev=1
> > > >>>
> > > >>> This test case is always skipped, as it does not find the
> > > >>> BACKGROUND_COLOR prop support hence remove it.
> > > >>
> > > >> Why we have to remove the test? What if its supported in kernel in
> > future?
> > > >> If test is skipping; we can add it to blacklist (listing it as
> > > >> expected
> > > >> skip)
> > > >
> > > > IMO, first of all, this code should not have been added unless kernel
> > supports it.
> > > > It's a dead code.
> > > >
> > > > I don’t think there a plan to add BACKGROUND_COLOR property in
> > > > kernel since we don't have any reference user space implantation which
> > uses/need this property.
> > >
> > > I tend to agree with Pankaj here. The code won't be gone, and this
> > > patch can be reverted when the property lands in at least one DRM driver.
> > >
> > > That being said, please make sure with Matt that no activity is going
> > > on around this property before landing this patch. If so, then this patch is:
> > 
> > Yeah, go ahead and remove it.  There is software out there that uses the
> > property, but it's all closed-source software, so the kernel support has never
> > been upstreamable and only exists in product group kernels.
> > 
> > It seems every couple years someone comes along and shows interest in
> > using the functionality in open source userspace, so we put effort into
> > refreshing the patches and resubmitting them upstream, but ultimately the
> > userspace efforts fizzle out and the kernel code goes back on ice.
> > I'm not aware of any specific interest at the moment, and if this does get
> > resurrected again in the future we can just write new IGT support for it then
> > (my last couple upstream respins also included complete overhauls of the
> > IGT support, so the old snapshot that's already present in upsteam IGT isn't
> > even really useful if the kernel support does come back).
> > 
> > For the removal:
> > Acked-by: Matt Roper <matthew.d.roper@intel.com>
> 
> Can this patch be merged please?

Thanks for the poke, merged now.


-- 
Petri Latvala
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-07  9:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 15:23 [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Pankaj Bharadiya
2020-07-28 16:24 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-07-28 22:55 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-08-11  8:43 ` [igt-dev] ✓ Fi.CI.BAT: success for tests: Remove kms_crtc_background_color test (rev2) Patchwork
2020-08-11  9:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-09-02  8:28 ` [igt-dev] [i-g-t] tests: Remove kms_crtc_background_color test Sharma, Swati2
2020-09-02  8:34   ` Laxminarayan Bharadiya, Pankaj
2020-09-02 11:58     ` Peres, Martin
2020-09-03  1:53       ` Matt Roper
2020-10-07  8:56         ` Laxminarayan Bharadiya, Pankaj
2020-10-07  9:09           ` Petri Latvala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.