Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp862457rwb; Wed, 7 Dec 2022 06:02:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Z8Bl1FUpZOPyIdjh7Sk4XKvuoC8YFUY1Wqwdlp+bFGWIWY2bcriBWfSu43mAcDgKcSOLq X-Received: by 2002:a17:902:ce86:b0:189:48b0:807 with SMTP id f6-20020a170902ce8600b0018948b00807mr68228884plg.81.1670421734534; Wed, 07 Dec 2022 06:02:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670421734; cv=none; d=google.com; s=arc-20160816; b=d+6g7ueMqnI8YYRG7qLS/QXdx4SRNP9qkztWTi+3s1OZZ1w2uYG9o7uMtybL76UvLN +38Dvum6zSORC1uYnfc7iD2VL3OzD7qvVzlcyu3CI1zrl5DdhXl5IzGjCfy0Vtspt8DT z+wAQ8MX2tVzL9VH+uBiAP1XgzjbKbadXBdCGS4VSyH6cdTReMHKhWsle4hLtItl1vyQ f0z6CNUZBES5AaUeNQ7yesFvzEqjcBHWOVv5xECNbAlExLZNIjYqjfOqhvWZ3w16O4FP 416jsp/jJeSYfrcnZtlIZv+y9ndx5XQVg+J+3SvlNLceYPhKNxehPISZ6fwd6eryloKT g4ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fyA1KqlBkiD4PRKJwfoxMJSb8dR56u0Byrgz69IGCDM=; b=bM6CVMIW/LF1UXXZ/twTauTLwzOPxNk4kdpZ6Cm6Wa0JdhMQAtlmSFOCvhsBUy0jRv DV4IL1zW8Kb5dNTFtDCQRC7sbREL4r3AB38yE9Vy5ymwaSAissE9BNmiYyhDv5BDlZZj cqDKsdQ6pKKYCYV/XxZn2bue1qVrBef2RyVSaXkqIaNQ+7rb+h4+2yoVj69b9ELtWkZX Xm4K3a9tFDnyNldGiDxKqwyCzgS6CCGrNpf5rI0YtXZRqgzx6EQC/xaVS2ETXxZ7J1I4 NDxfh9R0A0sCXANYF3u+vq/n2LvWOBPqvcLzaotSk0d1PT1kVEbsAMG43NRCXAIh5Q39 O/cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=Ah2r+Q8u; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q75-20020a632a4e000000b004403ddda6e6si21234699pgq.847.2022.12.07.06.02.02; Wed, 07 Dec 2022 06:02:14 -0800 (PST) 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=fail header.i=@igalia.com header.s=20170329 header.b=Ah2r+Q8u; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbiLGN4o (ORCPT + 76 others); Wed, 7 Dec 2022 08:56:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbiLGN4Z (ORCPT ); Wed, 7 Dec 2022 08:56:25 -0500 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 342954877E; Wed, 7 Dec 2022 05:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fyA1KqlBkiD4PRKJwfoxMJSb8dR56u0Byrgz69IGCDM=; b=Ah2r+Q8uT2cKvHeYBiKlpjgsLs 0B/7BzJgCtAnx/1S/Bl3NjOgzMvCF4pB7RnsaHHNMTaFAKobs19+W3xdVtIK+4KJGQlQJp+9p5+CV ZJt6wuL4V7D/H/Q9oEw0nq8JV9uxe6OtR981NZ2hiTetd1Dk1Ga1rVecQ/gbphFWbOvm6iggz+EKE 2AZGszBmFHBzdsK3vh2pl32DMcZlvM2oHb+m8pON91EXhJvicePApSSMDbLEFITWrNZ7er6CrYpv8 /4Q2li7STgNWKK2VAAq4Q8OM6XMiy3i0CJjveKUpQAu1MomMzSxV7hsDi8OdCbKUR0NYBBDARwap5 eEOjAjLg==; Received: from [143.107.182.242] (helo=[10.41.75.14]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1p2uu1-00GbW6-UQ; Wed, 07 Dec 2022 14:56:02 +0100 Message-ID: <57f2302f-0e36-7665-37b0-a81a4be8cb7b@igalia.com> Date: Wed, 7 Dec 2022 10:55:30 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v3 20/20] Documentation: gpu: vc4: Add KUnit Tests Section To: Maxime Ripard , Maxime Ripard , Maarten Lankhorst , Daniel Vetter , Thomas Zimmermann , David Airlie Cc: David Gow , Dave Stevenson , Greg Kroah-Hartman , =?UTF-8?Q?Ma=c3=adra_Canal?= , Javier Martinez Canillas , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Brendan Higgins , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-media@vger.kernel.org References: <20221123-rpi-kunit-tests-v3-0-4615a663a84a@cerno.tech> <20221123-rpi-kunit-tests-v3-20-4615a663a84a@cerno.tech> Content-Language: en-US From: =?UTF-8?Q?Ma=c3=adra_Canal?= In-Reply-To: <20221123-rpi-kunit-tests-v3-20-4615a663a84a@cerno.tech> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 12/1/22 12:11, Maxime Ripard wrote: > Now that we have VC4-specific tests in place, let's document them > properly. > > Signed-off-by: Maxime Ripard Reviewed-by: Maíra Canal Just a small nit below. > --- > Documentation/gpu/vc4.rst | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/gpu/vc4.rst b/Documentation/gpu/vc4.rst > index 5df1d98b9544..a2375f1584e6 100644 > --- a/Documentation/gpu/vc4.rst > +++ b/Documentation/gpu/vc4.rst > @@ -54,6 +54,22 @@ VEC (Composite TV out) encoder > .. kernel-doc:: drivers/gpu/drm/vc4/vc4_vec.c > :doc: VC4 SDTV module > > +KUnit Tests > +=========== > + > +The VC4 Driver uses KUnit to perform driver-specific unit and > +integration tests. > + > +These tests are using a mock driver and can be ran using the > +command:: > + ./tools/testing/kunit/kunit.py run \ > + --kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \ > + --cross_compile aarch64-linux-gnu- --arch arm64 I believe you could use a code block here, like: .. code-block:: bash $ ./tools/testing/kunit/kunit.py run \ --kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \ --cross_compile aarch64-linux-gnu- --arch arm64 You could also mention that you can run the tests with --arch arm. Best Regards, - Maíra Canal > + > +Parts of the driver that are currently covered by tests are: > + * The HVS to PixelValve dynamic FIFO assignment, for the BCM2835-7 > + and BCM2711. > + > Memory Management and 3D Command Submission > =========================================== > >