From patchwork Fri Apr 15 18:20:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tales X-Patchwork-Id: 12815225 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C629C433EF for ; Fri, 15 Apr 2022 18:21:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE07F10E2B5; Fri, 15 Apr 2022 18:21:18 +0000 (UTC) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id E089810E2B5; Fri, 15 Apr 2022 18:21:17 +0000 (UTC) Received: by mail-ot1-x331.google.com with SMTP id e25-20020a0568301e5900b005b236d5d74fso5830268otj.0; Fri, 15 Apr 2022 11:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sm8DSCIeMC6YuTy9deusE25jUiKvOwY3HtepIUMUjaA=; b=AeojTpXTTI3PAeqfCB4sVmZ3FJX9rlQ35P3Z6A2SPsBqrYuL6mStUlK1jmTtDzeUDg GoMR/UihMx51mH539Ivg9EYwYrzZJFXOvA5S/OzTXlS4f6vak4yvV6lLLMJaIOpRIvIN MBl1B8F5FHW3NJZKU2IzkhFxEqYID733KgeR79Rvv+BpD/FESAwBbMV67/I8AyIYOPwc q3ayexTCyEeakVugv04xej536AD9mRpX+eMmG1S4yiX5bboRnlMLkrjrJiOH8SnP109m 2iKy/jQFJQZ0/6xQgxjmACDTsXJo7DG+isNphpKOfQIVpEhUfVL72lyAwRPpneI90iOu l3Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sm8DSCIeMC6YuTy9deusE25jUiKvOwY3HtepIUMUjaA=; b=UjQns9/eqFS8s5UqJSZqqlAsOSdR5lcmp3/7D6a7iULUyxIvkosZVMeFTcIwUAurh7 QnaxymZUYN0MYkPMJ6W2UVo0XKQmaAcGWhFqHrv2S/+Huduc+7PHd58pcqjofZ5rzZJw S9bAWh9b5Xil/jWjAcjB1opIdUR+hZDr6LwgmGj8tFO+2mzGIw7E7y2nN2rZBEpVCKRw YUMdDFLVMnu1l9iN9lnjryW47BuNdkWto1hDe2YOBpkD0BIYGTDa0jpZFXLj1ZmZIyEl pqSBba8bKbjk7wTRV0sJa9QAWBN2gRoFS/MjEduQzIRL1GdrzzRfWRwoBQPcBUm96Vgr bqFg== X-Gm-Message-State: AOAM531Nxcs+LcDWtW1U93h7kEFRAkqBEyONgHB6eQGOc/KhvEzmLreS 6nMmrLvKcvtQz2KOY9Zv9gk= X-Google-Smtp-Source: ABdhPJwo0WGvkFrC84zXYCfOA6ncaJO1ft/Yn11zS61rS4Jw3IoXDc+bU0rl6jIQu+nRBg3s43kmUA== X-Received: by 2002:a9d:58c3:0:b0:5e6:d8f7:c18c with SMTP id s3-20020a9d58c3000000b005e6d8f7c18cmr151853oth.364.1650046877063; Fri, 15 Apr 2022 11:21:17 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:4c2:8a9b:dcc3:45ee:2581:b4cb]) by smtp.gmail.com with ESMTPSA id t22-20020a4a8256000000b003332a0402f5sm1367127oog.23.2022.04.15.11.21.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 11:21:16 -0700 (PDT) From: Tales Lelo da Aparecida To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, andrealmeid@riseup.net Subject: [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static Date: Fri, 15 Apr 2022 15:20:14 -0300 Message-Id: <20220415182014.278652-1-tales.aparecida@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tales Lelo da Aparecida Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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);