Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2179223rwb; Mon, 19 Sep 2022 00:25:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7G9v+a6+qlf6EM3gDJ3QcNJBn4v79JI3qCVurajR5XB6WHoqkKA12iOQQJxh5/863uIqDq X-Received: by 2002:a05:6402:26cf:b0:451:70af:ecc5 with SMTP id x15-20020a05640226cf00b0045170afecc5mr14244198edd.287.1663572326454; Mon, 19 Sep 2022 00:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663572326; cv=none; d=google.com; s=arc-20160816; b=fx0AEtM+i3nvU0p+fb2dBp9kXO1rj8X5K632WRn4gshyP0B0CjdJaGm0+yfdlLRpwe v44gRgAUSo93nCmzZo662ntsUPTWK8fOuoQtQauELtW2a9UBthc5dpgeuztzfWb/jtbM vdOBrzCLstzv5WScbvvtHZfac2c0qWsyumgDrOncqpcSPHe3R/lTPucFzEmT7HwtjccP ZXL2vqcRP57IkA0osSkZCouhSVm1b1fL9Hf1Dr7qeF7aIwKtsLprTrHZ65dHQo/zKRTT c3futXr7KFP1vcjiirUbF2Nl+pZGQX8jSvQoP1IQTPEGUB2pvGtMbKhApA3edx1XuS+f n8hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2plq+508IwP99yeeN9I7nBd5E7QFpZWSFRVlBG2ZQCc=; b=mw+CsDipjzcNzkYT1mm5XHlA8vyZJ7DuvuC3eWQfi8aKv0Oo/SF2p17j+AZhgfpKSO vtiUK5dx4SrPxeIupQJDwaE3Yc3Dg8zYZQP0RO5XeDMqhh5s/lNW2rGAAK1YQUYGRhUq RlW/oCx5Oytxk5AjL8IaJpgWidU3Q3EVKcoaUE0doajs50wsdXoLb4iXFKRiNiEhzQZV Yo0HKnKbCgRV+gvenfRYw9m9JcKdZg+nOzgMIhB13dhVj4wLMC95t6PlzyoXNlxrhbB+ t8/jWJy4l0t0eqEnKlEVCYWXz8gW8rwlSYcx4Vs2b0bchGEqBV+DTC55Yc3CpcWQWDeO sjvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OJatih4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw9-20020a170907a0c900b007815a44de91si2598558ejc.771.2022.09.19.00.25.00; Mon, 19 Sep 2022 00:25:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OJatih4+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbiISHPp (ORCPT + 99 others); Mon, 19 Sep 2022 03:15:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbiISHPn (ORCPT ); Mon, 19 Sep 2022 03:15:43 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E3B013DCB for ; Mon, 19 Sep 2022 00:15:42 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id y5so2479196wrh.3 for ; Mon, 19 Sep 2022 00:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=2plq+508IwP99yeeN9I7nBd5E7QFpZWSFRVlBG2ZQCc=; b=OJatih4+BMj9XH1kCtBeYGBjCKLnY2LzQZdZ+RNIG6Yg6vaDng49xmJSQTYoRzhh8E YS828VCreVb2nQig4MMK34JNU+l3ljyCAH/me+o7F0QenBb0vJH3RwVH7m8+DVOC1+zc 8J77fokokNLQyYIU2wumZpeFxv4ka1s+e0zRm8Pk7GiYFM75qp4BUlwEg8lAI7Of8fgR 92pq4aPn6KUcsj0EUs23a2A1Ehe5GU+Ng89rGFbUI68gWl9bXuh1VRiVEkIMIAc0xO3r 1eH2qrYLXaVowxfG1uMbPOjcyc91zePrj5Y/Lr9VONIT9L2ZyFAprYFrSGpSIHrFlkUo NnjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=2plq+508IwP99yeeN9I7nBd5E7QFpZWSFRVlBG2ZQCc=; b=iVHQ3JYMTQNDyXHn3jZYdPeCKGj64gyl21dJBc6OmrHLSfYXpK3oyhiF4SPyJ5JmwF ADw+7ulBWX1o+Wam7N1YYcbS60FN6BC02EkgVQvMGtO8ZWCgXTx5xkSdr/IClw/zuM8V LN0awz+fLtSiW6BYZMaa1Oa1v40L+arpnjOCsb1EnBVxK0VB04qPzs+YmGAv420Iswjv x6c/I1vy32SgmYhNx2Y4LPjytcUqmoQXb7UnkE6PQj1tcqnyojxr1RsDdfi5X42lEA0k 9ybRISc9+w5Kp2teEeCMtNnf/GPvyFNqBwaafoxSjuLKrnvG4xLG85LWsv6MCx9KnM7+ pk/A== X-Gm-Message-State: ACrzQf0XgCmsIX8F/Fs6TjPPCOAVJbhLkxfE8agBpY29qjKyHsLt0o/N gwWIshGZcN46aYdpVHwyhSI= X-Received: by 2002:a5d:64cf:0:b0:22a:b61d:875e with SMTP id f15-20020a5d64cf000000b0022ab61d875emr9382714wri.100.1663571740580; Mon, 19 Sep 2022 00:15:40 -0700 (PDT) Received: from localhost.localdomain ([94.73.32.249]) by smtp.gmail.com with ESMTPSA id l3-20020a5d4bc3000000b0022ac12fff29sm12864564wrt.65.2022.09.19.00.15.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 00:15:40 -0700 (PDT) From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= To: javierm@redhat.com Cc: davidgow@google.com, dlatypov@google.com, tzimmermann@suse.de, mripard@kernel.org, daniel@ffwll.ch, airlied@linux.ie, maarten.lankhorst@linux.intel.com, jani.nikula@linux.intel.com, maira.canal@usp.br, isabbasso@riseup.net, magalilemes00@gmail.com, tales.aparecida@gmail.com, geert@linux-m68k.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Subject: [PATCH v4 0/3] KUnit tests for RGB888, XRGB2101010 and grayscale Date: Mon, 19 Sep 2022 09:15:28 +0200 Message-Id: <20220919071531.105124-1-jose.exposito89@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone, This series is a follow up on my work adding KUnit test to the XRGB8888 conversion functions. This time RGB888, XRGB2101010 and gray8 are added. Best wishes, Jose v1 -> v2: Tested-by: Maíra Canal Reviewed-by: David Gow v2 -> v3: Export symbol drm_fb_xrgb8888_to_xrgb2101010() v3 -> v4: Rebased on top of Maíra's prefix renaming work: https://lore.kernel.org/dri-devel/20220911191756.203118-1-mairacanal@riseup.net/T/ José Expósito (3): drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb888() drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_xrgb2101010() drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_gray8() drivers/gpu/drm/drm_format_helper.c | 1 + .../gpu/drm/tests/drm_format_helper_test.c | 190 ++++++++++++++++++ 2 files changed, 191 insertions(+) base-commit: 961bcdf956a4645745407a5d919be8757549b062 prerequisite-patch-id: 605f4eb1bbdb8ed39cb2ebed95768d922486099f prerequisite-patch-id: 3818f7fa7c81927c8a88607c4955a45d614ee69a prerequisite-patch-id: 634952f085f249f2e18893a3f8344a2ff27c13ad prerequisite-patch-id: fe7ea3dd385fe6c64d7c5c8d65ebe6f9c7ab047b prerequisite-patch-id: c92ac7a03faee6e1000637928628e7fd127d0159 prerequisite-patch-id: f52fbd427e8730c62b5554f68713e6fa742ffcab prerequisite-patch-id: 1a2dc68fd107316fd1d1bb91376fe19bdb039147 prerequisite-patch-id: d91c951338cfe9f06e8b8aa74856f6dc08ac8212 prerequisite-patch-id: 41a65e680affc8011670762aec58c373030ef4ea prerequisite-patch-id: bbd5bf45c2185a9f2a551447247ce13f81df7c2a prerequisite-patch-id: 9802d5e3291f150a9ceba345628bbf04be972aba prerequisite-patch-id: 0bae228d241c6c5567c0b58fa4447a3bcb35d5f2 prerequisite-patch-id: e2ed4b2c89623279d2201a81259b49ce56c5bb38 prerequisite-patch-id: 57b3203672cf7617dc1d63d3eb1373e3b2b7ca34 prerequisite-patch-id: 85c127f8e3d55e4210a00d5c84e2c4f92e2e16ad prerequisite-patch-id: cad729f2d039e636d2f3f937a9f26b1fb4455388 prerequisite-patch-id: c9e696a62ea5f2d4407914ff7a8371e285f33d55 prerequisite-patch-id: 08f30e5572d2e5a8153b563dd4d8fa0ece2cc575 prerequisite-patch-id: c7f7be4f8e90e5eb473a82c293a6b6a0f417e2ba prerequisite-patch-id: b0c636c391f5d0ebb50a07222f3e41f48cab8c76 prerequisite-patch-id: 705cc9ff7eb3e3e2873cfdb68c2d2272fde38baf prerequisite-patch-id: cfbe2b5cbfd69cf9f0b11c7c329cf8ec5a2ecff4 prerequisite-patch-id: e7df3b6bbfb6bb87efaf39e73f2e4ed1f83558af -- 2.25.1