Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3686363rdh; Tue, 28 Nov 2023 00:31:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCTYxSrN5paHICIgiNMICahpSC70DMjzSYXhaBUl/krU1/MhyWlRynGlQ74o3umW4dvWii X-Received: by 2002:a05:6a21:6d95:b0:18c:9705:47cd with SMTP id wl21-20020a056a216d9500b0018c970547cdmr7389424pzb.52.1701160297013; Tue, 28 Nov 2023 00:31:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701160296; cv=none; d=google.com; s=arc-20160816; b=jsAF4HCsiC8YqqA9j9UT0K/Y6h8TQF3fOJ6/IKxtEUuga4yEHDG8LTDJRKsmTduUpO C1rb/qx56wRqf1j5Kz1z1N2irqA6BUNWkcK5FbqQHNqMnPH5HhGXBeugRpZMfOIHD4J9 rytmhh3V7oYVPGWhBJJB9wvkJgxXKof82h+LBputYzgQEN/yL+d5zHzwOnz9bHA+x9g/ tAhmOlnDG01kauJQIG0AGEVb0NXPMdk1/81z5/1CD2IItl80Cmj8APiJQ6E8rDIqC7hY WWXBs2uqF+JicVRjRE7Oe9FGc+TLoqfrMVfnMnd1+5mcwUU6ItyM+7h6sejLsowJwjVA bogw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=L7AmgVOlMsDs2rlXKaikXpg/UKPEooDKmqbJHl7oGAY=; fh=g9fIkis/X0OSHu72+7LTqlEau1m1VcNe8BKj31lrHvM=; b=FDnaiBlFPD8jHdmb0JVe73fS4WrtYk6K1oxcYLy8BGbgpYI6ZW2dldVbhGNV9el0xU IDksbelzAEie8XfKlJWQma5zrvgxNaw6JNI4uG8pe3jzCHOoZIBBp+OTK9N3GnGIJzF6 QUm3E5lVDOkN8J3nvM0vU/tn8NvO4NKgwJblU7fl76LnFjvs0r6b/l30499e6C5ce/ko s4WFs3+ZIvMgzK5B4YqNrU5NqBJ3ryBlluzkSZjk5Izey5Vhrh/4PiAIf3RABJ2bCHCt r/6Ml4E/veoeMyGscNAF2npMbThJj2/Q63d8u9BEAaNrsSYPOezP82tqhXCuE+byVL4/ tbhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id q3-20020a17090311c300b001c88fc3c593si12104505plh.560.2023.11.28.00.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:31:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 97B0F80597BB; Tue, 28 Nov 2023 00:31:04 -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 S1344136AbjK1Iao convert rfc822-to-8bit (ORCPT + 99 others); Tue, 28 Nov 2023 03:30:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344131AbjK1Ial (ORCPT ); Tue, 28 Nov 2023 03:30:41 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E7FB10A; Tue, 28 Nov 2023 00:30:44 -0800 (PST) Received: from i53875bf8.versanet.de ([83.135.91.248] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7tUD-0002DK-Ck; Tue, 28 Nov 2023 09:30:29 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Andy Yan , Andy Yan Cc: hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, sebastian.reichel@collabora.com, kever.yang@rock-chips.com, chris.obbard@collabora.com, s.hauer@pengutronix.de Subject: Re: [PATCH v2 04/12] drm/rockchip: vop2: clear afbc en and transform bit for cluster window at linear mode Date: Tue, 28 Nov 2023 09:30:28 +0100 Message-ID: <15178289.EVyyLHbfrO@diego> In-Reply-To: References: <20231122125316.3454268-1-andyshrk@163.com> <3927498.QCnGb9OGeP@diego> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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]); Tue, 28 Nov 2023 00:31:05 -0800 (PST) Am Dienstag, 28. November 2023, 09:03:46 CET schrieb Andy Yan: > Hi Heiko: > > On 11/27/23 23:02, Heiko St?bner wrote: > > Am Mittwoch, 22. November 2023, 13:54:25 CET schrieb Andy Yan: > >> From: Andy Yan > >> > >> The enable bit and transform offset of cluster windows should be > >> cleared when it work at linear mode, or we may have a iommu fault > >> issue. > >> > >> Signed-off-by: Andy Yan > > I guess same here? > > > > Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver") > > > I'm not sure if we need a Fixes tag here, in fact this issue never happens on > > rk3566/8 , because the cluster windows of rk356x only support afbc format, > > they don't have a chance to switch between afbc and linear mode. > > Of course, the lack support of linear mode of rk356x cluster windows is a thoughtless > > of IC design, if it really support both afbc and linear format, we indeed need this fix. > > The situation is the same as patch 03/12. > > So I hope follow your advice, if it need a Fixes tag here. ah ok, thanks for the explanation. Then I guess we don't need a fixes tag when the rk3568 is not affected by this. Same for the other patch. If you're re-sending you could add this information to the commit message though. (existing support for rk3568 only supports afbc cluster windows and is therefore not affected) Thanks Heiko