Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2C86C46467 for ; Mon, 16 Jan 2023 22:34:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F0AC910E500; Mon, 16 Jan 2023 22:34:36 +0000 (UTC) Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4895610E50F; Mon, 16 Jan 2023 22:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=E7C7tYNLE3lV3jdPU+8p0yYbyDO/5dn3cCY4IF7ooz4=; b=jpX/8HIyM02JnnciQygamDxSSO wURaMf5J0bemTIo1YrHasf/l5CQyEQ2LGGTqqcu6Hb6TPeXITt3kNdwonEIEDy4vAa/x3i0nSZver zUb3jtLCPzVa6RbCNzfu5KnpAorAUfTAojy/0atrppuP2eJ/AvWqZDmKnU/KUxlq1+wRwitdsWSIm CFVTE9zQiRcTq4wZKYH3QBS3WJpoqZFaT9huxQYCRdl9gP8oXGUBJWPGve9ubr71zyM1PpZYKPN7A m80hO/PHHlwWWP0wewwBZuL/AWgF8m8GTj0qDFfIdsJ4UqEvFIGqvM51nxAfGXHJHdyIa9+WKQ249 j7G/qK6g==; Received: from [187.56.70.205] (helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1pHY3i-00AAm8-Ow; Mon, 16 Jan 2023 23:34:31 +0100 Message-ID: Date: Mon, 16 Jan 2023 19:34:19 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 3/3] drm/amdgpu/vcn: Add parameter to force (en/dis)abling indirect SRAM mode Content-Language: en-US To: "Liu, Leo" , Alex Deucher References: <20230116212004.860968-1-gpiccoli@igalia.com> <20230116212004.860968-3-gpiccoli@igalia.com> From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Lazar, Lijo" , "kernel@gpiccoli.net" , "Pan, Xinhui" , "dri-devel@lists.freedesktop.org" , "Jiang, Sonny" , "amd-gfx@lists.freedesktop.org" , "kernel-dev@igalia.com" , "Deucher, Alexander" , "Zhu, James" , "Koenig, Christian" , "Limonciello, Mario" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 16/01/2023 19:27, Liu, Leo wrote: > Secure part requires PSP load VCN boot sequence which is with indirect > sram mode. > > Regards, > Leo With that said, and with the plans of just setting the indirect sram mode nevertheless (with no switch/cases anymore - I'll submit the V2 tomorrow if everybody agrees), does anybody oppose to have this parameter for debug reasons? I first considered doing through debugfs, but obviously was a (very) bad idea, since this should be an early boot tuning heheh Cheers, Guilherme