Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4022778pxu; Mon, 30 Nov 2020 15:56:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBqkFKPUPSnWFg7M3fIqW1sNIQbm48waOpe6C/5MxOAMESTOjNDJX5aCTs0AmRDZLzjiML X-Received: by 2002:a17:906:a85:: with SMTP id y5mr305520ejf.296.1606780604698; Mon, 30 Nov 2020 15:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606780604; cv=none; d=google.com; s=arc-20160816; b=s7garL8nQwrpQC3p07V1h81q9FqkuWM5skbVZ7sDo3iW98KfhTgtaf5ha92FzqKD6d a+dNHHcKTIlOQx6to0vHrLdiZJdE85mZ8+Mp77+5NQZ2ZaS8aW6oJJqNvL6/AwyPxkI1 Fz0NvpWLMD91fVTM+MQZZz3hfm9+gWtQ5ZgKA8LP6Y079mIBPCxit1XzeWgTP5SuiiQK wgjAD896qyqq9WiE8w2kgyguG0rZIfpQCUOa5FLqmCMVAXKI1hRVU/WcuYXiajsOFwed c9USKbX0M3J4ZUwuJYpUMeRfVDUKOpcPtO+z0iXiirB78VU4/v4uHNNBkWiuH9tS1Xoi 7hqg== 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=2ca7PVpfytP1aPxU/j7JaxFmM8F00V9fbvYGUUacr9k=; b=BgBR1yq/Le2oZqYwH4bIWWXQ/KXatBctHEcBrzEnOhFdhznlep/iCZLTU27WjNJDph /+aHo9/tipkSpGtEmnSURVJRGif0au2RX4Sjfb2dreOUtWIsh/l5mLwusJnc8/IIS8Hh pZ2f8exxu5WWQL8yYE4ENUr2PmmrbdMek5w5J2j2ttUcq073mzxFXTfIuZpTpVNlg3KV iaN5UqwShZtPqFb4jaoW88FH+koqBqaoM7KA82Gu/Vj+RxgAi4XAeTqM8vvXm7TjvmVt 1yT/9Oox4DiboQL1gZxh1gUiUwJWQz0IwHGubSUxi29r4w4nTU4HkNCHumx7JfBfWN6r ZLTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ttnDYv3O; 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 w5si17404edi.111.2020.11.30.15.56.22; Mon, 30 Nov 2020 15:56:44 -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=ttnDYv3O; 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 S2388979AbgK3Xvk (ORCPT + 99 others); Mon, 30 Nov 2020 18:51:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388889AbgK3Xvk (ORCPT ); Mon, 30 Nov 2020 18:51:40 -0500 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0000C0613D2 for ; Mon, 30 Nov 2020 15:50:59 -0800 (PST) Received: by mail-oi1-x243.google.com with SMTP id j15so16222107oih.4 for ; Mon, 30 Nov 2020 15:50:59 -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=2ca7PVpfytP1aPxU/j7JaxFmM8F00V9fbvYGUUacr9k=; b=ttnDYv3OBicGp7V380L+l24bkmTquhvYef/qfRDSGKWmiY+SU7cvfUHG2Y++y+zFWz WnXKyBGE9yXnU/2/EVgnUcNjOjfXcFqjjUezT+t8QqOCJ7ZGnW/qg46I8c96lJC4fij5 xjImTsd7cAdGTUjdtlrv/xNrClp1HqVkxDt/19aCERWkQvRp9LnsZ1McxuHaosDgaNO7 YhZNowI/EuQLS83lXRQVY5BnPv0QFIMsFUCNxox+zMMmHnBtldVVclzUsSc8kMbYKhvI zyt8bl2z0Dxlti/o9V3PHFs5/XGt0cq9MvTS6xtRTqH642BCnyYbBz90aykczzN4WdJk C03A== 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=2ca7PVpfytP1aPxU/j7JaxFmM8F00V9fbvYGUUacr9k=; b=NFj3tZ3lRxy/d7Ipqqp9UR/8QuXH4kfNQOkanHFMSNwoJcIFO+cykWmuXpCeIuyelR nPqzdNZjsP+5KTURiwW9tJXQCWWC9kZcaAr/q+Yua4kdeG876q/x51GhNn1RBDr5ZhgM PDX8ikI+C6BEdvKFAG0dLQFksdJeguoR5NqKUtQfCzYTcNkAJwuFKCoIvAFbLPBHUNEk q6lnY6PVoKytI0yWEuCvgN7Fgmv746mDeUbicFvkMCEDz44LEti32rnUfFipxGaINkUu qVnXlEKJObapQq7C+XO+n4fVXGWnEbcoGhv6UScYQjODBTH2olHXXjNSZebL0SH1moVr b4jg== X-Gm-Message-State: AOAM532/MVVEcwziJ4z0aagwhTwmgDOO9yP4qqGygvqQr0RnhYbEA6pB dLigxmDtBFuHGB2uvVyycWgdmEpaI2Bo8pnDsA0= X-Received: by 2002:aca:f50e:: with SMTP id t14mr188996oih.123.1606780259177; Mon, 30 Nov 2020 15:50:59 -0800 (PST) MIME-Version: 1.0 References: <20201126134240.3214176-1-lee.jones@linaro.org> <20201126134240.3214176-27-lee.jones@linaro.org> In-Reply-To: <20201126134240.3214176-27-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 18:50:47 -0500 Message-ID: Subject: Re: [PATCH 26/40] drm/amd/pm/powerplay/hwmgr/hwmgr: Move 'vega12_hwmgr_init()'s prototype to shared header To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , Evan Quan , =?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 Thu, Nov 26, 2020 at 8:43 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:2862:5: = warning: no previous prototype for =E2=80=98vega12_hwmgr_init=E2=80=99 [-Wm= issing-prototypes] > 2862 | int vega12_hwmgr_init(struct pp_hwmgr *hwmgr) > | ^~~~~~~~~~~~~~~~~ > > Cc: Evan Quan > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/pm/inc/hwmgr.h | 1 + > drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 1 - > 2 files changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/pm/inc/hwmgr.h b/drivers/gpu/drm/amd/pm/= inc/hwmgr.h > index 393e4e76a8961..499f2520b1aa3 100644 > --- a/drivers/gpu/drm/amd/pm/inc/hwmgr.h > +++ b/drivers/gpu/drm/amd/pm/inc/hwmgr.h > @@ -830,5 +830,6 @@ int hwmgr_handle_task(struct pp_hwmgr *hwmgr, > > int smu7_init_function_pointers(struct pp_hwmgr *hwmgr); > int smu8_init_function_pointers(struct pp_hwmgr *hwmgr); > +int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); > > #endif /* _HWMGR_H_ */ > diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c b/drivers/gpu= /drm/amd/pm/powerplay/hwmgr/hwmgr.c > index 7999091cca16e..49f8a331eb02e 100644 > --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c > +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c > @@ -47,7 +47,6 @@ extern const struct pp_smumgr_func smu10_smu_funcs; > extern const struct pp_smumgr_func vega20_smu_funcs; > > extern int vega10_hwmgr_init(struct pp_hwmgr *hwmgr); > -extern int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); > extern int vega20_hwmgr_init(struct pp_hwmgr *hwmgr); > extern int smu10_init_function_pointers(struct pp_hwmgr *hwmgr); > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel