From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vidya Srinivas Date: Tue, 1 Jun 2021 19:38:05 +0530 Message-Id: <1622556485-9375-1-git-send-email-vidya.srinivas@intel.com> In-Reply-To: <1622547939-8157-1-git-send-email-vidya.srinivas@intel.com> References: <1622547939-8157-1-git-send-email-vidya.srinivas@intel.com> Subject: [Intel-gfx] [PATCH i-g-t] [RFC] tests/kms_plane_alpha_blend: Don't set primary fb color in coverage-vs-premult-vs-constant List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org List-ID: Patch removes setting primary fb color in coverage-vs-premult-vs-constant as this is causing CRC mismatch on few Gen11 systems. Similar change has already been done in tests constant_alpha_min and basic_alpha where the test runs on all planes but dont set the primary fb color. Signed-off-by: Vidya Srinivas --- tests/kms_plane_alpha_blend.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c index a37cb27c7d62..224d79bd1749 100644 --- a/tests/kms_plane_alpha_blend.c +++ b/tests/kms_plane_alpha_blend.c @@ -447,10 +447,6 @@ static void coverage_premult_constant(data_t *data, enum pipe pipe, igt_plane_t igt_display_t *display = &data->display; igt_crc_t ref_crc = {}, crc = {}; - /* Set a background color on the primary fb for testing */ - if (plane->type != DRM_PLANE_TYPE_PRIMARY) - igt_plane_set_fb(igt_pipe_get_plane_type(&display->pipes[pipe], DRM_PLANE_TYPE_PRIMARY), &data->gray_fb); - igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Coverage"); igt_plane_set_fb(plane, &data->argb_fb_cov_7e); igt_display_commit2(display, COMMIT_ATOMIC); -- 2.7.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx