Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4124783pxu; Mon, 30 Nov 2020 18:41:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZT8wm53ly3xvTPX5Xd2Njq0Gdr9J2rFhNOez5/Lsg1is1T5vOtV4S9nkzzjivoFt7ltys X-Received: by 2002:a50:fb97:: with SMTP id e23mr932191edq.208.1606790514137; Mon, 30 Nov 2020 18:41:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606790514; cv=none; d=google.com; s=arc-20160816; b=pUtzNuOqiYWQqkyAZrHdxV7nLGhYhWYWZ6wUhTqCxty9gqnsYlzG4saPdsu8dDXGWS VIoiwUL2IuviV2CZCalcM4ARkrkFiIf5b/qlWHc/S+qb6/TaQmiRgZUKhdV0bxbn7hEB zR0ILqqgSRQTYlRACh6nWI5pL/1TVqJWKJsSOZlxoB+fuWN05q28FDCVijzszFtaw8UW 5NLOZPOfWAZcB3ER3/l5gBPOjAdMSBbY8i3KEMLElIeXedGfoDWW5ouRl0j10HBza3R0 BhQ5C4WcFWNLMBMSo5K4U8R/MhqcIu2JqhP+b2Jze+z4d6fF7P0w+Qr/qwoXxQEsxCbe yiTQ== 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=/ib7F0wrlRrbhxbZ6/EzZShONgbtSJ0jIgAfxKhWyPA=; b=0XfDeS0VCozIN9OYencsGHoCHgQIAUFqsC+w1c9sUc7cJT1KMatp8/hzVLv2uoA2JG IcIDCXbCUv/CQTjvqxHBN+4LEvj2gw6ePqW3ZnTEtOpTgHqSa3LZOWnTuPafEjSuu7RQ w9U+arVdoJCsD+1dWaV7e7l+/arwUxL1Z3H+AtwPbrNPLctaYR7Jhtw1If9OBKzk+ug9 8bhSLgqu3d31YiPQdVVrkfIYW3LHjP54wQUSd0H4aZ/kusglWpOYEnhvzZEh4a2ubYUt UWGHDdGmnHrPCRf5lDZoWWJLM4Vznbi8Hx0Wn7cAnaj1SWrU9PJJhoHL24pcKNE24l8j 6jxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OLCPN3Au; 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 jp24si96605ejb.371.2020.11.30.18.41.31; Mon, 30 Nov 2020 18:41:54 -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=OLCPN3Au; 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 S2388608AbgK3X3S (ORCPT + 99 others); Mon, 30 Nov 2020 18:29:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388590AbgK3X3S (ORCPT ); Mon, 30 Nov 2020 18:29:18 -0500 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 176AEC0613CF for ; Mon, 30 Nov 2020 15:28:38 -0800 (PST) Received: by mail-oi1-x244.google.com with SMTP id j15so16167827oih.4 for ; Mon, 30 Nov 2020 15:28:38 -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=/ib7F0wrlRrbhxbZ6/EzZShONgbtSJ0jIgAfxKhWyPA=; b=OLCPN3Au3UUPcRNJgSYmlA4bAg1MaFhQXY6bjWwjrJsqy2b9KN+hRPS4tezmPolKyB LVo/sIwDfC7iz8P8hMVVXnLaRSK/CYO9p5uecCxPM1td8Rw3c3QuQgtkyB+X31J8N7Om DSoTDX0u+qr812aeTrN9mpJXGVu1WV0H8FdlSprIb9R8TvZg629KbyLaQPiAl0Z/Xbp2 RrBQYnWC5p6Qo9HVh9kk+abS9Lb1TccwrU/aXnKE5mm9KpkFvZ5ulK9noDO62FoVDXEu QHJTnLB43wYLoVOuxOMk16dArCEi4xNGRRp5r6qYKRFVrnwiQZXRc+YEa/fs257NZ2lN SFcw== 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=/ib7F0wrlRrbhxbZ6/EzZShONgbtSJ0jIgAfxKhWyPA=; b=RgEqv5Y2HVX41nuw5TChv/fheeLSHQ3HpTesVDQbiDzO6N0m6N3rs8cPybw0D20ri2 avcHMc7I5gB8L7gfnaP3cG9a6gGkYhMy03YLEIQgrvGNw2IsFiSUO8Oj7nd33KHYSgJM wB1gXaNKXclHOVChYij+9xd1PiOrTZe/3VP22ih30gpqOdX+PTOTlRcnJEAsttz3d30/ bUbcG2ezSOkh3FkJuszj6gaa9NCvWBqcxAnnPc5WFq2sh0kaElEyJHEWsoS3Bk0aJYP1 cN3m14HNIpHciCa2wlpAdl6nphlsucxI0BuV1w0ZpUFpBYbvDsxHY7cPwlzxTs8JdOfb 841Q== X-Gm-Message-State: AOAM530NVehaTUBdmNyV/MgzcrUF4Zd0cto4iraeUz24npCES+dIWuGa +FivAZZJVHgvM+u+EuktO3REMdywkWP9t0Td+yk= X-Received: by 2002:aca:4f53:: with SMTP id d80mr150944oib.120.1606778917428; Mon, 30 Nov 2020 15:28:37 -0800 (PST) MIME-Version: 1.0 References: <20201126134240.3214176-1-lee.jones@linaro.org> <20201126134240.3214176-10-lee.jones@linaro.org> In-Reply-To: <20201126134240.3214176-10-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 18:28:26 -0500 Message-ID: Subject: Re: [PATCH 09/40] drm/amd/pm/powerplay/hwmgr/hwmgr: Move 'smu8_init_function_pointers()' 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): > > 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 1bb379498a121..0e22cba3ce3a6 100644 > --- a/drivers/gpu/drm/amd/pm/inc/hwmgr.h > +++ b/drivers/gpu/drm/amd/pm/inc/hwmgr.h > @@ -828,5 +828,6 @@ int hwmgr_handle_task(struct pp_hwmgr *hwmgr, > > #define PHM_ENTIRE_REGISTER_MASK 0xFFFFFFFFU > > +int smu8_init_function_pointers(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 739e215ec8b7f..ec17a3e63ea02 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 smu7_init_function_pointers(struct pp_hwmgr *hwmgr); > -extern int smu8_init_function_pointers(struct pp_hwmgr *hwmgr); > 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); > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel