Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp148552rdb; Thu, 30 Nov 2023 00:27:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFT8u2e4ulgjpI5iY6wg1vZng06961iCeTGFYFFm/46QIrHCf8MUNdJryXHD8fDyHKD183 X-Received: by 2002:a17:903:244e:b0:1cf:de3e:e4df with SMTP id l14-20020a170903244e00b001cfde3ee4dfmr12592758pls.58.1701332848632; Thu, 30 Nov 2023 00:27:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701332848; cv=none; d=google.com; s=arc-20160816; b=eCGyyBDTF3NXQpdswrgk8vkh6w3/z+7pLnj+vBSDdyySwlyAVTfxgHdwVG4fVL33SI Mxo8uxGl1SYGHO+fS1byjLPn6R5Zxq+9lJWnd3SJZlwAM4aGsU5doyy0a4KdGGZ0OYoe 3eMQJEg0rbGzbwrMu2wv4OqFtoSWZDxOuyS9a/gwxpxHgVaftrgmRMnx3sT33O8Quu4p rr4+CcUUmYIY9Gkg+xmaNy7dX6q3x41Hh4CmerXbUgjMg3htk1qjdhKjL8rqGKMf4vzF FOlGAGc7Fp7ILNsQo5ydhh/4IDz4O698jejOFPTzt/XPCfndQ7KeoHFsnADdKkFH+Tna k2SQ== 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=AVPr5QEXIbplSm1/AOQkNsZ7+EYuGbAVBfNp5Jit/NU=; fh=B0yK3FYql7jMQa89z/Vhr9izQfTt8OzElkgUmEZI9iI=; b=pof+oEtXslxGazdBiWAF96CcYsbxygCqs458i+XikZVIY/3bVCGPHo4e0ypUzM99VF B97zej0xhEb4Iw+vZoLXzt1dNcLjTQOR2fxbgRLYGHZngp1DEePN30CjOqJki3RstvUI qgtY/1rHPCFnSawvoDWzDgnpUnAZPQBj6v0mlBmEXunMUdAnHzKVRX6CSzGs2xQPTmem DQh9SIBWsWms4HAsvnMSBEZojqKjTBMsazA3Uk0+vdX9ktpklrfOE+IRoP+Qp+Zswz3T KN16VFGbZ16zvGx+1vOWsYe6h38s4t2AZhUU/9SU2wN0vrjyRIU9sjYVuhrPNF0fD0IL NjAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqeemkyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id v5-20020a170902b7c500b001cc47d6f4absi724752plz.107.2023.11.30.00.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 00:27:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqeemkyz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 34322802A03C; Thu, 30 Nov 2023 00:27:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231753AbjK3I1K (ORCPT + 99 others); Thu, 30 Nov 2023 03:27:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231742AbjK3I1B (ORCPT ); Thu, 30 Nov 2023 03:27:01 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DA7910C9 for ; Thu, 30 Nov 2023 00:27:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 496A1C433C7; Thu, 30 Nov 2023 08:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701332827; bh=AVPr5QEXIbplSm1/AOQkNsZ7+EYuGbAVBfNp5Jit/NU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aqeemkyzYxzUb4DFNt2IWN1M7NTo6NHpsb6fmEMKF5RNEs0zSQcWF0XuIsKeh8rBN uX2c9fmeIj8te8eqWuWR87eu1mui3sw39O8gOFlPJjRNSfEbJE3ySBHYB9CoYRgwtj dDe8W3JSB/jjeceJ3IrgsKqG3zEwdcgM+7T1bGSr+5Jz5BZh9AvqS7p5P8PmK2dYIF kOK8KVyqmFHSfHN8AmqlLEWbTCZQHBKNgVT/FMwbRut6xPw2cvS3M3chktTgBgGII+ nBte7sYXta9WJo/pI8UpDWysdPpiMiTXDN5wuVdbp/YAzJFH55HzFwYAq0bYThrUDW GS9CbVx35kW+w== Date: Thu, 30 Nov 2023 08:27:01 +0000 From: Conor Dooley To: Nathan Chancellor Cc: Conor Dooley , Samuel Holland , Palmer Dabbelt , Harry Wentland , Leo Li , Rodrigo Siqueira , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher , Pan Xinhui , Daniel Vetter , amd-gfx@lists.freedesktop.org, llvm@lists.linux.dev, arnd@arndb.de Subject: Re: [PATCH 3/3] drm/amd/display: Support DRM_AMD_DC_FP on RISC-V Message-ID: <20231130-pellet-parted-4c3854bda573@spud> References: <20231122030621.3759313-1-samuel.holland@sifive.com> <20231122030621.3759313-4-samuel.holland@sifive.com> <20231123-headdress-mold-0dd7a74477f7@wendy> <20231130004224.GE2513828@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="skPAiwM3XKXsb30B" Content-Disposition: inline In-Reply-To: <20231130004224.GE2513828@dev-arch.thelio-3990X> 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 30 Nov 2023 00:27:25 -0800 (PST) --skPAiwM3XKXsb30B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 29, 2023 at 05:42:24PM -0700, Nathan Chancellor wrote: > On Thu, Nov 23, 2023 at 02:23:01PM +0000, Conor Dooley wrote: > > On Tue, Nov 21, 2023 at 07:05:15PM -0800, Samuel Holland wrote: > > > RISC-V uses kernel_fpu_begin()/kernel_fpu_end() like several other > > > architectures. Enabling hardware FP requires overriding the ISA string > > > for the relevant compilation units. > >=20 > > Ah yes, bringing the joy of frame-larger-than warnings to RISC-V: > > ../drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_= 32.c:58:13: warning: stack frame size (2416) exceeds limit (2048) in 'DISPC= LKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculatio= n' [-Wframe-larger-than] >=20 > :( >=20 > > Nathan, have you given up on these being sorted out? >=20 > Does your configuration have KASAN (I don't think RISC-V supports > KCSAN)? It is possible that dml/dcn32 needs something similar to commit > 6740ec97bcdb ("drm/amd/display: Increase frame warning limit with KASAN > or KCSAN in dml2")? It's from allmodconfig, so yes, I think so. --skPAiwM3XKXsb30B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWhHVQAKCRB4tDGHoIJi 0ktTAP4zJtbMBMKEDeq0u/9g0c5SQ8z5cOnNzWWYN7sZHhwFyAEA8RLHzYprTbaE YZSEx6U8yszQOIViwBKWPBZ/OyRTWAo= =98lz -----END PGP SIGNATURE----- --skPAiwM3XKXsb30B--