Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp445972rdb; Tue, 5 Dec 2023 09:34:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoTSfvD8cFQUj1sETSuZxqePl0WUlsXbt42q4sUCQPTva6ctjGP+ZVja8SWKVkUcAHs+Gp X-Received: by 2002:a17:902:c085:b0:1d0:a96d:3278 with SMTP id j5-20020a170902c08500b001d0a96d3278mr2342637pld.90.1701797666158; Tue, 05 Dec 2023 09:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701797666; cv=none; d=google.com; s=arc-20160816; b=dzbBYPZOmY/fuZd2rRQayNorDXAdtsJZUjpEOtOHb233m9N3S8uF8ibENgLQAhk3Gn Dn2PFZt3AR35F+xyCsUe+K1JZ8QPhfViPRl0KZWRFc3Fimch890hzIALZP8ZUQ4sbtUM vqMqnMvwgOQTxWvU4XwVwD50WgXJurVRuG3IZt9zvkTy5BtUGgQYkB0ZjLZIf2+1iCIJ MElcqet7hOYRt4ihkALXkt9Gc+8IUrE8NICPzS/eL4mffwsKC1TIv6p1gxkjXOPWLcwn r9/d5IHtWWgKNdTz454AF6347/SAh9OvUpJ4kogjM504KkVjYjom27tS3Oul9IglIqZQ B4qA== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Lg9rk2bBS3KEXt7PHC7hgvUmJGgcsxPJ/w2bepRjO7o=; fh=33591bqn1xaHQ3rniackV4w2llCv0pyEtiMywpeDhYE=; b=1JF1OGCBvzS58XZRiKKqOHqmFXLQuTHtZ8q9Yh4coOUG+eJyE52WkwvnKTNoPKXi5w Cp9lyo9KU9g8E7lGZzKdW8zDkMvzCxXKtDcNY7OOvZebGtBnRdPK0VDXXWkK8dN5As+R JkQBQwcffctGu2apRygs0KWDKD0O1nekMkt059pBEO7EHEKHWhJoivNPmY4b8IMfalmy 2C8vI85vNgOIFkn8U67z/b5dHA3E799HZbWZ0dZI5h+B/RB31UzKkntUJ1EI0DefniuC iBzyLx8N7ITdaG9ouRNtDGlJOjsEAkEXErFICqrEYAJs7iSIqmHrwTwtM484vi0PAjK3 A9eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=osWCiv1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b2-20020a170903228200b001d09711b7a6si4048064plh.149.2023.12.05.09.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 09:34:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=osWCiv1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3FF2F81E1405; Tue, 5 Dec 2023 09:34:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346203AbjLERdx (ORCPT + 99 others); Tue, 5 Dec 2023 12:33:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346112AbjLERds (ORCPT ); Tue, 5 Dec 2023 12:33:48 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88DF2196 for ; Tue, 5 Dec 2023 09:33:54 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B5Gj2N5002956; Tue, 5 Dec 2023 17:33:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Lg9rk2bBS3KEXt7PHC7hgvUmJGgcsxPJ/w2bepRjO7o=; b=osWCiv1KE1vnkovnGsKIylVtfwRdEppBifgnP5S38LPhvYAfBH7jGid3NpBvMA/NCWFm LCEmnNCHJ4LVKLE5W5eSGuCpYWgWHkgsompiOQVTf7HF7NoKMmChLQdllHJRwF+/uSQX LvNscZzjTIA17FgXJTIyT0hcIfTuOt9mC/kUffQ7RmR2PLtbIn+z8ySbBGCNCVF8NcjV wNsYG0WF48pPvKogY9mkGswXfyVjjeAkTRdzP4g58PBy6ZV7PCB/LZz9qtUNDYqTnTtT XvuKWW75cDq++0nJjr5xSTjcMd4P6ZkPtz8WGZ2YrG+Mc85apL/SDeV1HttsG+W2VuCZ vA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usmw02faf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 17:33:33 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B5HXWLg003747 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Dec 2023 17:33:32 GMT Received: from [10.71.109.77] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 5 Dec 2023 09:33:29 -0800 Message-ID: Date: Tue, 5 Dec 2023 09:33:28 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Kunit drm_test_check_plane_state: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_plane_helper_test.c:123 Content-Language: en-US To: Maxime Ripard , Dan Carpenter CC: Jessica Zhang , Naresh Kamboju , , , , , , , , , , , "Linux Kernel Functional Testing" References: <20231204173536.51003-1-naresh.kamboju@linaro.org> <42d85b15-9ffd-4a08-b51e-a3367e57d128@suswa.mountain> From: Abhinav Kumar In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: D3PiGiOvbJnrwgPVR-o3XXv7mkveCrFd X-Proofpoint-GUID: D3PiGiOvbJnrwgPVR-o3XXv7mkveCrFd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-05_12,2023-12-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 spamscore=0 malwarescore=0 clxscore=1011 suspectscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=847 impostorscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050138 X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 09:34:21 -0800 (PST) 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, >>> >>> Thanks for the report >>> >>> On Mon, Dec 04, 2023 at 11:05:36PM +0530, Naresh Kamboju wrote: >>>> The Kunit drm_plane_helper failed on all devices running Linux next-20231204 >>>> >>>> ## 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_plane_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 >>> >>> I found the source of failure to be f1e75da5364e ("drm/atomic: Loosen FB >>> atomic checks"). >>> >>> Fortunately for us, it's already been reverted yesterday for some >>> unrelated reason, so it should be fixed in next-20231205 onward. >> >> Sorry, that's a bummer that these patches were reverted. :( The whole >> episode was a bit unfortunate... >> >> 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. > > That's definitely a communication failure, but that's mostly on us :) > > 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. > > So whether or not kunit tests would have passed, these patches were > applied due to inattention and would have been reverted anyway > > Maxime The patches were reverted because the corresponding IGT/compositor changes were not posted yet. We will re-try applying once those are accepted. 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. We will certainly help to fix this failure. Most likely the KUnit tests need to be fixed to allow for a NULL FB. 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.