From patchwork Fri Jan 8 20:14:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359051 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855918jai; Fri, 8 Jan 2021 12:15:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhv8tguvlKM7XBiWLiNVB5cMvPMZU0OWSd92jciTTadGdguQNXRuHGU3IMMzGFDFp39TH5 X-Received: by 2002:a65:4105:: with SMTP id w5mr8729015pgp.52.1610136950676; Fri, 08 Jan 2021 12:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136950; cv=none; d=google.com; s=arc-20160816; b=js0QB/sKkKkzVPP8dGMIJkk/yxNuPZXTVlxbcdHYQl+kW96fGvMnfxbvz7ROLglRAE CELYQPKGKu8H3FTFHrLDbsH0pjn0mhCoU/zawyfqK3mLOIeASfYmRgsvhdoZn7etTc+X K4W+8npByLxNgBNqIxZqotgLerfHx+E2mmQZrGhkjRJ9P9p63NMjqRAn1u7cFkfohRee ZRiYNywmOpEU//ZbVlmvL+H6RMQWHN6n9eErBZqHoO3eEQxeqhByDKm2PSBnrWFnoRJZ wt/o/O2glPBKn7TQ8WTd4MoWYyT56D9CscAlDmxxuXnRN8xPuTpPfkbaGep3w9CpQ4jN j6bw== 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=dFi2pql5NyNI8rQVsiAgbHCbD9mGPiAPSmfIzOJaLT4=; b=kRFROTyIva74Dc/L+RdFOJpEmVtqw5m/xPEuSsz2vpVFo8+NlMBijAuSSpjmi7bmTT qHVjn1ltVwIWh8/JbSUPveT3RKLPpuYvMZ9/HpBS2yr2Rs6swTKrN8BF6dLL/B+p8m6W SRaMjVV4W3A+vTf5fwMRDhx/7g32aA/jAdFrRiKdipRn/gs0bEIwgqj0ImgyqlzMUctb ncGo68LFFbzR1zgcmx2MHu064NEVzMS0SzcgRVPERTWLtCsgjlL6hBdRyaI8av90+Sg2 0GQ/6sVfn9HkACp+gqVt80DxrWYrazFycFYuYW0B8V+QFq7SnjJ6EMtRs+v1/yEdxceE 5NuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DWuALbOh; 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 d12si10374356pgi.443.2021.01.08.12.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:50 -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=DWuALbOh; 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 33D516E8E4; Fri, 8 Jan 2021 20:15:46 +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 7B7026E8DF for ; Fri, 8 Jan 2021 20:15:42 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id g185so9442006wmf.3 for ; Fri, 08 Jan 2021 12:15:42 -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=gUGfQYc+R1dSwJCy8EOZsDxk+j22XvGXIhAmHcCe5cw=; b=DWuALbOhM66Bs4VwVlyplT5ynHt8NzU3loaaZxKRM42BP/MjWrJmNNyXEDNQAWWUgJ AVVbyPb8jiDbNhUJkj4Gmsg7VzT3+WI261d/9SWtCnnkvlsZNNbXp0ehTrZASSv6Rrkv xiAVooMmLYM8rmb8ZwAnTu6rPmRD9O1kjkhFONkNcdyv22UeNWhpzZQJwZtq11T+Q/UR emEiXSKaK8tShQ2wut5xKFCiNJ+IKcYdMGxp3TkIsfzVueHbBGvpxrnmZ2nVdeC6X1vV dDC9x2dPQxojVJcxAbk2qGprHLHKrqdzLejDbibsn2hUTXEt+V5wuL2hydI5G1bhoXxX Oc7g== 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=gUGfQYc+R1dSwJCy8EOZsDxk+j22XvGXIhAmHcCe5cw=; b=ljJCZxP5V/EEwfVN4LmlrPwjwycXHngoV2OUhr1wAGs7ZpPdwYu1EIDkURqkI6AEn4 WogJuSqa81RceDi//+zE0Zs83/ezOwTwlcoST4R/vDafSm10qJy3cpq5NeM35sdWY3DK gQ2Aw8BDkwVDHPgXNcdjNcgO2fxbfrV2avCtEM8TZ8oR0G8bi5P01PXJeneery53qvH8 S2RnNBEV/pOSeYcYt8dBduOu0pX+fiy/VZ7KQcugjk/UBfUKYAFYrfcvAlnCUAVutzxl ItDVMuqrTBM0iy6vaGCksA8jNM71i3uurKdUj0tdX3O9PdfO7OoKnqYo/KL7PVFj62Rv W/Vw== X-Gm-Message-State: AOAM5306L0WMOK3Hhs2FhK/krrUXSP9GZT4n74f869HdVIoJGk7W12pe CEmYxAup2+EaEi5C+7VhCl1UTg== X-Received: by 2002:a1c:9a57:: with SMTP id c84mr4347583wme.183.1610136941141; Fri, 08 Jan 2021 12:15:41 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/40] drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static Date: Fri, 8 Jan 2021 20:14:42 +0000 Message-Id: <20210108201457.3078600-26-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: Leo Li , Mauro Rossi , 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_link_encoder.c:1200:6: warning: no previous prototype for ‘dce60_link_encoder_enable_dp_output’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1239:6: warning: no previous prototype for ‘dce60_link_encoder_enable_dp_mst_output’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1429:6: warning: no previous prototype for ‘dce60_link_encoder_dp_set_phy_pattern’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi 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_link_encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c index 210466b2d8631..0ef2f4d9d8bf3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c @@ -1197,7 +1197,7 @@ void dce110_link_encoder_enable_dp_mst_output( #if defined(CONFIG_DRM_AMD_DC_SI) /* enables DP PHY output */ -void dce60_link_encoder_enable_dp_output( +static void dce60_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) @@ -1236,7 +1236,7 @@ void dce60_link_encoder_enable_dp_output( } /* enables DP PHY output in MST mode */ -void dce60_link_encoder_enable_dp_mst_output( +static void dce60_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) @@ -1426,7 +1426,7 @@ void dce110_link_encoder_dp_set_phy_pattern( #if defined(CONFIG_DRM_AMD_DC_SI) /* set DP PHY test and training patterns */ -void dce60_link_encoder_dp_set_phy_pattern( +static void dce60_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) {