From patchwork Wed May 26 08:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448145 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017105jac; Wed, 26 May 2021 01:47:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGt4+9hXxB+dLL6GWf4KHq58Zy94QRVQESct5nwrQPhzGKiMLPPvxi2tZMfgsD4DokJV1P X-Received: by 2002:a62:cd49:0:b029:2d8:ae8d:6a9f with SMTP id o70-20020a62cd490000b02902d8ae8d6a9fmr34372076pfg.50.1622018877950; Wed, 26 May 2021 01:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018877; cv=none; d=google.com; s=arc-20160816; b=sawhdQAoQJfUOLe1CGQusdV7lMGR683nirhqnxOnoW+D/zqDZYgAd8JP40zshEcuuP k1PEYv7ojPtXkiP0ucrTlxQRMjzw2+C+LEFl8f+3j0Cazzxf8dz6bD1ItQd1pC+mGtEB 45QI0Gk065FR8rHfWNokFUyIW4kFq1fqS19WW0FMWdsQvSZFxVDXqhDioULHssSIERYm Upp4hEDzWUwoO/LeGoyNU/kUDDyddncWPiDFs/Yfj9iObIOJHJjX/AhQ+l2BadOo6SAk np10brzJ5OwnuPfKoxL3Kpbef+f4UbbV7tAL4zV3zVpy9qBFw94AfnGiPlOtioLAfgxA Tl/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=eJhwbPGyFlQkRE8vQsBhpFt1dp/iApufz1zxAl0egVbY1a9cX5mmkyBTj7uzZcwsJX Ey3KHsbnXqO4jTusO3rj6nOWaZUV0XbQ7lxVAJQn3wjPzysXR5FAFdsIq8cTeRbxeS3V pZxL9vI/hw3BF7754zVaRsZVycBafjqcFSk8GealHr3mEJVsRYuOySpmU8mT1HuDiPjq aXbQziECuqLgxwi7l2i5jvGjp1uiw+fWYyMqiI5djOgp64/1TPjerSHIZeY9RnOIlED+ ptm1EGZmEmuxYS3DHdGzltgXX5kbaKGTjn8JhQKCWJF+2L1JO7DNtMAPwV9PSgLGPaHS iygw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=h9EonsBw; 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 c22si17940119pfl.218.2021.05.26.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:57 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=h9EonsBw; 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 E47A86E4C5; Wed, 26 May 2021 08:47:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC1F36EC3C for ; Wed, 26 May 2021 08:47:43 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so54575wmq.0 for ; Wed, 26 May 2021 01:47:43 -0700 (PDT) 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=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=h9EonsBwz/L4qhRXfcmGTgEQaj4rDXaTaENbNk0xlbWhzOzw3iokduWpAr1XGqvUYN mCQkU7iW5Ma/zft9eiE3GgFXXMsv0TDecBvlMSmwZWwY7ZGw4yQ73VZqRG+4OGWcHcsw AZH1HqlOL6gyIIGI5k42oq5XLy2rYWrZmQkya+Anjm0IScxY7bMXLGi+fvFVR0BAATM5 14SQjCaAeDmemdH/qHWXKgE/GLkh/lKQILaBoIVP1pkFXhTxLckAaIcg+AcEPnrEv4re WgukuG4TDE9/Uz7FvNnqB9w/Mk6LFDWBrDCr+Lz0T2ooic53RQuR70abTxVsWAVfvGkc CBXg== 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=X92MMk5kMi/9Whx04jPkFETzN+cajEcLCrynmOFE/4E=; b=ls2V4ZPLOT/0J/uAigrtlJr/Z9zUTGt8dsXGkg3qz4nEQvodB6KQ6ibbzh02+Q0q5l fNilAu4K6oElrZX03xdkhtxHhlXWxvxbFHk/JflClsZbU4JdmO910PLYdsSjQn/97qjr rcOl4KN3jdvhQFpPIhWW7thHet6KJc8JLUmhLxTuLkol8xxlM4RABAqdenEvj1MrzB6T o9moC6984xDytj0eDD1B0tlUdQ8YJOotuDfm4oWqMY6tSPzYGH12tH7HzOMUafmqiyZH vvl1cu0jFfgYcc+mOsT/6vv3Z7sUzXqeTlh+UJ3isPMkA6h/l2BHDsLd2gLWuyrErEME lDeQ== X-Gm-Message-State: AOAM530YqplQJX+D9KWjyodOecUpEJoa7JxqPcfq2mh3w23YTEvmNF9U 6LmlzDhMqWK/lplU8j62+/2P0A== X-Received: by 2002:a1c:e284:: with SMTP id z126mr1717471wmg.108.1622018862620; Wed, 26 May 2021 01:47:42 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:42 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/34] drm/amd/display/amdgpu_dm/amdgpu_dm: Functions must directly follow their headers Date: Wed, 26 May 2021 09:47:04 +0100 Message-Id: <20210526084726.552052-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-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/amdgpu_dm/amdgpu_dm.c:608: warning: Function parameter or member 'interrupt_params' not described in 'dm_dcn_vertical_interrupt0_high_irq' 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 --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index b4e95d3ff3b88..ae0a95c5f1d8c 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -601,6 +601,7 @@ static void dm_crtc_high_irq(void *interrupt_params) } #if defined(CONFIG_DRM_AMD_DC_DCN) +#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY) /** * dm_dcn_vertical_interrupt0_high_irq() - Handles OTG Vertical interrupt0 for * DCN generation ASICs @@ -608,7 +609,6 @@ static void dm_crtc_high_irq(void *interrupt_params) * * Used to set crc window/read out crc value at vertical line 0 position */ -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY) static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params) { struct common_irq_params *irq_params = interrupt_params;