From patchwork Sun Aug 28 16:45:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Sm9zw6kgRXhww7NzaXRv?= X-Patchwork-Id: 12957267 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BAC3ECAAD2 for ; Sun, 28 Aug 2022 16:45:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 57DD210E187; Sun, 28 Aug 2022 16:45:35 +0000 (UTC) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by gabe.freedesktop.org (Postfix) with ESMTPS id D63B010E187 for ; Sun, 28 Aug 2022 16:45:31 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id m16so7479621wru.9 for ; Sun, 28 Aug 2022 09:45:31 -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; bh=c6/vSF9S8NKWJSMSnwvul76XPlLqVxRis9zbs5khOBw=; b=MuZVZknB4CIlYavTxchdpdvUYHKuMvZpbo5YGWw/pIWFRwWmNIP7CxvD39IduL/tF0 QowctCeEEHPVQc+ik0j6t4umkdo/tjTzvXjbxJrHrOyguxBDftyUv81WM2GGIP4Ci/wQ mV9EX/6O2/lYwqxExYYRKkM/RXdqHGnBiyTI+hC3+HDp+x8kfh+4QmLTM5df86Lb26B+ kp4oSSyOFDtjgjIEy01CbVkOHYfPbfx90Pb6e2f0v1APcZsbswHc48sK/dA91cgtRlVy 29Ayx/2g5Q8232PDUUQzt586eUKI1gYeZHpFArlj9bVKxU7/7rkX5qVzIwUFZqyNn5ue HSjg== 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; bh=c6/vSF9S8NKWJSMSnwvul76XPlLqVxRis9zbs5khOBw=; b=OwjMV68oDL6JwCZ5L3x70l6pPyBZEz+bQxncdF0u5MJiUpat9IM0JpdZIqmQsN6/Sc UwMf2oUHUmpHVS6FIW1uIlqPy//X12yRdSWElYkrK1sPyE46aQUPmKmEAN5lGKAEKjFA DUGIwZhhTU8dCUxcVbmDp/qgsi5G7jhVcBXk6k8YINGiln3NhP8HV3RzXsIAr0SrUz0+ Nqq+0G8xzMHSFNty7cCWYJVYmAJzGjJmJN9vuY7WjX5HO3OirIKz66wDm/4GgvRn81Tn eV5l/5WhvvJVOSeY34S3FOcgScVGrCaJVjH4JzzwJ1zOGCiqDfH2TKaIJkapcx2eygWS RiAw== X-Gm-Message-State: ACgBeo3A53SUDuWKbvoY/0FadkV98/EZ4PS/LO2PgXYb5aslhyEw+AvJ 5Z9dMz7/CsWYnuzuMJopTeE= X-Google-Smtp-Source: AA6agR5iLmJqY7oqKbuCwfjD+Umb9mpPns3Bz3rShsNhUlEaMupPw23l6e5Z+i7LuXXFu6NotxZhSw== X-Received: by 2002:a5d:6d88:0:b0:222:c8e2:f5fb with SMTP id l8-20020a5d6d88000000b00222c8e2f5fbmr4609958wrs.35.1661705130349; Sun, 28 Aug 2022 09:45:30 -0700 (PDT) Received: from localhost.localdomain ([94.73.32.249]) by smtp.gmail.com with ESMTPSA id e14-20020adfef0e000000b0021d6924b777sm399926wro.115.2022.08.28.09.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 09:45:29 -0700 (PDT) From: =?utf-8?b?Sm9zw6kgRXhww7NzaXRv?= To: javierm@redhat.com Subject: [PATCH v3 0/3] KUnit tests for RGB888, XRGB2101010 and grayscale Date: Sun, 28 Aug 2022 18:45:14 +0200 Message-Id: <20220828164517.185092-1-jose.exposito89@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, tzimmermann@suse.de, magalilemes00@gmail.com, airlied@linux.ie, maira.canal@usp.br, dlatypov@google.com, linux-kernel@vger.kernel.org, geert@linux-m68k.org, tales.aparecida@gmail.com, davidgow@google.com, =?utf-8?b?Sm9zw6kgRXhww7Nz?= =?utf-8?b?aXRv?= , isabbasso@riseup.net, kunit-dev@googlegroups.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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() 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: 61a9fa154d217c13eea90aa5bc635bc4b1fcb66e