From patchwork Sat Feb 4 03:27:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 52726 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1179733wrn; Fri, 3 Feb 2023 19:28:13 -0800 (PST) X-Google-Smtp-Source: AK7set9wprtF0ahf7/9e3bjc82xFB9+4sMZUuyBkd9BjGrP9GJdY2P42wlhh/tslUlWV0liNGIrA X-Received: by 2002:a17:90b:3141:b0:22b:b9f4:4ad1 with SMTP id ip1-20020a17090b314100b0022bb9f44ad1mr13442488pjb.34.1675481292957; Fri, 03 Feb 2023 19:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675481292; cv=none; d=google.com; s=arc-20160816; b=SJQZt29uKf9m3YzVFkdVNaYTsZpbVukfQPtVf/YDIAnctJSxF4FmYFMfBuhxbiamU6 OxGGHOAPeUnKm72syBJWt9Lrr8noA4Yg6tgiK7if8YyzER2pPh4js27sE6sdpQaKfQVj B2FcCsnoJe2m4m5+OPKjjHicSTx8Q3KsU2jXw04JsenDuPtNu7A0GeAj2iXgXrMy6NtL aOtw7TZBksKz+oi4wS9ZtM/MG4ruGEUTycKI61HyLHqgG0YCN0jhtSL8GwZHPEuGTB8w S/u6HRJ1Sdj+1BVb2nEOsiqXSriGVzHmUDTUkv/f/s0DY13DN3P92FBq7UOsqREC+oGC EanA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=FoOBybbVEq4nKcbNBz7lHZJ8Czql2ZLx6S2TZbuykFI=; b=Lpor/8e0n33fjafUsZfsNaPda8YY4W3K9DZera2hF0syahclSaRf+C4YU9hFozYU8J I6bP3ZnMgbFRDBWMfFwLcjz0j3opCvqwppL9HttS7TcKENRQH4GWgc0CF54KXLZ2hLcf KHczs/qBUPoiJE0DkPzOts1gGZ0WHczlBSLlBPhG5W0FhdvlEJUhJrDgfbWLlrlK0+0v 7tdD21eMQnzU4BZqaK3jpW8elwZjYzezQrEUL/cHUqMAG9YVnlpwL3zdV2/BFx8U7KaO pZpiqOf76q4g6Bm8zslZh8C0NSFMgKmfsIw1F4avAbr17wpYHChgVTvdSMmzw4dww+9N fpoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sfUGQXYs; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a637f47000000b004f1cdb85146si4308956pgn.872.2023.02.03.19.27.58; Fri, 03 Feb 2023 19:28:12 -0800 (PST) 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=bombadil.20210309 header.b=sfUGQXYs; 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 S230331AbjBDD1l (ORCPT + 99 others); Fri, 3 Feb 2023 22:27:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjBDD1j (ORCPT ); Fri, 3 Feb 2023 22:27:39 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EBA1BADD for ; Fri, 3 Feb 2023 19:27:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=FoOBybbVEq4nKcbNBz7lHZJ8Czql2ZLx6S2TZbuykFI=; b=sfUGQXYslsBr5DEQeDeBBallb8 XOimGQpxsOTxBuSGQjWFxwjQJBeQk4Ve3pydj/XMNjzq+0a5taWQufh7rfVR83wc6uLn/pCNJ2pfO dvrrcA2LaHwbAlzoyIP/BogJOuE9Sf8Wj+FTrmrSt79sdebhMStK93K0omNsjhsGrlQo4Q7kLDXjd X98wDA8IbTOU8eevqlEziJJyEEh2R2pw5/dmCfOeFMslThs+JNuF9mp5R02gPUJ3oYHMmyrWigzll emCoIztijo/x1+xM6t5UEknovi4x86TYGdCn+p7+HpkGRQKEOvLs7TeOfsGCphOqvdTzfNHT1q1rV mFTIvzpQ==; Received: from [2601:1c2:d00:6a60::9526] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pO9DE-004M4F-Ea; Sat, 04 Feb 2023 03:27:36 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , "Signed-off-by : Sung Joon Kim" , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/amd/amdgpu: add complete header search path Date: Fri, 3 Feb 2023 19:27:35 -0800 Message-Id: <20230204032735.22509-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756869472467765721?= X-GMAIL-MSGID: =?utf-8?q?1756869472467765721?= The path for the "mod_info_packet.h" header file is incomplete, so add its location to the header search path in the amdgpu Makefile. See on ARCH=alpha (275 times in one build). In file included from ../drivers/gpu/drm/amd/amdgpu/amdgpu.h:90, from ../drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:43: ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.h:62:10: fatal error: mod_info_packet.h: No such file or directory 62 | #include "mod_info_packet.h" | ^~~~~~~~~~~~~~~~~~~ compilation terminated. Fixes: 5b49da02ddbe ("drm/amd/display: Enable Freesync over PCon") Signed-off-by: Randy Dunlap Cc: Signed-off-by: Sung Joon Kim Cc: Alex Deucher Cc: Christian König Cc: "Pan, Xinhui" Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile --- a/drivers/gpu/drm/amd/amdgpu/Makefile +++ b/drivers/gpu/drm/amd/amdgpu/Makefile @@ -34,6 +34,7 @@ ccflags-y := -I$(FULL_AMD_PATH)/include/ -I$(FULL_AMD_PATH)/acp/include \ -I$(FULL_AMD_DISPLAY_PATH) \ -I$(FULL_AMD_DISPLAY_PATH)/include \ + -I$(FULL_AMD_DISPLAY_PATH)/modules/inc \ -I$(FULL_AMD_DISPLAY_PATH)/dc \ -I$(FULL_AMD_DISPLAY_PATH)/amdgpu_dm \ -I$(FULL_AMD_PATH)/amdkfd