Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1535188rdb; Thu, 7 Dec 2023 01:43:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGH8ZWcIY8eG2R+QOIKL+Lgclz35xlahcYWWP/VzBo0FW3zH47gqmOkMrniBcN+PvwOjTrF X-Received: by 2002:a17:902:e743:b0:1cf:bd98:633f with SMTP id p3-20020a170902e74300b001cfbd98633fmr3026279plf.30.1701942192902; Thu, 07 Dec 2023 01:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701942192; cv=none; d=google.com; s=arc-20160816; b=IK9jpaNzddaBEF6QeoileN6OS15sUkrI4cWJdcVTNfLRE5hnChvmFLwpzTm8w5IidO AlUOUiQdRmLWN93SDgekIF+RlzhStlLm2zklgMiiHACW5oScg3dxmq4O4wKaJtwSdNGx xINi94/3YSUYWn7QhQrDkUTyKjXFgTT81QL3lFKNc1SyCztAnSIhDw+gcfbEXVdkmW1a 3QJUfy1tJ2+6Bc0owZBaHm5uqbvwrg3Dg9ts24p+HWt2mzfSFQ5it/xOhs4dk9wU7ME3 lE10GEbp3wPJ96x599PJ9mKcJvv20jSu3v6Q38D4zIuljMd1SFLUGdxYr5q5tc1GAeSM wo7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GzRZKnmm2CXJy8/JvKcErHle0q1xvRTP01XBhWYCwGI=; fh=x2zmA/5YPReAOs+CYovPfeZIspkj+oJW5SEIoCJhWp8=; b=Zx4WuiWfExntnOdXHf7rimAQIiWN/qeZA1L/dS6f9lI/ZDhKirfvY90xN9SDKWhIFV iAlJOI9I5XXtIV9jK7kh2CTSVokyqJaKGviMwsSbEKhEeQWSsnrTR/mKNZU7aHFfYQY6 p5vLyE8h7aILzq9Gcqd9A4G1RvNtC8XytbDFJsXiWKN83xFugkz08XhJGfomyTI4f44n wyNOSCIvolnALwGZgce2ee3NNItflQX2xyd41xUr/W4Hgs8dbJNkufy0dezipOB8EMfi Ls7b1/g3iYO66Ivpc/c+iIESxaSuWlkuthMMf3cezYr3ReB1hwTLGr05STX+yaz9Q/lp hmfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eA62Pagh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id jc2-20020a17090325c200b001cfbd271f2esi843644plb.7.2023.12.07.01.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:43:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eA62Pagh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D580D83B00B5; Thu, 7 Dec 2023 01:43:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231599AbjLGJmv (ORCPT + 99 others); Thu, 7 Dec 2023 04:42:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLGJmr (ORCPT ); Thu, 7 Dec 2023 04:42:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED025C9 for ; Thu, 7 Dec 2023 01:42:52 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EFC9C433C7; Thu, 7 Dec 2023 09:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701942172; bh=RQ/yT7UHQaMM19x3eCi4Xe6CooZCw22QbB03I9HiZME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eA62PaghxUAe/vbJzjN51mMQUy96RPgMz38pPfpGglvkkos+dAh4/om6cyp0J0tsd YaTSsBkbGiIoMpMDpcs0CR2RTZbkVXNFtGBQZYzNe2tG9wFc5zxAiQ0tn4XA2NGV8p atWkAPDUaXOjFJW5d5jJKIn+bvml/bzSSa7dC+3tyuwMJCWCLuiqRLFBuYJG95YMCk zQ5neZLHUTRnUvCCJ2UV2TZFijRx20nQzXQDIRjaf/ROUlYRLXigWBrX5UHmawH8ha MfxH917s+QQRxjaHx3rHwuUvwmfPv0+Idi2FM3w8Xk3ZqI/up3t78e3xwMiDTs+obR g25gct1EXbi8A== Date: Thu, 7 Dec 2023 10:42:49 +0100 From: Maxime Ripard To: Abhinav Kumar Cc: Dan Carpenter , Jessica Zhang , Naresh Kamboju , kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, lkft-triage@lists.linaro.org, regressions@lists.linux.dev, davidgow@google.com, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, Linux Kernel Functional Testing Subject: Re: Kunit drm_test_check_plane_state: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_plane_helper_test.c:123 Message-ID: References: <20231204173536.51003-1-naresh.kamboju@linaro.org> <42d85b15-9ffd-4a08-b51e-a3367e57d128@suswa.mountain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hnkt3fuafjt46lbw" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:43:10 -0800 (PST) --hnkt3fuafjt46lbw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2023 at 09:33:28AM -0800, Abhinav Kumar wrote: >=20 >=20 > On 12/5/2023 3:46 AM, Maxime Ripard wrote: > > On Tue, Dec 05, 2023 at 12:05:02PM +0300, Dan Carpenter wrote: > > > On Tue, Dec 05, 2023 at 09:37:05AM +0100, Maxime Ripard wrote: > > > > Hi Naresh, > > > >=20 > > > > Thanks for the report > > > >=20 > > > > On Mon, Dec 04, 2023 at 11:05:36PM +0530, Naresh Kamboju wrote: > > > > > The Kunit drm_plane_helper failed on all devices running Linux ne= xt-20231204 > > > > >=20 > > > > > ## Test Regressions (compared to next-20231201) > > > > > * qemu-armv7, kunit and > > > > > * x86, kunit > > > > > - drm_test_check_invalid_plane_state_downscaling_invalid > > > > > - drm_test_check_invalid_plane_state_drm_plane_helper > > > > > - drm_test_check_invalid_plane_state_drm_test_check_invalid_pl= ane_state > > > > > - drm_test_check_invalid_plane_state_positioning_invalid > > > > > - drm_test_check_invalid_plane_state_upscaling_invalid > > > > > - drm_test_check_plane_state_clipping_rotate_reflect > > > > > - drm_test_check_plane_state_clipping_simple > > > > > - drm_test_check_plane_state_downscaling > > > > > - drm_test_check_plane_state_drm_test_check_plane_state > > > > > - drm_test_check_plane_state_positioning_simple > > > > > - drm_test_check_plane_state_rounding1 > > > > > - drm_test_check_plane_state_rounding2 > > > > > - drm_test_check_plane_state_rounding3 > > > > > - drm_test_check_plane_state_rounding4 > > > > > - drm_test_check_plane_state_upscaling > > > >=20 > > > > I found the source of failure to be f1e75da5364e ("drm/atomic: Loos= en FB > > > > atomic checks"). > > > >=20 > > > > Fortunately for us, it's already been reverted yesterday for some > > > > unrelated reason, so it should be fixed in next-20231205 onward. > > >=20 > > > Sorry, that's a bummer that these patches were reverted. :( The who= le > > > episode was a bit unfortunate... > > >=20 > > > Qualcom has been working on those patches for a year. They must not = be > > > using kunit testing as part of their QC... It's some kind of > > > communication failure on our part. > >=20 > > That's definitely a communication failure, but that's mostly on us :) > >=20 > > The reason these patches were reverted was completely unrelated to the > > kunit failures here: it failed the basic requirement we have on > > intel-gpu-tools tests and open-source userspace examples for new uAPIs. > >=20 > > So whether or not kunit tests would have passed, these patches were > > applied due to inattention and would have been reverted anyway > > The patches were reverted because the corresponding IGT/compositor changes > were not posted yet. We will re-try applying once those are accepted. >=20 > Regarding KUnit tests, no we did not run this test and yes you are right,= we > were not running KUnit testing as the DRM CI mainly validates IGT. >=20 > We will certainly help to fix this failure. Most likely the KUnit tests n= eed > to be fixed to allow for a NULL FB. >=20 > If this is documented somewhere as a requirement, please share it and we > should add KUnit testing to our DRM CI as well so that atleast this kind = of > failure will not repeat. Yeah, the expectation is that all tests pass all the time. If some change affects how tests should be written, then it should update the tests as well. Maxime --hnkt3fuafjt46lbw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZXGTmQAKCRDj7w1vZxhR xVrqAPICYw4use79tIO3c5T9xojmy55gENs9FntfRnmdJclxAP9yhtInNdWWnmWv 5MWm44qBvgog8AzSmnMIorkWlaNHCA== =02hC -----END PGP SIGNATURE----- --hnkt3fuafjt46lbw--