Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp846217iog; Wed, 15 Jun 2022 13:46:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vq+ePq0gNUbvX+IknBQkMkbwoaypeuNx1cQeHCv8fV8aGzXM7BD1/N5kr2FLNTNZqfrHvG X-Received: by 2002:a17:902:e742:b0:168:bd3e:967f with SMTP id p2-20020a170902e74200b00168bd3e967fmr1365441plf.116.1655325969007; Wed, 15 Jun 2022 13:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655325969; cv=none; d=google.com; s=arc-20160816; b=fC2XqrB/uTFnzH6JMhKwRHvkCV49Y2KawH89/wgLKx6fA2lgNYPCxrbjA3mMtZmU3J CdicxY6UQhK5fet+1b5SYSEwob05V9QnWNws5PkyOth9vOsT88HGyuwrEd/BIg+fWPFa 3ceRpo4uYPpBTvYE9BnmtSEplTrdpGp66O7SiXp7QNuEWJnfdGdKYLu626RGoUN3t/cQ c4Fc1/m+n+7Yk0Jac2ubRH8sgM8HT42DLDJ0g5+f7H9LMH9ybkA0bsrwNxWn4w46qNlz mHN31kAjlsjK4NX7Mk2u3n0mLOjiilwzYeijMrMOkSLDUBpUncAW0jKdlYJ0ZCMAr6E7 IUjA== 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:user-agent:mime-version :date:message-id:dkim-signature; bh=ZyYyezCf/BUfWvp3SS0tJHgG622dktRJVLjhG8Bed+o=; b=tXn1iKlhMq7G9IePBClWkacgqtKtqwjkVp+CF896Jhmy/NHlogCpRRDtz+4GVjWzG4 XIfv1fxSg/owhDGFVc7lyHP2PdjZDD7ums3MdMVk7UgQ5jgzI1QFhVBW7yA5gjPu53d/ SPhmQWBNU51DSgm1QQPpqk+Yzl25e01sw6Ib94C4b3eqmpW4T/REgxgwbONQF7S2hm8S QduL5IG7qUODGkjjCaDK49cvgdkLrG5WuestapwcjzqvOnE9wPjb4PFnlH40uqfSagHC H+qLlHbMHp6TW7c93eqDg0bgybk6McvPPYVvjD4+9cWo95thM5PsuJoeM1TqNlJ8Zc6K nnuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=t6FThO6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a056a00198e00b004fe3a6ea856si195460pfl.176.2022.06.15.13.45.57; Wed, 15 Jun 2022 13:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=t6FThO6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345493AbiFOU2K (ORCPT + 99 others); Wed, 15 Jun 2022 16:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345400AbiFOU1x (ORCPT ); Wed, 15 Jun 2022 16:27:53 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66D6012D17; Wed, 15 Jun 2022 13:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=ZyYyezCf/BUfWvp3SS0tJHgG622dktRJVLjhG8Bed+o=; b=t6FThO6AzVoLedjjG9EdaVxiL8 5ktznfR8LrGVb+WtjLEaRaSPViEyhNC143ZMJFCtlJU/zT8amLEUnucDXb5ENS3H59PTNZquZ+Fa0 Is9l/e4AR6SHp6qzDScX0ZF6rhkdzRYxnXopaTJJqarY/3hxC1JpEYI6HfNyUs0JZDGVaLrfDCgjL Xrik5yF6YlY/KX1BghnObD0aBBV5lrK67UbASiGXgXRRIYKnDPFFhCogrUGjxL1rAXm4BfLjVqgDF y5W+Dy2xB9h3n7h9dGbkBZMLsRtaePaC9ZFF3Oix9dr+tNqYL4zOzRYGsXKeZYIozG36zzYg4Jz0e JleW347g==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Zc6-001Ldf-Hc; Wed, 15 Jun 2022 20:27:42 +0000 Message-ID: <3581d1bc-9442-c3e6-7fbd-c7a7a691a839@infradead.org> Date: Wed, 15 Jun 2022 13:27:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: linux-next: Tree for Jun 15 (drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c) Content-Language: en-US To: Alex Deucher Cc: Stephen Rothwell , Linux Next Mailing List , "Pan, Xinhui" , Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" , amd-gfx list , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20220615160116.528c324b@canb.auug.org.au> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 6/15/22 13:13, Alex Deucher wrote: > On Wed, Jun 15, 2022 at 3:44 PM Randy Dunlap wrote: >> >> >> >> On 6/15/22 12:28, Alex Deucher wrote: >>> On Wed, Jun 15, 2022 at 3:01 PM Randy Dunlap wrote: >>>> >>>> >>>> >>>> On 6/14/22 23:01, Stephen Rothwell wrote: >>>>> Hi all, >>>>> >>>>> Changes since 20220614: >>>>> >>>> >>>> on i386: >>>> # CONFIG_DEBUG_FS is not set >>>> >>>> >>>> ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function ‘amdgpu_dm_crtc_late_register’: >>>> ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6599:2: error: implicit declaration of function ‘crtc_debugfs_init’; did you mean ‘amdgpu_debugfs_init’? [-Werror=implicit-function-declaration] >>>> crtc_debugfs_init(crtc); >>>> ^~~~~~~~~~~~~~~~~ >>>> amdgpu_debugfs_init >>>> >>>> >>>> Full randconfig file is attached. >>> >>> I tried building with your config and I can't repro this. As Harry >>> noted, that function and the whole secure display feature depend on >>> debugfs. It should never be built without CONFIG_DEBUG_FS. See >>> drivers/gpu/drm/amd/display/Kconfig: >> >> Did you try building with today's linux-next tree? >> (whatever is in it) >> >> I have seen this build error multiple times so it shouldn't >> be so difficult to repro it. >> >> >>>> config DRM_AMD_SECURE_DISPLAY >>>> bool "Enable secure display support" >>>> default n >>>> depends on DEBUG_FS >>>> depends on DRM_AMD_DC_DCN >>>> help >>>> Choose this option if you want to >>>> support secure display >>>> >>>> This option enables the calculation >>>> of crc of specific region via debugfs. >>>> Cooperate with specific DMCU FW. >>> >>> amdgpu_dm_crtc_late_register is guarded by >>> CONIG_DRM_AMD_SECURE_DISPLAY. It's not clear to me how we could hit >>> this. > I was just about to ask what the paragraph above means. It was confusing to say the least. > I was able to repro it. In linux-next the > CONFIG_DRM_AMD_SECURE_DISPLAY ifdefs in > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c seem to be missing. > I guess they were lost when the amdgpu branch was merged into > linux-next. The attached patch restores the > CONFIG_DRM_AMD_SECURE_DISPLAY protections. OK, that builds for me. Thanks. -- ~Randy