From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B56951F03DE for ; Fri, 22 Aug 2025 21:14:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755897257; cv=none; b=NLLBb4YmfSgn/3N0whAgD27MMGqKDXRvzwmJ2jgfLSaYRlHjL4p3hfMMsEr9iQDbvQWN0EvMhCcW37m/hliHwk4H1LsEKmC3WAXWW162HVULWQQKILL2SgJq2syXXNGtPbRk9cFn+OGSXJ+vFQErSPzHixPaOsNvfJWeAxedEuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755897257; c=relaxed/simple; bh=SUODiX3PEP0YteZeTBND9JDx9lv8ES1Apf1YUhokTWM=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=i42VwthspcUaXHozCDJe6bPeRdo/f4sQHzYyVYVC++LqQmrludhvhbq2g4wUiJrod/kjVWj0BoH2gGen4xJYmn3FUU5NmE6PwaMqafHEecmTdFuLm8OUANmiby9EOzNUtQtNx9XfgBnmR64/lVRIx7KRD+M58+9Ve77NaOSawlE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iUVFX2eU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iUVFX2eU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC99DC4CEED; Fri, 22 Aug 2025 21:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755897257; bh=SUODiX3PEP0YteZeTBND9JDx9lv8ES1Apf1YUhokTWM=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=iUVFX2eUJmagt6E5Fsim3zhCDYLX1diTczATuvakk2dwk1dNKfGt808Qld/GTf/UM F6mjnD2MDF2VHGx1Cd76LwTjt6w1KUUCOnCNFnNfMGwdEO+lnVGHcB0XwYPXfpt6f5 k+kFDH7nSzdQ290E23HZFIlzicOB2qx8TR8m2WIT84Z04cA2e5h+A5iehVZBUBIhIh PnAsFC3lkA8JCAmBbO5s5b99Qdo3l6J0kEZVej4pEWrYVKSE5CSVhjkaOIivTaDj6h CgRxAgISTJdbCZc0xgrYKOFoth8zEQ1L0Wdr0yHSlc9pdrk78IfX1wNKAQn2U5VAcF ifB9jFV2Rk0XQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 22 Aug 2025 23:14:14 +0200 Message-Id: Subject: Re: [PATCH 2/3] drm/nouveau/disp: Always accept linear modifier Cc: "Lyude Paul" , "Faith Ekstrand" , , , , "David Airlie" , "Simona Vetter" , "Joel Fernandes" To: "James Jones" From: "Danilo Krummrich" References: <20250811220017.1337-1-jajones@nvidia.com> <20250811220017.1337-3-jajones@nvidia.com> <69bd369e-ceae-490f-8f14-28a2a8e874bc@nvidia.com> In-Reply-To: <69bd369e-ceae-490f-8f14-28a2a8e874bc@nvidia.com> On Fri Aug 22, 2025 at 11:11 PM CEST, James Jones wrote: > On 8/22/25 13:55, Danilo Krummrich wrote: >> On Tue Aug 12, 2025 at 12:00 AM CEST, James Jones wrote: >>> On some chipsets, which block-linear modifiers are >>> supported is format-specific. However, linear >>> modifiers are always be supported. The prior >>> modifier filtering logic was not accounting for >>> the linear case. >>> >>> Fixes: c586f30bf74c ("drm/nouveau/kms: Add format mod prop to base/ovly= /nvdisp") >>> Signed-off-by: James Jones >>=20 >> This issue seems to be present since v5.10, what's the implication of th= is? I >> assume this has to be backported into stable releases? >>=20 >> Does the subsequent patch break strictly depend on this fix, or can it g= o >> separately? > > Without this fix, the next patch breaks linear modifier use on=20 > Blackwell2+. In my testing, that meant fbcon was severely corrupted (In= =20 > a manner that suggests it ends up with a block-linear surface rendered=20 > to as if it was linear). > > Yes, it has to go back to a fair number of stable branches to fix=20 > similar issues on pre-fermi GPUs, though oddly in my testing=20 > before/after this patch, fbcon came up fine on my NV50, so the effects=20 > might not be as severe there for some reason. Ok, thanks! This sounds like we should apply the fix, backmerge the -rc it = lands in and then merge the rest of this series. - Danilo