From patchwork Mon Nov 23 11:19:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330605 Delivered-To: patch@linaro.org Received: by 2002:a92:cc8a:0:0:0:0:0 with SMTP id x10csp3429781ilo; Mon, 23 Nov 2020 03:20:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCOBaVQjAm6pa8Hcy7DFpm3CilDMs2B+nb56K0XzRwVcdzIdQX/euBQ4OCCsxSvB3SgsXy X-Received: by 2002:a17:90b:4398:: with SMTP id in24mr23428629pjb.188.1606130438227; Mon, 23 Nov 2020 03:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130438; cv=none; d=google.com; s=arc-20160816; b=ajOcHK/UgW58MAyuFvJZkxxbgvR1Nc5aPeGvqUpOIHFYg8Kr8UrbaCiSlKgpe6QqMu ZXKideHjvfib6CiVhnNS2HQ9vibkVWPR7lgUsCpfZVQpUWTmwh4iO7ynFy8z2mZpQ3ka cFIPVrbUHiBdWAd6yKS2xDkacEmunxI0QTlzaKIUltNH934lPX3Q9jhoAE83ZUQc1hNC c8jSdYGo2C/WdFJvy/HmqM8A07pl0ENUSwVWGtHCWofTJGqp+ESrJK5EsOKqIjz5oWee C3DehPHrgKhVMPGboL5qOJl8+JF26ZjKc/860gF8XTn2J4I+1/vGzhj0+4HKRQzp0ND0 +JQQ== 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=flKQkSsAaN9Uv3/u+psYlBqV64zUDDhGW656ttUvJ9w=; b=k2efdHRsumAmuB/oyJ3PDrULgfLnIylLlLRRoKkPNb2GnCLRQlUDLqbUFvdfDeqHvI uTBpRINGwIUsNrl1ULrgKUgxkIgy1fNn3BDrp486vOHCb7WbATgVrj2hX0Ez/jFtWAWp 4vX/yDwJWV210W0RyN6mPmbuD9uiFniZniKkIIOjUuH1XNRwtKrAZ+Dbbm0ZXOR39mqz YXDp+w9ALiNCniZfRaIau1HwzWZbj71R2uHvSnURVlp2Wo1nobneI7lMjaaEVUCstJI2 apLbPZvXfnggDZga1S4cdhhU7eebokLBZSBmxm981l6cgT4GMMQp5HgGPY0XU7whdUL5 tr9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lNK83QJS; 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 72si10231115plb.416.2020.11.23.03.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20: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=lNK83QJS; 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 6EB0A8945B; Mon, 23 Nov 2020 11:20:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2628689F8E for ; Mon, 23 Nov 2020 11:20:10 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id l1so18174057wrb.9 for ; Mon, 23 Nov 2020 03:20:10 -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=x7j4MAG3aMMAv+exH325swHGJEpjCRvoAo6+eP0jclY=; b=lNK83QJS2ndVONnSis4ixIX5b3SXdsncFYR912rIshpJ18Ac3nGF4AFjIcTh74QQTU WluvQPGONjU4NiFHaL4NTrNzC5IHdE3V0VQdNQ3pNKFyj11k+WjmlKX89yB5dimcFiov 2f+MUMxY1HN5Z5LEbCTgklsEbN10IyQlYZBnA9RD3eqC9W6IzpjireyMxOiBAt9eA88J Zj84a3y/mcHqA778ECrH8x2HuPUV/EFDP3URDRVk9vBqYxtzvTbcm587B2X6oGYOp9FV L7vr57zATASuA1lLNskOEsiqrz50jCw1zFOMavSoUnLiKimFhQkVlXh0nOwOOG+ikK8b XalA== 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=x7j4MAG3aMMAv+exH325swHGJEpjCRvoAo6+eP0jclY=; b=preVOpjVm/BnVCvl/DZhiHgrz7UmvN8CzKwrU3iMOAT1ZS0o0mk/rThFQsRBrwYJ0O q+RfM1GKf8/gPOJ1N1iAUHuAqegIv7YLTAHM+enQY4pajeB5VT+8kdi947N9YpmX6SDy Nd6NRZ1rF4TH/xWsKQ5+P0LhmmcEPo1H5p5VwK8fgVMu6bgd6eYBLVfjM+a4Lvl1I8WJ 2QVOqPE9God+J7KmuK9qcMeHSqBFxv0qtXnnRB00LuHBk1O/ZX0ZPJ3eGMSfDYsu7yai cCAXnAeWgcsM0XDMezZWe/UbLgfcsYHItu3ylViXwgUoYVBpriEl6H7DHR5AHIzNzcUG 7zXw== X-Gm-Message-State: AOAM531qC/0BwEvivYYYGlXp73WqHtwyZ9i4MQQVGjF38n3zgtnowBsq wDSfYZY7v83bmtKJzxiZcrUaTA== X-Received: by 2002:a5d:6892:: with SMTP id h18mr30002591wru.49.1606130408851; Mon, 23 Nov 2020 03:20:08 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 33/40] drm/amd/amdgpu/cik_sdma: Add one and remove another function param description Date: Mon, 23 Nov 2020 11:19:12 +0000 Message-Id: <20201123111919.233376-34-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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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_sdma.c:282: warning: Function parameter or member 'flags' not described in 'cik_sdma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:282: warning: Excess function parameter 'fence' description in 'cik_sdma_ring_emit_fence' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c index f1e9966e7244e..28a64de8ae0e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c +++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c @@ -271,7 +271,7 @@ static void cik_sdma_ring_emit_hdp_flush(struct amdgpu_ring *ring) * @ring: amdgpu ring pointer * @addr: address * @seq: sequence number - * @fence: amdgpu fence object + * @flags: fence related flags * * Add a DMA fence packet to the ring to write * the fence seq number and DMA trap packet to generate @@ -279,7 +279,7 @@ static void cik_sdma_ring_emit_hdp_flush(struct amdgpu_ring *ring) */ static void cik_sdma_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, unsigned flags) -{ + { bool write64bit = flags & AMDGPU_FENCE_FLAG_64BIT; /* write the fence */ amdgpu_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_FENCE, 0, 0));