Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp430494pxb; Thu, 14 Jan 2021 09:15:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFtHgrzeI/CptnGSHM1Y3IfGEso9bszWZulxHqTaNVnBcrwsJT+Yis8+TpaJsA8VdIguxq X-Received: by 2002:a17:906:c349:: with SMTP id ci9mr4814025ejb.198.1610644503766; Thu, 14 Jan 2021 09:15:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610644503; cv=none; d=google.com; s=arc-20160816; b=q23iQx9WIFEwJi8OxuvSij9spUznarOVEoAEENwGMIExydz2nZyRxDXkNGVhANUZLN wknc5T208D5H129vmQcQCqVA8m2dxIiyiY9mZmLu2QTc6q5yCdkZ182RelAftyxi7wSn oi2cJBMAZBdVfs+1l4PDY8FbNp7oZz53rjbO6S1Na8qrTpG3D3FIGvYFT6kKPlpccxT9 dPaOJO2cSU69UYHQH82k2ETFtw9GjpxvWVxXSm2/u+FzQeK9cwCLE/E01Y8TWX0ZMH72 xQ7ePNuvQMDllmnnfbuQv5cdPElh/Ve9wRmqcHhHuh15ZDHbDZAvr1/m7vIXNaszmMyS nOqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=y5nzwxmDDL8KoR6FUdEDHJ+6iXx4WrUEgeA2us+HBBg=; b=dk2Y39ewLLWLDTGTffsbyQTDffkKtfwKBOtQoZT6TopqSsrwB3u2YKf18AqnxCHj/y 9qmP3/6US24pij3fOKbGGOHfqax6DACkqW0q9td7nd7vlgElef2euANUN+Gx5z/hZQL0 a2MAjl6erpfkX49KtQ5/pu6rXWjtFFm3xN+Bo9FNK9338+jU4Q+E+Do5NCDpYLp54soR LvHyV1Kcn5DuqLD5ATnLu/F80HtPjAjpEflSGW9A5+Kn0yC9pc/46QGkq9OR07vRF8aC T2NDhVAcA3yLraH5bIjeE1Y6DUY3R8DzRpfkyCBOGPsAfffbtPU/jnkjrZnUPCm7OW0a T4Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JnACE68n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r13si2844071edc.254.2021.01.14.09.14.39; Thu, 14 Jan 2021 09:15:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JnACE68n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728134AbhANRNY (ORCPT + 99 others); Thu, 14 Jan 2021 12:13:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728033AbhANRNY (ORCPT ); Thu, 14 Jan 2021 12:13:24 -0500 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19509C0613CF for ; Thu, 14 Jan 2021 09:12:44 -0800 (PST) Received: by mail-oi1-x229.google.com with SMTP id s75so6655094oih.1 for ; Thu, 14 Jan 2021 09:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=y5nzwxmDDL8KoR6FUdEDHJ+6iXx4WrUEgeA2us+HBBg=; b=JnACE68nragtnK2wSws6wgqbx1u3nM2KwBgQMrbZf0m/eZPqP2M/pvzXXw16i/trnb 2gVO5SJ+p1B1x2MAcRhOX4vBcirxMCHg2S6AgnP3H6cCsa/3v3NDfEQR2gzdPww5eamn gCTdD5CRGKPq/eSr+Qpnw/pNpnuKPOirgI5o/VMOvcC4hB7NFnscHxAL5t75EvKwk3RP BzuRYqsRPCDYATOyDWdXFoHeM7GmABNqPRAyVial0p4QBa3pw4adafd/75jzkkLfu3xL er0N4yszk8zLG1IvpwGh9wlEWo0NWJgxv3l+g/eEkoVyAd+3qBFzNrwG+LIvDSWx+96m mfHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y5nzwxmDDL8KoR6FUdEDHJ+6iXx4WrUEgeA2us+HBBg=; b=SNd8o6fRcsM39yOaLlZPbywHlfYivuP7mAO8L8jHy3QcazxIyLEmc/xoOsQeX0VqWU P56rLRwtZwuHAkNKyDAkFV8ubtD75O4JgumpvHVmk5YT5Esh2xoJbj8dzaLlRiSjyckY LEUkFnJRChAoIkjpg3OeSTv/xqYsRBnz0sdUUfetavmaz62Fuejv8Ar7/syc8gAMsdvI EP6AAc5dPPVwTxXcopP4w3qz4lpQbWvcMxU8LHIyMVNfesj2DYH3l00bDhoz0bcJwqwi GM7zZ6iN9+kqo2Aa5ONbKpK2wNes8DqtPhT0acuxWjxSo3M6QkPrw5v9MowDV4VotMdL gQ0w== X-Gm-Message-State: AOAM533hL0keubFPh6JVGJUd70Z6zA+nDbXyTbxs2JyznICTj17nic+L KYArZj9+qJy1LwsE2lmjrh7xfFIE3BW9IEtFSqnua8b2 X-Received: by 2002:a54:4083:: with SMTP id i3mr3125212oii.120.1610644363569; Thu, 14 Jan 2021 09:12:43 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-13-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-13-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:12:32 -0500 Message-ID: Subject: Re: [PATCH 12/30] drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes To: Lee Jones Cc: Leo Li , Anthony Koo , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 13, 2021 at 3:08 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dc= e100_resource.c:54: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3:= note: in expansion of macro =E2=80=98MI_DCE8_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3:= note: in expansion of macro =E2=80=98MI_DCE8_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3:= note: in expansion of macro =E2=80=98MI_DCE8_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3:= note: in expansion of macro =E2=80=98MI_DCE8_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2:= note: in expansion of macro =E2=80=98DCE10_AUX_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2:= note: in expansion of macro =E2=80=98DCE10_AUX_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2:= note: in expansion of macro =E2=80=98DCE10_AUX_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2:= note: in expansion of macro =E2=80=98DCE10_AUX_MASK_SH_LIST=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:889:16= : warning: no previous prototype for =E2=80=98dce100_add_stream_to_ctx=E2= =80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:916:16= : warning: no previous prototype for =E2=80=98dce100_validate_plane=E2=80= =99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:925:24= : warning: no previous prototype for =E2=80=98dce100_find_first_free_match_= stream_enc_for_link=E2=80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:1156:2= 3: warning: no previous prototype for =E2=80=98dce100_create_resource_pool= =E2=80=99 [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Anthony Koo > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/dr= ivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c > index 648169086bcf8..635ef0e7c7826 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c > @@ -58,6 +58,8 @@ > #include "dce/dce_abm.h" > #include "dce/dce_i2c.h" > > +#include "dce100_resource.h" > + > #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT > #include "gmc/gmc_8_2_d.h" > #include "gmc/gmc_8_2_sh_mask.h" > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel