From patchwork Fri Jan 8 20:14:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12007495 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 40322C433E0 for ; Fri, 8 Jan 2021 20:15:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0CD8F23AC0 for ; Fri, 8 Jan 2021 20:15:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CD8F23AC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 963DA6E8E8; Fri, 8 Jan 2021 20:15:50 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id E67CE6E8DC for ; Fri, 8 Jan 2021 20:15:47 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id n16so7358777wmc.0 for ; Fri, 08 Jan 2021 12:15:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YEfovM2NKT8ag9TvqZ5TvTpEztKPhuBS/BnjHfStf3g=; b=qrFDHa6UMrCuOW/PtBirv0Ncr1vLCDJC57MzIwvydzI8tYtfDhmCZvdRcq+JEaYKFj j7lHElH8pycb5tVBNhvAACygNyfntQryXRiD4cAGiUtrML6OGIBkIDaIUyn/bH1pT3Nk mbEUKAeUZDcLk7U/O4lCYCQ20NPOfui8QBFwVFHzmaRu0QeeN2Og9A741HgBzdhG8grL 0Fa4ls1CABD03p++A9w9y1DX1LB3k/YCpqruWCGpbWMhT8gYBlG0FkPBdY7CY2TJ6Rv7 zdjgfbCO6oeuAuaxBG8OZL7CZTm5vMaWRgC+QgxY4dNb3Qyr3OJHAc71TYnJp9bl2noX xv7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YEfovM2NKT8ag9TvqZ5TvTpEztKPhuBS/BnjHfStf3g=; b=bXhSqFzlKx/xjvnqNbcbpC0nyooZ5igGs4INdf9i9B7pLGGshPu4MsTVFqEZ/HUL8k L2hEllWSsU2eu+FN+KNqTxmc2LpU1Wc61Dkvr+mrm6jITMDVFs8SEYe5bXEgwQQxznHL duVJmHxWTHfYPGIKxvk5+M5zhd0G2E97ilXZ5BJSqGIMLcxQ6KmXBjhCU0iNRN946dHQ g/SKHgX8Sr3T6JTmEu03u5Xo/Wa4EzJbELkp9lLFvuudNFBARdoPtKgZuP22ssaXQGle ulzYE4ziTEmw1gzW8zM8UEeHeLaW+GzM4qAYuvbQDCM0Omo1dJmRA1jv51dknxbmwzib Kcgg== X-Gm-Message-State: AOAM533mLHBATZiSA32YgafOYgRYurJ4J9vC/vcEKvMb6DDhquvLIkex JmDQPhFA0w0ZnhVq68WL89n0jw== X-Google-Smtp-Source: ABdhPJyWNXAZMb17ssH50iSdT8H27rJjcQnuXfCL2ZQMggBqNfo6pnT2c08Z3ljkQNjZ2fHs49c11w== X-Received: by 2002:a1c:87:: with SMTP id 129mr4460111wma.183.1610136946590; Fri, 08 Jan 2021 12:15:46 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram' Date: Fri, 8 Jan 2021 20:14:46 +0000 Message-Id: <20210108201457.3078600-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-1-lee.jones@linaro.org> 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: Krunoslav Kovac , Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes] In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:31: Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Krunoslav Kovac Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c index f3ed8b619cafd..fa2b47d41ee2f 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c @@ -71,7 +71,7 @@ static bool dce_dmcu_init(struct dmcu *dmcu) return true; } -bool dce_dmcu_load_iram(struct dmcu *dmcu, +static bool dce_dmcu_load_iram(struct dmcu *dmcu, unsigned int start_offset, const char *src, unsigned int bytes)