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: 359055 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855974jai; Fri, 8 Jan 2021 12:15:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAHmVSK0tpg8DJWmoQQqTCZV2773YXLI2jykgSkWg69PXYWTJTEVVJfHziaB7u/mpRxQgo X-Received: by 2002:a17:90a:ba84:: with SMTP id t4mr5490309pjr.110.1610136956462; Fri, 08 Jan 2021 12:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136956; cv=none; d=google.com; s=arc-20160816; b=hmy+PkM7538md0DhXBWMe86xQA74h2eRaEFEV5RmPFAkxauJdtAJGxa2fBZ70Oodm8 YIBRjVqFLaFORi8tS0j4bvwuwl/hU7MHrqx9lz8JM3PmUo6BR1c+zMUpoDmF8B0bMUsJ qEv6Q0KrZF9Kfep7RoaaVBVSUYYtJOt2snagGSQXt1jjlWni+vtnm5Fs+L05vhl7BLvy xUsi823l+LvEQxbPbnq2po50goV5KFAKoVEDWZ7qn44ClmWfOd0b/0IUqJ5f9DZpqh+0 LacQni44gnzWeCkaHLCzFrkVWDEyhOkmKTN9d1dRMIrk4LGiUv5W9/weEYwVJ5aN3f2+ 0Pdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=DGJfPMn5sgcz5c07BMX5+sZuXnLO6Ky15lFKK0CqEXU=; b=q2cdmFjinlj9I+jixdUn3ldVlMOkx1+QMK6MV5WUgCL/kiLQiGFGDVQeUuth7cu0M1 4vefD4HIKElS8oQMEg6tspeleLlGtnpAwwGHnh/g4iac6SUhNpRidPk8LEgC08k7yMgF +IZZxipIWJajKfBz+CSPQOqLUzktYMPS9cHyrecnz0AglVx729HJz9cVfIy3xwEneLIU tTc3tOcQ2AfPdYoZUGoiYLoDhxl48Z4K9LJwpB57G/azlcRSuLL3+KbMe0lDE7FVhcDq 4CUaqepbVtHlt+L1FvDzOwNwTUOUNanx9571/ndg3TSXyj2tq4eRh+0E0eakikI4/B1K DoMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qrFDHa6U; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b23si9989735pgs.426.2021.01.08.12.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qrFDHa6U; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.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) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org 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-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)