Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1613582rdb; Mon, 2 Oct 2023 15:35:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKEZpBVyrPtXkDiIAzj/AvaLYv7eXtPOaWBOXVZAUF0SAW9T+aDI9MohtuHjuD2F1cguIU X-Received: by 2002:a05:6a00:3987:b0:690:1c1b:aefd with SMTP id fi7-20020a056a00398700b006901c1baefdmr13621304pfb.5.1696286110550; Mon, 02 Oct 2023 15:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696286110; cv=none; d=google.com; s=arc-20160816; b=RiRlaIzAYxNxOBZkLQjiNoT42YzrMdMVrwi96DviXwk5n6jSZRmE6dtlK7G1PAVDxq CgJSNSX4b1uOOofZelXcePqiF/SAD5yRDksQXnNQbIXcdiZKCL7Jq7/J2v6eGjf26Bjc Rr8u8YypD8Uix6gVH/v67dNhM4M7f1sFIHKTKhcrxHRJtNxiDosk2lHP8cawr9qK4THj XcYhw11jbYYhwARyXx+6FlWYgwAwg8mTJxA0WKfSU+OeiIEd+sEqWGPFJ2bi5nI4gdXO vhY/xEyld+B+YiwmswSdnyql/Xz+rJWV2jdv4eaZ6JJeO27UAMAJwsotlAJCmoqUPPBB jpug== 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:mime-version:date :message-id:dkim-signature; bh=cn6tOEOxdtKRvC53Ii7MWskHfS4eUSQaxlG7bIUWUis=; fh=8l1htix52tteCKwQlbaRQoXKxpbgcvxK5NCVrJYfuEE=; b=tHsnXjcQ5aOHfHRJdeHFj4ojT6F2jTFP5+TPkLnIMCmt/uYMQf1BuzoMJk/zsrbeL2 MibluIWy3GtaK4FEcTLUz6Teia6uSDJzR7+w2mVCmTivWG896QNQd8zL6IJ5wS51TgNe 2jUx6sxdYz5cIXuaHb2T8NOabIe2zY5Uxo69wv5x1sBwAwMbF12romJs54elRUBS51r0 s05NBwdIEg6dB2PhMhAfBMPGBddyGpy2eWXN4rFFo0/p2GOkY3Q+lRAs5XVNymu/+y2T nqzrwxjI6Ya2XrQDOBJ7O32qKNlqZzEuRtxQN8i7hWbS28P3lHY4JtlvAEfBwWyneDfr 4C8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=GbWRPlvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ct11-20020a056a000f8b00b0068ff659af62si27151992pfb.106.2023.10.02.15.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:35:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=GbWRPlvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6B7638083E6F; Mon, 2 Oct 2023 07:20:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237695AbjJBOUK (ORCPT + 99 others); Mon, 2 Oct 2023 10:20:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237623AbjJBOUJ (ORCPT ); Mon, 2 Oct 2023 10:20:09 -0400 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39080A4 for ; Mon, 2 Oct 2023 07:20:05 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4RzjlP2DF8z9sTR; Mon, 2 Oct 2023 16:20:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1696256401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cn6tOEOxdtKRvC53Ii7MWskHfS4eUSQaxlG7bIUWUis=; b=GbWRPlvxrf+nuu97U9qthoo5aXNNoldMkrPDVdu0g1uHl9tJnT9U8OQ8f6BEVWDgaE8Hy6 qJhUNpVEaX6BWB620oO8CpVFMQ0w9erQHOGktvCbArySygt/IKR0y4uIJW6suGU9SF740B f5nkZOG3wpnsoH+Haa/cvsxvVZkJuTRBuXZCUv4dqAep3ZF1Opw4bmUikzeY21rgx6/0RF A1IJYkJXeBPL4olXe4FHDE5mMUAGij74qJfTk8BC/lPtgVz6tIZBEptsHPYC6XtxqpKt7+ KVS4zo+cFdK9PfgnrTlT3v0LFvuKULmBNC6p0ehVYFhqZ6Gfq0cJ/BxFqzdTYw== Message-ID: Date: Mon, 2 Oct 2023 16:19:56 +0200 MIME-Version: 1.0 Subject: Re: [PATCH] Revert "drm/amd/display: Check all enabled planes in dm_check_crtc_cursor" Content-Language: en-CA To: Hamza Mahfooz Cc: Stylon Wang , Ivan Lipski , Leo Li , David Airlie , Qingqing Zhuo , "Pan, Xinhui" , Rodrigo Siqueira , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Alex Hung , =?UTF-8?Q?Michel_D=c3=a4nzer?= , Aurabindo Pillai , Hersen Wu , amd-gfx@lists.freedesktop.org, Daniel Vetter , Wayne Lin , Alex Deucher , Srinivasan Shanmugam , Harry Wentland , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20230929204120.120795-1-hamza.mahfooz@amd.com> <2a8ebf1a-0d74-e068-6d68-de0ecae9bdf1@mailbox.org> <39342931-1716-bf53-62d7-613b1191f60a@mailbox.org> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= In-Reply-To: <39342931-1716-bf53-62d7-613b1191f60a@mailbox.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: fc988c79e82e16c7df7 X-MBO-RS-META: 8kkgszj8cx6m9h1ctpw95a6117q4df6d X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:20:25 -0700 (PDT) On 10/2/23 12:48, Michel Dänzer wrote: > On 10/2/23 12:05, Michel Dänzer wrote: >> On 9/29/23 22:41, Hamza Mahfooz wrote: >>> From: Ivan Lipski >>> >>> This reverts commit 45e1ade04b4d60fe5df859076005779f27c4c9be. >>> >>> Since, it causes the following IGT tests to fail: >>> kms_cursor_legacy@cursor-vs-flip.* >>> kms_cursor_legacy@flip-vs-cursor.* >> >> Any information about how those tests fail? Maybe they accidentally rely on the broken behaviour? > > I was able to reproduce, that doesn't seem to be the case. They just rely on multiple legacy cursor ioctl calls being able to complete between consecutive flips, which I suppose is broken by always pulling in non-cursor plane state with any cursor plane state changes. > > I'll see if I can find a better solution. Meanwhile, > > Acked-by: Michel Dänzer > > for the revert. Alternatively, here's an incremental fix: https://patchwork.freedesktop.org/series/124527/ -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer