From patchwork Mon Jan 11 19:19:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360560 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3139764jai; Mon, 11 Jan 2021 11:20:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyp6QMCHkPdss1ltFCmluFEg9CH1e9bN6yjyqgBBg64000eU7vcgKrfehWBTl5gf6u0cYgn X-Received: by 2002:a65:55ca:: with SMTP id k10mr951330pgs.431.1610392825581; Mon, 11 Jan 2021 11:20:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392825; cv=none; d=google.com; s=arc-20160816; b=UPl6cKYzAVoY2t9m0ynW4nLhJX5M2cA5Dh6q6aZCLdnWAF55fL/zL4ZHzA0Aw05K2H NsFcIBxXraSgFBJD+9JJ84Vb2UKiPniZZBNgmi42SgHcV09sJzlklggzYHs9/uiOYWHG LkwmdorXWou3dscG1XD6s65nEjrMsHq8wBoR0Y+7iOB1/HOoy2b0x+DlP0jxHCXQzDRx N8qNu9nmDWESrQ/btwQy46ns39l8MOdDCFu3HWdHubgHLgoGndLMACLQylq1yclS2179 aYbzKrUwFm41MWENgKkjP9NMG8bLuxMS3JSCHqMTUkE1Dbhi+JxPGYwaWMHBY4blZMln woGg== 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=b5SBs/WSRE8Ed79C+CkaUrLj79e2d3xU+C+fSbUqT9s=; b=cwWTj1jgOrcWd49oe49gzhRdiMUonVRIKrWZAf0H0F2j8WkZ/eG96YFIz71kXLC88y NPUs2OtvH37GVlhCCyzU7F3NG4qdD/UcXeYrfoHrbHcWpwYmvYtm29h7Sfv3cmffoBIz yO7zBwYYXyt181QIz7HxwuRkBaoZJPfFTMplromgShday8m9g7KjB0X5gyCxFEnvz2yZ mz1xgoDyp2+vDMluuScvpyU6xJcnf3T5Cu90APvyJsipYLVrabCTtRGLWWoVsV5IhtMB R80RFt1//Ni0uPbWlIxUssdgxbJW018kDsPbzvdSZiaGqUnKSPkgxQLEaWuYJ5oPSjVH SojQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gdrU0FCu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id v24si270708pjt.74.2021.01.11.11.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gdrU0FCu; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 ADA9589EEB; Mon, 11 Jan 2021 19:20:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by gabe.freedesktop.org (Postfix) with ESMTPS id D15D289EA3 for ; Mon, 11 Jan 2021 19:20:01 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id n16so481771wmc.0 for ; Mon, 11 Jan 2021 11:20:01 -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=70pFYigB5I22JFOM7T44Jwvj3H7OC8wzlxfgrkMC4iE=; b=gdrU0FCupi0B2aOKsbEqUZ+MwdrwEROjCjpxoS16WgzjmgcrVB9/jgX5pULUWVCkO7 cci15OsbH6bNk8r+YdI9U6wPI/Hs8X+pbcG+wcOaOlWiR1UfKUyrPOf4G9Q7qAmaqBZs pzV5Sh0k6nX8kCTabeanzrGU9dOngdCq4DKkuhSQG8ygtCwdT7/hDTSZ6D7gHA67LnD3 UQeL0W4akz8Pq8Uh3Kktc9S2twrucHcD8a3P85qT1Nu8MJiyM1p/SxaA7XVCxgMIYwZV DrXTqLQIClGUbQYb426BPBfQxNIL+w5YlQI3oBCWI7eaov1jgDuE77Z7dX9mCFhctttS IWYQ== 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=70pFYigB5I22JFOM7T44Jwvj3H7OC8wzlxfgrkMC4iE=; b=dhfUzPhiubPBJoUovjW5rjbJDgOQoXL4XQ4iIvDok8ni2Y5Ik9JYLAuWFBy48TsMy2 /Iurktjka836OFZPR995XrbNV43SWyjU+igfji2yXJJkFsxG3KAAwL8pnilRX2HMHu5b CMbQ4obuJT7CKshdsA8vwl8TIyuaH5+Px3TKlN837Vr07aLS7GE1Y7gq8rIfrfAz66iW TMKtPEiBImQAEWs8olxtGAj8A99V8Ksrg9ILwSfUo61Gemuo++HcVO/Yj+1U0m9OjYSk J5+cEjr+opeka4J1UOuB7f9XbzTF1cmKToHEwIUT8Cy5guzJRV+ycSBYaEB4bdyU4qc3 wKNQ== X-Gm-Message-State: AOAM530af6YF80xpF2LFfmP4CWOuUsKMQBcBaHhlDFV2irwoPgHINq32 FNZ8QgkFnB2FG3EQOiDa/y/EjA== X-Received: by 2002:a05:600c:2303:: with SMTP id 3mr189208wmo.129.1610392800518; Mon, 11 Jan 2021 11:20:00 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/amd/display/dc/dce110/dce110_mem_input_v: Make local functions static Date: Mon, 11 Jan 2021 19:19:09 +0000 Message-Id: <20210111191926.3688443-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111191926.3688443-1-lee.jones@linaro.org> References: <20210111191926.3688443-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: 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/dce110/dce110_mem_input_v.c:471:6: warning: no previous prototype for ‘dce_mem_input_v_is_surface_pending’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:486:6: warning: no previous prototype for ‘dce_mem_input_v_program_surface_flip_and_addr’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:563:6: warning: no previous prototype for ‘dce_mem_input_v_program_pte_vm’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:636:6: warning: no previous prototype for ‘dce_mem_input_v_program_surface_config’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:922:6: warning: no previous prototype for ‘dce_mem_input_v_program_display_marks’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:945:6: warning: no previous prototype for ‘dce_mem_input_program_chroma_display_marks’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:966:6: warning: no previous prototype for ‘dce110_allocate_mem_input_v’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.c:1008:6: warning: no previous prototype for ‘dce110_free_mem_input_v’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../amd/display/dc/dce110/dce110_mem_input_v.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c index d54172d88f5f3..19b1976139b69 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c @@ -468,7 +468,7 @@ static void program_pixel_format( } } -bool dce_mem_input_v_is_surface_pending(struct mem_input *mem_input) +static bool dce_mem_input_v_is_surface_pending(struct mem_input *mem_input) { struct dce_mem_input *mem_input110 = TO_DCE_MEM_INPUT(mem_input); uint32_t value; @@ -483,7 +483,7 @@ bool dce_mem_input_v_is_surface_pending(struct mem_input *mem_input) return false; } -bool dce_mem_input_v_program_surface_flip_and_addr( +static bool dce_mem_input_v_program_surface_flip_and_addr( struct mem_input *mem_input, const struct dc_plane_address *address, bool flip_immediate) @@ -560,7 +560,7 @@ static const unsigned int *get_dvmm_hw_setting( } } -void dce_mem_input_v_program_pte_vm( +static void dce_mem_input_v_program_pte_vm( struct mem_input *mem_input, enum surface_pixel_format format, union dc_tiling_info *tiling_info, @@ -633,7 +633,7 @@ void dce_mem_input_v_program_pte_vm( dm_write_reg(mem_input110->base.ctx, mmUNP_DVMM_PTE_ARB_CONTROL_C, value); } -void dce_mem_input_v_program_surface_config( +static void dce_mem_input_v_program_surface_config( struct mem_input *mem_input, enum surface_pixel_format format, union dc_tiling_info *tiling_info, @@ -919,7 +919,7 @@ static void program_nbp_watermark_c( marks); } -void dce_mem_input_v_program_display_marks( +static void dce_mem_input_v_program_display_marks( struct mem_input *mem_input, struct dce_watermarks nbp, struct dce_watermarks stutter, @@ -942,7 +942,7 @@ void dce_mem_input_v_program_display_marks( } -void dce_mem_input_program_chroma_display_marks( +static void dce_mem_input_program_chroma_display_marks( struct mem_input *mem_input, struct dce_watermarks nbp, struct dce_watermarks stutter, @@ -963,7 +963,7 @@ void dce_mem_input_program_chroma_display_marks( stutter); } -void dce110_allocate_mem_input_v( +static void dce110_allocate_mem_input_v( struct mem_input *mi, uint32_t h_total,/* for current stream */ uint32_t v_total,/* for current stream */ @@ -1005,7 +1005,7 @@ void dce110_allocate_mem_input_v( } -void dce110_free_mem_input_v( +static void dce110_free_mem_input_v( struct mem_input *mi, uint32_t total_stream_num) {