From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08F71C64E90 for ; Tue, 1 Dec 2020 00:06:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFBF1206ED for ; Tue, 1 Dec 2020 00:06:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XwFwFP5V" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730660AbgLAAGC (ORCPT ); Mon, 30 Nov 2020 19:06:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbgLAAGC (ORCPT ); Mon, 30 Nov 2020 19:06:02 -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 2BA90C0613CF for ; Mon, 30 Nov 2020 16:05:22 -0800 (PST) Received: by mail-oi1-x244.google.com with SMTP id h3so16252210oie.8 for ; Mon, 30 Nov 2020 16:05:22 -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=7BTne8SIxbBFHAj//gRT0I7jmTcVfU7zja0kcb89Maw=; b=XwFwFP5VKQvAjlOlCnUb9C0k+8u7IQBdEwENOiKjGpYUhhJ2ARUNhURKaKtQxncV8G q/XKFGS2/hlRVXidDfvt1MzIYWF5Hix2RSQUw0gG9kHVmHh6KW1wF40+RzC/IYDcbxxw fNAZE4lwbLIhYEPU/BpAOX6i2h93EFQZPoMe6tD8EiHQZmglaKiw04gez3McFgLYPwEs QDcc2tLuuwQlWIRHSTp8Sj1P2GtzB5OJAafErrvH+yIGAXKej14XyU35vhlzl/iWDdIF uHcIwq5suzy5Zh7NR+XQxoKctJ4lnz9n6eAUO6s/UZhydqTP0QTELXtwkdrJp5qM/ciS BdMg== 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=7BTne8SIxbBFHAj//gRT0I7jmTcVfU7zja0kcb89Maw=; b=JASFncmxa3ushqb+5AhxKplbHq53HwK1/xDGHkXFq8CfAAHGIkslsZme1tQ7Nplk+N DDXCsSOj302q3MrPCwpaoymelSK7ti+Iif6bO8kwqZZ2Bln8rIu2Dq8fpsf+XDC4uULI pjnBl0d1mM3hg2PEZpaLlunqoqLDW1KiYwgR1wTXYcxq+xLc6bi8DxOIAuUoMp8eG839 JpjIU4keJedB0U7ZrKgjcPOSDc/hTMqq7LPiF7R8nAz9rGx7co/yVwPYY1EqeJ9Y8QJR HsN2W5U0ak+KJLHU1FkNEw3NJAuWKPfpwKOFORwo9Bz64juHjZqf7SdSkF+F6CagDtJa dHNA== X-Gm-Message-State: AOAM532o7lxOaBe3cHcFj1haReKv6s2Y1c1qsD0i0PHixu4RB9G93bmx fR1Ml9BrWhw+vazAYBFwacPJ7JgBWQLdSS3z3OM= X-Google-Smtp-Source: ABdhPJxVHgdB7XwPl5ai+49mqjjJlX1RpCRFPnKeMadWF7tL8axXfV/9Pz5hvPub5yxk7sXGVF7zHrhDmiNr5sXYJE4= X-Received: by 2002:aca:f50e:: with SMTP id t14mr30258oih.123.1606781121640; Mon, 30 Nov 2020 16:05:21 -0800 (PST) MIME-Version: 1.0 References: <20201126134240.3214176-1-lee.jones@linaro.org> <20201126134240.3214176-38-lee.jones@linaro.org> In-Reply-To: <20201126134240.3214176-38-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 30 Nov 2020 19:05:10 -0500 Message-ID: Subject: Re: [PATCH 37/40] drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu: Remove unused function 'pp_nv_set_pme_wa_enable()' To: Lee Jones Cc: Leo Li , 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 Thu, Nov 26, 2020 at 8:44 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_pp_smu.c:664:2= 0: warning: no previous prototype for =E2=80=98pp_nv_set_pme_wa_enable=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: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > .../drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 16 ---------------- > 1 file changed, 16 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c b/d= rivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c > index ac0a0539854ef..607ec09994456 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c > @@ -661,22 +661,6 @@ static enum pp_smu_status pp_nv_set_wm_ranges(struct= pp_smu *pp, > return PP_SMU_RESULT_OK; > } > > -static enum pp_smu_status pp_nv_set_pme_wa_enable(struct pp_smu *pp) > -{ > - const struct dc_context *ctx =3D pp->dm; > - struct amdgpu_device *adev =3D ctx->driver_context; > - struct smu_context *smu =3D &adev->smu; > - > - if (!smu->ppt_funcs) > - return PP_SMU_RESULT_UNSUPPORTED; > - > - /* 0: successful or smu.ppt_funcs->set_azalia_d3_pme =3D NULL; 1= : fail */ > - if (smu_set_azalia_d3_pme(smu)) > - return PP_SMU_RESULT_FAIL; > - > - return PP_SMU_RESULT_OK; > -} > - > static enum pp_smu_status pp_nv_set_display_count(struct pp_smu *pp, int= count) > { > const struct dc_context *ctx =3D pp->dm; > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel