Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp429712pxb; Thu, 14 Jan 2021 09:14:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvUGzLUoC0RmQS3V3NFTz407SKYKfc/2siwrdNL6p9S7zQ4km9uQZ91Rh2EqdCG6qso1h8 X-Received: by 2002:a05:6402:1005:: with SMTP id c5mr6746283edu.379.1610644447656; Thu, 14 Jan 2021 09:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610644447; cv=none; d=google.com; s=arc-20160816; b=fDELuOTEA5+OpnXSCvnn9Ilrps2hNuTdOFdi0C3f/si+oJsNlLVdgZIkj++04G6hXs okGUm6ElvoCcRmZoLavdfKatA8vwdJCarAIAXri2qRrjznGgG6vsjcDAZOaR3iXVfJC8 dwlpjMhvSNpjA8JQN4ds5vLMEivXSJFhCYVyTnZZ2Am1uV04kjCznt2rCattilEhvdNP lWOIp+ikwMjqcrFH0ks2k0zp4pOrFdZLLPsO/WYXTxzm/raVImhdqp3yxM+ydI5w1WMS DWBXUY9wMsv++Z9nhnpYounX+rj8xL6vYW+QkPP+soDOEZE5e24LUZQcFHfGQDa68cEN /Jcw== 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=NfiPn9PLaQKtUN6T1QDFoz96DhnMF0UCTa6RtqwvtD8=; b=QFQjA3yhB2VFhbJGm1BJJ1Q88RoVLQFZa8cE2Hyud5aVt8zG7oPKAlyms++FlX61HY UNCjP82mNY+wIVHBUikt13+TyYNgwfkphxTG9f4tzGC9wP5AjvBU1lE7J+XviNg1u388 c9RLtI5BqyNIXnkIjNiC2kbaLfRvTeynKZN9YtDxOAbNzU6BaKoOxjThVlZr4c1l6nNI PxnZ7+fkkHNiRsXdvokMpq6R4K8kfqc3/1ZeBMCr5qc+Wll/rY04ur3jeOP/2AkgXyOt bZ0HOgAsa9UeFUMFtVK5vNpmqEegwZbMPBnrs6eG746cxzf9EFX5U10XSmMAHLr0un1D 9LUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PGJ7IOgG; 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 k20si2720358edo.493.2021.01.14.09.13.41; Thu, 14 Jan 2021 09:14:07 -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=PGJ7IOgG; 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 S1728145AbhANRLe (ORCPT + 99 others); Thu, 14 Jan 2021 12:11:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727153AbhANRLd (ORCPT ); Thu, 14 Jan 2021 12:11:33 -0500 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DB3C061575 for ; Thu, 14 Jan 2021 09:11:18 -0800 (PST) Received: by mail-ot1-x334.google.com with SMTP id a109so5869178otc.1 for ; Thu, 14 Jan 2021 09:11:18 -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=NfiPn9PLaQKtUN6T1QDFoz96DhnMF0UCTa6RtqwvtD8=; b=PGJ7IOgGNfDdVkNbift3flxymeO6Z2LGjXmEa0DHJKFbpQHW6fNXVZiOOe6FUhoyw7 43wJNtuMpFcpqp6v+Rl7t6Z3SePMNN11KRLrpwZcWwwPwdfOfQgOMdoXp9j/uLC9qkCh pchZ6z0e0SvQNBGB6oSslbbPc2ZOk6Na1QCe+KCTWI2Px+yLgApMaUtLoc+JceSvwhnW ahDI3jEjDQVD7T5his3mMKxwu1Psx66XT3+ZNLzrxT6lzo8eMxumgl5rnDk/e2uRhvGf bS66Yt2sCdUKnSjT0gsG00sYQroUE+xzZEIPWwU48nD1cq3k1ORAGt6ohRaYKSTtQozh W4/Q== 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=NfiPn9PLaQKtUN6T1QDFoz96DhnMF0UCTa6RtqwvtD8=; b=bca/T86W/yb7M6MVjtlLsTQ4Mm+CfjqjPwYYog7C3cZxqfvqPmfnXUsiwc+SqHU74Z 9XkV59T+BLAq8KH5mtF0BpNEyed/jcGjNKLKckA+ZYYtE8OyPY4aciIyNc39y9jCIcEE 7T581kFN2AKlnYjjcpJH+BXkmQvEmez5ef8hln2SDCKfvIUPbo+hb3IJkbQ94WM064pe F7lKZMRaLZAoOIt2Z+72lH6CdRl8M5d1aA7FxWOnpIw3x7Z31XIRNm4lKlI9vLH1hdaW b38g801lcDcBIYlLvqv520FtL5qADHw7fB/7/InCTfK4q2SMzlEb70HQaAyMEYRgNY2I XrRA== X-Gm-Message-State: AOAM530obc3pM4K91h2DfzDIYTi5bTqMltiUVq6Kn5qpGCOCV2TTEO77 wJOWWsN1WvNRtR5IdJUu2OdHxTk52pi7Q6dNVjQ= X-Received: by 2002:a9d:75d4:: with SMTP id c20mr5278877otl.311.1610644277946; Thu, 14 Jan 2021 09:11:17 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-11-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-11-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:11:06 -0500 Message-ID: Subject: Re: [PATCH 10/30] drm/amd/display/dc/core/dc: Staticise local function 'apply_ctx_interdependent_lock' 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 Wed, Jan 13, 2021 at 3:08 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:806:6: warning: no pr= evious prototype for =E2=80=98apply_ctx_interdependent_lock=E2=80=99 [-Wmis= sing-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 > --- > drivers/gpu/drm/amd/display/dc/core/dc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/a= md/display/dc/core/dc.c > index 8f1cadb823c71..0a07e608485ff 100644 > --- a/drivers/gpu/drm/amd/display/dc/core/dc.c > +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c > @@ -803,7 +803,8 @@ static void disable_all_writeback_pipes_for_stream( > stream->writeback_info[i].wb_enabled =3D false; > } > > -void apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *conte= xt, struct dc_stream_state *stream, bool lock) > +static void apply_ctx_interdependent_lock(struct dc *dc, struct dc_state= *context, > + struct dc_stream_state *stream,= bool lock) > { > int i =3D 0; > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel