From patchwork Mon Nov 23 11:18:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330579 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907228ilh; Mon, 23 Nov 2020 03:19:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxh/XJ99aNqfTNN4uvNFdEtZO9eOLQIlRcgGdamVDz+whv6g0cLUUX2nJqlXKqEiBQzDFlD X-Received: by 2002:a63:6585:: with SMTP id z127mr28354063pgb.210.1606130378813; Mon, 23 Nov 2020 03:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130378; cv=none; d=google.com; s=arc-20160816; b=auYGJNzIfhOidepKQg7pOiqUcar1YDKQcr0yF0jChl8cmm7je8LmsxQgdeTmLGmY7R KEfKjAxOzt68MZY3oMjnjgcQD6djdC0RIIfOFlm5HcdmSv900RQLT4JGq5+h5NwPj8Kj MrWBb3KcEsjd1DfvORu1FI1LTjoN/39EDarOnOXMO25eIDE+A0J06+WKU5NDP6xqONI0 mKeCrzQpwuALW6Dg4hDesggenGeNz6yvwV67fAgn7o8A6FocQXf6Rbil5Uxigf1Tu9gv QyRgXacr9hDNMnD7FRkVTsqNLj+4lKR6UnClxDkQAHCKgjQO72Pw0VxtwEudh9q7b20M oKyg== 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=vw8aHwaVSXW/RvAP3UvGFSFSDShzrBILAOmOB43T92I=; b=ubs5JBmWUi/KJCjo5Lm1MIsS1Rt+F9bYLFODYsqhTZpR431ScVrSBcu8zB+pz67V3j 5b8Sd6jRwcLMsY2BJlELY6dsZWQvW4DJmYqEWlUOIa+HxrF26u8baoy+gkPvVEIZwAVR 0x3czWfwSf5zuKolqNT0J5QW7Hq4WLtWIfvTvlnh2ZpDoNYyTquZB8yjpd71KtWmTt3r fgE/Pr4lkYtdDTmSU81ZxyAws95mcJsoWx8I9kZYfgjEtJs/x2q/Z/UuxL7Ae6RJJIRW wHN2Nt0pkK9yB3jFXv6enoDYNl3+hRGUXkoX7APybiJXuHYp27qtgfj5brKwGlFJU5Ab Mlrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UzyDbEtj; 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 p4si6411556pfp.244.2020.11.23.03.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:38 -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=UzyDbEtj; 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 653A0894E7; Mon, 23 Nov 2020 11:19:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id A8CF4894A7 for ; Mon, 23 Nov 2020 11:19:30 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id p19so12926394wmg.0 for ; Mon, 23 Nov 2020 03:19:30 -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=ZPHwGts/M0okAx5StN5/QDa0j6ml5tJRffeJmqdhnEY=; b=UzyDbEtjw9EFf5YHCxgs8oF8pOLnid+3lYCSPIblTdPw6D0UjMFPSambM0pxcvoVId yBF6s4V7I0DZ24qAxuE+t1eTl10NX3a00BZ7ZvLaM0BYPP7yQMpXrO+z3KGbK0IyiCCQ zgTobsZex+ZN7sIQkC1EZVY9SOkieJDIwWXZ3h06Y6yBmTNLpqi0xGTdYF7VqGcK/Uco TUh+AG1KY7n3afiVLwCUjUfdO3GYkgo4iM0HXLDBmC3TmMOTjRRLFl1mgUg5F9lrpeC6 XZVWX7JAG4VgebsWCOafOCt2rtluZltcp+0plTVJCkksuN1mscYZvfbh1aauUdFBo0x1 pNoQ== 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=ZPHwGts/M0okAx5StN5/QDa0j6ml5tJRffeJmqdhnEY=; b=a9oA35g2L68nWSzuiSgxvvI4HCsG7Daea2JNbNvyIAASBjknSpTz6YqT9XxxA+35P1 lAsQz8rPeiff6wXdEjTUpDecloGUaJtYFX+rqEVd2Zqae9HiqffN5D7KUDoAsErCEYUP vWPQZWJlOFUdGkYz0KwduTP0KO7H/nebjkw9ZIol8aM1YTwAeh5eBEdCBUAgb6KCnt0U G9TenYRuVxNs2hzMsz5Irfs3jWDHeJlD78oDvF5W994MVjyyl2Z1KV5WAfdClLEdF/sv C3DkDa951yd1GfAxpkynZwSF02D2kzZpXwwFwk0ZwCP5HIPVMH1+CeRGJFobFrALXohw krKg== X-Gm-Message-State: AOAM530YbTIixvQbWCCuY+W8CSW8QlfpHomkStNrOZoULFmFPpkfnD54 5Fgqcv0lH8s4hQQiJhK3uaAAIw== X-Received: by 2002:a1c:41c4:: with SMTP id o187mr17634480wma.48.1606130369392; Mon, 23 Nov 2020 03:19:29 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/40] drm/amd/amdgpu/cik_ih: Supply description for 'ih' in 'cik_ih_{get, set}_wptr()' Date: Mon, 23 Nov 2020 11:18:44 +0000 Message-Id: <20201123111919.233376-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Qinglang Miao , amd-gfx@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/cik_ih.c:189: warning: Function parameter or member 'ih' not described in 'cik_ih_get_wptr' drivers/gpu/drm/amd/amdgpu/cik_ih.c:274: warning: Function parameter or member 'ih' not described in 'cik_ih_set_rptr' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Qinglang Miao Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/cik_ih.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/cik_ih.c b/drivers/gpu/drm/amd/amdgpu/cik_ih.c index db953e95f3d27..d3745711d55f9 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/cik_ih.c @@ -177,6 +177,7 @@ static void cik_ih_irq_disable(struct amdgpu_device *adev) * cik_ih_get_wptr - get the IH ring buffer wptr * * @adev: amdgpu_device pointer + * @ih: IH ring buffer to fetch wptr * * Get the IH ring buffer wptr from either the register * or the writeback memory buffer (CIK). Also check for @@ -266,6 +267,7 @@ static void cik_ih_decode_iv(struct amdgpu_device *adev, * cik_ih_set_rptr - set the IH ring buffer rptr * * @adev: amdgpu_device pointer + * @ih: IH ring buffer to set wptr * * Set the IH ring buffer rptr. */