Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3811271pxb; Tue, 19 Apr 2022 10:15:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3j/mxkbYi8P/Avhl/hRYZTeWKpVzZCmbt8dqoFJCymc6wZIY9OT64eypjrUsDXXPjCAMs X-Received: by 2002:a50:ee89:0:b0:41d:70eb:eb36 with SMTP id f9-20020a50ee89000000b0041d70ebeb36mr12841661edr.24.1650388509240; Tue, 19 Apr 2022 10:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650388509; cv=none; d=google.com; s=arc-20160816; b=lj4sC+V9IonjslhiHXmL3f7tQRLk2tvcqGrFwSAJiPbYxXoLhfJs9zUchCGJ6RFik8 3FMCBdPSg8DqJ5WgD6bG6orLVBQ/EPydOa2boNToY5V7879qQANzKmiQazn4wit0PO0T 6sQ6VHeFgBQ8H7LHPvVRBehyrtWhEbOFGn2PPowDqwLoohile9PlfVh8oRObdFK7zmh9 wGKWhrzfODwj9nTuqVDeczY2ews0FCZ3lUIwdd5kRzDmgg2wOjpF440flGjljKsKv8ko gqxSTqbzxhdAz4TWkTTPnPYnuswBvlXBCtGUXbOl2dbnz3ePc7iyl833f4o14RV9lqOr wgrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0Y1kTXqtM0V/qhN0BJh+ustQ16GMNyceftqiFoXkOJo=; b=CzVHpa9xPaLaaiw6VxlOkTZEipr4nNzYJZrz19ygWuZxCRgYIMVYPjXQ+5QIdQLY67 eX8LuqrFrT0N+WFKcl5agU/avWMm0wor0MguL9bTF7l3fDDel4ow82OgzLGK+zLjOkVS ju81JiiVhwGa3Ufkk0jIIMMHMEMpjBDl3gLHaDDP6XLfeLTbHiVFi/k3V76XIIHvu2JA 4u5YMh51fPh27vUO4pIRtp+41aaO+CW4N9EVYOsEqgAGDry+xTRfpcGKEhH7YSDqwLuh Wyxl685Cs1mcrz5NaJ+heOY8HHQv9VlMRV5Wute6mmwAgK9w0zEtUL8O9cHSpa+q/p3B 7Jvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LKsrOa3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a17090680ce00b006e8405b01f2si7782311ejx.369.2022.04.19.10.14.42; Tue, 19 Apr 2022 10:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LKsrOa3n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1353383AbiDSOiX (ORCPT + 99 others); Tue, 19 Apr 2022 10:38:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353508AbiDSOhx (ORCPT ); Tue, 19 Apr 2022 10:37:53 -0400 Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A2EB859 for ; Tue, 19 Apr 2022 07:35:10 -0700 (PDT) Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-e5e8523fcbso6142071fac.10 for ; Tue, 19 Apr 2022 07:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Y1kTXqtM0V/qhN0BJh+ustQ16GMNyceftqiFoXkOJo=; b=LKsrOa3nuP9NAcR8rarfjiNYcdHWNAGtZnJnexbhZXdC2BWsvnu2TlCnxPKl6u5Vj9 Ve+GfJftnqI6Dw/kI2fvUr1sq+wn+NVcjYTWTM+3PQsmGlonuaOWJW2zsaPsusolhRyb Qtx1ps6ipjUss6V5UAEwmrcem2Y7xetfKYPQyGmy71RxKN1MpsWo6SXtKNe1529sbOtK VzXmYI9RR/zER2Vb6p1pOjC6VlZH1PGlD1sfA7OqzhCfOYhKosTy3+kJLZgvRsJ8FrvK IrBfsnJ05Se7Ng1T6bHk1yWeizt/Yr6RvX8UHUhNi+lD81yGxFSSftfMtsdrDV7w0fNc NNYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Y1kTXqtM0V/qhN0BJh+ustQ16GMNyceftqiFoXkOJo=; b=ZBS5u+/Lte7ZqtAlH7sj/LeoJ8usbNwrQL9bLFtNvwG/BdGi7NhGUEK7AiQwkdNqBy vdXnstNHgmclnDNjZ5NCRWRQIUgnE0qUGo0wlQUfg+/qmKtHSwr/NGobkxoXfSbU8vAP eakUfAF99G9uBNZaX59sgs+m+boReDUlyranZRBs83Oe/8OLAbNP4gQMCzixmyYid+wR +KpIKfSL+RRpTybUsKaeUK8AzYzM43RtuhmDiZgmKLfQuXNEZDY+LXEVc0uOF06WS9EH cFXZ0NOBr/WeSy+41FG2WI5zzjOR5+FZLIb8lSp9zXFjGD5lP8WM2dPCSO4koJsYxPtn eILA== X-Gm-Message-State: AOAM530Ta+g1L3TQqudbAsx8d2+s+9IUbedCWxxzgOAbRX+MRdilDiwJ ryMErGuyRVWWBQseJQtrCDp3iEXeKzhoscAvSHw= X-Received: by 2002:a05:6870:311d:b0:de:9b6c:362b with SMTP id v29-20020a056870311d00b000de9b6c362bmr8023506oaa.200.1650378909464; Tue, 19 Apr 2022 07:35:09 -0700 (PDT) MIME-Version: 1.0 References: <20220415182014.278652-1-tales.aparecida@gmail.com> In-Reply-To: <20220415182014.278652-1-tales.aparecida@gmail.com> From: Alex Deucher Date: Tue, 19 Apr 2022 10:34:58 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static To: Tales Lelo da Aparecida Cc: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx list , Maling list - DRI developers , LKML , andrealmeid@riseup.net Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied with minor change to drop the prototype in dcn10_hubp.h. Thanks! Alex On Fri, Apr 15, 2022 at 2:21 PM Tales Lelo da Aparecida wrote: > > It's a local function, let's make it static. > > Signed-off-by: Tales Lelo da Aparecida > --- > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c > index fbff6beb78be..3a7f76e2c598 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c > @@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp) > * > * @hubp: hubp struct reference. > */ > -void hubp1_wait_pipe_read_start(struct hubp *hubp) > +static void hubp1_wait_pipe_read_start(struct hubp *hubp) > { > struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp); > > -- > 2.35.1 >