From patchwork Wed Oct 25 13:24:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13436121 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 81557C0032E for ; Wed, 25 Oct 2023 13:24:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A9CD010E5CE; Wed, 25 Oct 2023 13:24:42 +0000 (UTC) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 37C5B10E5CE for ; Wed, 25 Oct 2023 13:24:40 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 03B6ECE355D; Wed, 25 Oct 2023 13:24:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAC8BC433C7; Wed, 25 Oct 2023 13:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698240277; bh=BwKbZ5ReCwVERtqQs2LDpAt1FQF0VTyxj6vLqi25Hvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z1hnr7TKNFFpFMMZfLSPdtP9uaJGlXBEP2Ibs+AOgftia4t/uW26SvwEQyTZCV4HW m5RNASMOI58r0cs3skZgF9adr3Pml0TNVQG+fzP1G28YVNF/PmCjmS8o7t0Qr4o9UZ 4dNU6ppkoVSUQqyb6DPa2L73HlteKHTg6YyZlxgfWmwJpezWkL1VgHAZ2OOJivzfvM skowA0OvSUEwY2LE9DUdju/uMI0DASdpMoQzMxeX2NkxcYDRd3CplBgRbQ8PvAhUbj bar7a2rT7zXCMT2xfZYlctDIuqjcUu4SV52s4IzZCMvB9wVCU0NUplG9KaI1QMiqpz CDEP3LJsKaSGA== From: Maxime Ripard To: Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Subject: [PATCH v2 2/2] drm/todo: Add entry to clean up former seltests suites Date: Wed, 25 Oct 2023 15:24:28 +0200 Message-ID: <20231025132428.723672-2-mripard@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025132428.723672-1-mripard@kernel.org> References: <20231025132428.723672-1-mripard@kernel.org> 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 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Most of those suites are undocumented and aren't really clear about what they are testing. Let's add a TODO entry as a future task to get started into KUnit and DRM. Signed-off-by: Maxime Ripard --- Documentation/gpu/todo.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 03fe5d1247be..b62c7fa0c2bc 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -621,6 +621,23 @@ Contact: Javier Martinez Canillas Level: Intermediate +Clean up and document former selftests suites +--------------------------------------------- + +Some KUnit test suites (drm_buddy, drm_cmdline_parser, drm_damage_helper, +drm_format, drm_framebuffer, drm_dp_mst_helper, drm_mm, drm_plane_helper and +drm_rect) are former selftests suites that have been converted over when KUnit +was first introduced. + +These suites were fairly undocumented, and with different goals than what unit +tests can be. Trying to identify what each test in these suites actually test +for, whether that makes sense for a unit test, and either remove it if it +doesn't or document it if it does would be of great help. + +Contact: Maxime Ripard + +Level: Intermediate + Enable trinity for DRM ----------------------