From patchwork Fri Jan 8 20:14:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359030 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855516jai; Fri, 8 Jan 2021 12:15:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBsNkC5i3G1WOcXYxRj2+XaJ7FXflkY/t93A3BI5iqRuUtFgg60I0Qwv65oR1mK0hQ0jeS X-Received: by 2002:a63:ef14:: with SMTP id u20mr3139886pgh.93.1610136920390; Fri, 08 Jan 2021 12:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136920; cv=none; d=google.com; s=arc-20160816; b=NZHHILqz0/0o6L0pegCACwMzE2/7NHU4MIwAcNAPZ9eU7A6I0VEyn9SKPRLVqEU74q XJhVYTHOBYabdgaZ3q6AXd01Fegwzy0gPJ2yKSrT26WaFo+cLnZMWaFcHWh9MNyS7STV Et1TykrAFF8jzV5ZsnfO/Lx0ykAM+0Gt/BnIKupGP6l2o4kidGAib+1Ij78UbCpy4uPZ /TMVbvUg9qGs8Hw3wadZBA+BSzizrRBAKtli133Vq/gBL3CoMxgVSawXvP0BObt69YUQ a2KdE8yhvz9VkqXUHBE3ddFLwNWJrIU5sTsHWja0/WcFA8zAwImOyLApag/5uj3e+X7K gw8A== 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=0KkGM2mWjVPSvLlZjC49j+YE8C/5ws0+LqXVuouVC0o=; b=E3te+U4QwvuvuqvNTha/c2Bz+39stTVrlHwiBSQukm2M6dGN/7alyldGqFc6Qs0CXa BFOv87QIKUQ+lg6Q2Oq0kNTQSuZGg3+f66l3qiuLcPN/Jfn3ggyA+TIq+6wBAS8GnDrQ ZVhV0iBuSunfl3C0hTqZQCcVzxQSH5777J9sAAdB/nqgqCb5FX4n/x/woak9YjmUDN78 DH3vtnVjZqZkpSbGwiHS1lH1SkSmQ6v9pjVcZ1mx7DRa8zn0Brr3ozQgak3/LZaMaDXW xJc6v0cojjE86lh754NMru1kvgTwaS8lG+JVO4hihiz3y32gUVfhz6AQwm3aH/rvmHtJ nRTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=C8oQ5FPc; 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 z7si6179777pgz.556.2021.01.08.12.15.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:20 -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=C8oQ5FPc; 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 631EC6E8CD; Fri, 8 Jan 2021 20:15:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B7F76E8C3 for ; Fri, 8 Jan 2021 20:15:11 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id v14so8749926wml.1 for ; Fri, 08 Jan 2021 12:15:11 -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=2u/LayQzAWY4TNKfG7PHD7/3//FK6Zy4l1U89GrL1AU=; b=C8oQ5FPceqRzS1vcOvfKUF5XvX1ZAR7TWwHJd/zeta8nGuC7Y8Rxdc1VrQ9hg3sTj9 Z+AJxpC37ZuIHfp6IEGutLehSN1RS71qWCfc41gtEvSu44qkydWWUx6irE68vDUaj6ZN KyBk+FsGVTte1VzCr0gEuPR3jZfzmd/zGs36S9ssPC/9rmfbEV+h70t+i20ZbGr54lwk uE29yLlehTcswauyv6jRU2EZHCGseExxnpFbO+bid4hzfxJw2Y30IwaAUdHkaryLylZV OfDWoiXw8s05ynAKqCBvqi9ekzulnXtGu2ZGD2K5Jj4VEs8GNOW/3H56k+mIelFljEN6 VScg== 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=2u/LayQzAWY4TNKfG7PHD7/3//FK6Zy4l1U89GrL1AU=; b=PaDGC8yssE8NU70MIKMVtN1RrFLXkC43KSLqYI7NkPdInRsfTRssEjuRqS1FP1QFIz fVpQCQGBIONJoAGveXREtPhYZ5uBvb1AuBcyDZ5FEdikw++HIEmphK4fHQowgXSD2gla D4omEMa94L0lmCN4B6BNUPQjOXjiuM00/NdDQDoBeWWkQOexdoLtcPukhxUnhB7HJdri fY9102tJQ2apln8PtjW3wh301V90bFRKk1Wky7WTH7e6uE/wnYixRxt3KD9Qq5FzerqJ sJ9D9ghWorz0ikcUAbMjKW3rwUK5i+d24lC3Tc9qwC6PpFgIcykSiCS2H2E8IG2VkuHT S7gw== X-Gm-Message-State: AOAM531qTL5wkB/kduUEszG6ShIK98w8GDZeqDFRlaSZ1mSy5kxRmJ0w PVSJE1MICpa6vpm3keDBx2K07g== X-Received: by 2002:a1c:3b46:: with SMTP id i67mr4349396wma.108.1610136910141; Fri, 08 Jan 2021 12:15:10 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/amd/amdgpu/amdgpu_ih: Update 'amdgpu_ih_decode_iv_helper()'s function header Date: Fri, 8 Jan 2021 20:14:21 +0000 Message-Id: <20210108201457.3078600-5-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: David Airlie , Felix Kuehling , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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/amdgpu_ih.c:220: warning: Function parameter or member 'ih' not described in 'amdgpu_ih_decode_iv_helper' drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:220: warning: Function parameter or member 'entry' not described in 'amdgpu_ih_decode_iv_helper' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Felix Kuehling Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c index 725a9c73d51f0..dc852af4f3b76 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c @@ -209,6 +209,8 @@ int amdgpu_ih_process(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) * amdgpu_ih_decode_iv_helper - decode an interrupt vector * * @adev: amdgpu_device pointer + * @ih: ih ring to process + * @entry: IV entry * * Decodes the interrupt vector at the current rptr * position and also advance the position for for Vega10