From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 853E26ECDE for ; Tue, 21 Jan 2020 12:52:58 +0000 (UTC) From: Kunal Joshi Date: Tue, 21 Jan 2020 11:24:12 +0530 Message-Id: <1579586055-27583-1-git-send-email-kunal1.joshi@intel.com> Subject: [igt-dev] [PATCH i-g-t v3 0/3] validate color tests using chamelium. 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: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Kunal Joshi , ville.syrjala@intel.com, petri.latvala@intel.com, daniel.vetter@intel.com List-ID: For gen11+ platforms, there are frequent crc mismatch issues observed in color tests. This is happening due to hardware limitation (pipe rounding). One of the solutions to fix this is by rewriting color tests and making them compatible with chamelium. In this patch series, color tests are modified to have frame dump comparison instead of crc comparison using chamelium hooks. This will be useful even for future platforms. Also, with this approach we could enable limited-range subtest which was commented in kms_color because of crc mismatch. Kunal Joshi (3): lib/igt_chamelium Added chamelium_frame_match_or_dump which returns bool that the captured frame matches lib/igt_color Moved kms_color functions to lib/igt_color to git avoid code duplication tests/kms_color_chamelium: add subtests to validate color lib/Makefile.sources | 2 + lib/igt_chamelium.c | 65 ++++ lib/igt_chamelium.h | 5 + lib/igt_color.c | 386 ++++++++++++++++++++++ lib/igt_color.h | 105 ++++++ tests/Makefile.am | 1 + tests/kms_color_chamelium.c | 759 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 1323 insertions(+) create mode 100644 lib/igt_color.c create mode 100644 lib/igt_color.h create mode 100644 tests/kms_color_chamelium.c -- 2.7.4 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev