From patchwork Mon Nov 23 11:18:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330587 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907415ilh; Mon, 23 Nov 2020 03:19:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyDfH2HAmSY8y/UOo5r2Cfo6V3b7kCDUidOG5AEBYN7r2pEtARU7WZHmLXPQk1acZx1EOD X-Received: by 2002:a17:90b:784:: with SMTP id l4mr23978628pjz.146.1606130394606; Mon, 23 Nov 2020 03:19:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130394; cv=none; d=google.com; s=arc-20160816; b=m+QYeC2BJH8afPbyfmDK6X3kArCgKj0F75GpDcbu3Xk03DyEOIA5a6h4DKGG7itg2G +n2FKBrH/iIeyrP/lflOJszUpLkMgNr++9RVyzpX7IFA7TpjFXubAE7fG1g+XOfp4oX8 tPbvYzfgUcL7ECE3QZIbD/ByCoOMCnZ9p5t4XluaQFLkvyhXVzpGKAavUS8nXyYwsRkA HYmhLhhs2efUYI4lSc32kOc6gJ+CMZLAzvyO34gXJYnSyuOHd8Y96x0l0KK6UhxDNCmN yoA03E3xnNSjekdMViMMMq5taL2xN9y6eN790EufCF2fBnEphqXrODemq25DPQNmzsVL b28Q== 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=DKmGRytpANmENUwNBdz0DfQPKDwhGK79ZkRwSpoJK5Q=; b=T/bChKKiLROKic3oZmyfwwJhkV8eK8xRL9bD9M5Jv0jMWyayOj1hiXf1F0BTnZOcte M4YthFrDiPAd7dgoQdWcHyz42to8DVbKeBtiA9wfTBCKdurPForR5PWDWchEAgRo4Cq7 h6pAGlSWkaxEcqNV0kmV4IimAk3gwrQaTqLFmUHKB3sS2jJ922vHFfkk8JpDljBUOoDG lIxrqerDgr/HGYtCv5nz5DaeXss3nalqCGINpB/IMmUqyi9U/if+ljS++xFIg6hUdUyc 5+85aZd6O5SZ1MQhrfKICrIdaa72lQMCbskQsTiMcPpSE2y2X4ZtsmOTetBYWXwYXyMG TbJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bmCfHxZJ; 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 l23si5564492pgt.337.2020.11.23.03.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:54 -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=bmCfHxZJ; 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 E19E089DA2; Mon, 23 Nov 2020 11:19:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id F02816E0A1 for ; Mon, 23 Nov 2020 11:19:25 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id 64so4789033wra.11 for ; Mon, 23 Nov 2020 03:19:25 -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=yZm3HjDLtuJtZU/XUCLzOUL6uLBwe5Uw6r19LFGVc9A=; b=bmCfHxZJ1vAkBYRpM/TJqbpjN3yQIiw6Ll3iX6wkxuI8OSLnT++wMOyhXAGOSa207/ 9dmUzZzcImyF/HxDtNRp2NJrhQErZx/29kkI/jQGOz4eqGgCj5IxH78nRIxI8GLLRvA7 Xqgljx5855/GXYD9i/gx+o6tTuHJARHSzgqwjIF6Mfru8W2jm8mGAS2XywvDyVEvDIdN HuLEtfpKLBl5gXhF/mTVbf/GDxRZB0aWa1LmYe0k+Dw2hcQkRexBQ5viKK6mcu32KzCh XDqYcnQowCiNtR9Xm1JT/hOf6PDs4eU3SmxURpKV2V/CY2HYB4beM2egWgC8qFK2SHAl k8pQ== 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=yZm3HjDLtuJtZU/XUCLzOUL6uLBwe5Uw6r19LFGVc9A=; b=ROGGKaBdit6mzxqJF6ONQjcEP2a8/AcIwFHQ/XE8vB3CODj5PUaQwPuHmnCpNCJO2w nxD253l2BGC3xCnrfrOnzU+AkYYk7I/ntazIgeWP1U5wbP60HzkrMfzusDXLgPaLHTk+ pnr7v0OA1FRB+pALOiwW8qoxembg94YA2XuHfRM7w1dW6QaSMG3ieBxAuQMz6wAEEZ/b LQWq3JJKpQrBIqNDiOxigMKU6VvEutRp5hLhQz+RZ9DAyxbDNPwUfB2kWvKNEcCFAtky LJxCLxZX72QI2q1Wt6Yk9r82Vg2ByHShiFFr2PdYF1dCZmVCVycgRWEsC+nX5BVBDwFX x4wg== X-Gm-Message-State: AOAM530Y52gJW7ZCPl+3n1iCxs/Ay/F+GHTiNNv7NgH7o99n2UeyaHVY ScMg8B4RhVb1tj7iPelPFtOrug== X-Received: by 2002:adf:fa10:: with SMTP id m16mr29521329wrr.194.1606130364573; Mon, 23 Nov 2020 03:19:24 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/40] drm/radeon/radeon_device: Consume our own header where the prototypes are located Date: Mon, 23 Nov 2020 11:18:40 +0000 Message-Id: <20201123111919.233376-2-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, 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/radeon/radeon_device.c:637:6: warning: no previous prototype for ‘radeon_device_is_virtual’ [-Wmissing-prototypes] 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/radeon/radeon_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 7f384ffe848a7..ad572f965190b 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -42,6 +42,7 @@ #include #include +#include "radeon_device.h" #include "radeon_reg.h" #include "radeon.h" #include "atom.h" From patchwork Mon Nov 23 11:18:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330578 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907193ilh; Mon, 23 Nov 2020 03:19:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxbZqMd0IqL3GEK1s6JwjlJxC2Jsa44hPffLPz6Wn02Q0kgX6uXP0L63q3PkV6esCxE/7N X-Received: by 2002:a17:902:9307:b029:d9:d097:fd6c with SMTP id bc7-20020a1709029307b02900d9d097fd6cmr20193022plb.10.1606130376648; Mon, 23 Nov 2020 03:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130376; cv=none; d=google.com; s=arc-20160816; b=tloNiKrEuxcuJgGW/kWycIm9csfgpgcC5yr3hn+aWvoPkoQC84paZHXShtw0NQcSDK sbYe0SV7jKLRI+iYj5iwVB/gpKM+LTAPt7I1rz67uuE4vzMvu2fvXPM5VGGqZuo6v8WF vH3cBm2UMPjpJo2MW1tuRpHea+vl0EHEqgxDnQKT8AKuVaLDix+tXx/7+RoYVyzDYymI KWZgMdas+fa9oyVYFRBT9nwylMaXPikGBMV4DptN6n3P/Bl93DUnhvoobKJCq1LfZfTA 96EwOv5cSq5Ul7ilecqPlSVXRcJyi+Q39js8L+yeZf+2Aqaj/kyAT7leoTvSe2JPn3YV b+Zw== 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=IXziVReehc+Hy56zTuCqtW4zy2aUMSgl4GIDBgW3tNU=; b=aPH+0xZH6rL7M8NVs7EqX/g2/h3rqJIapi9SiE1S5Abwz4NEKyugCXsTxAaJ53H1WO ecb51NuL5JXIOYfuoWo3X4aGtxzE9m6qzw/4PrzjAAOeToBYfHzGeMc/0zNZTJm6/gXy nE9ugudl2LXRVWxeJPPlb/r5woxyboEmP5TU8cQAjywu27E65LqST0v47RepcYRnRXtu uMsBeVnEU4PJuK2B0hHfP9fWx+YynGlSMsd9uJtaXcdllNEHY/o/33ZOXgUPW1M/cBnm XxNjvvk7+tf7qx5ajJuKa6fLo9aXXFDgRA8iwDe9ly8+rLi2hksF9nDKMOlVkYym2XPO jUCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TgHaHacy; 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 o16si10953377pgl.449.2020.11.23.03.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:36 -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=TgHaHacy; 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 F35EC89175; Mon, 23 Nov 2020 11:19:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2956389155 for ; Mon, 23 Nov 2020 11:19:27 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id a186so14724827wme.1 for ; Mon, 23 Nov 2020 03:19:27 -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=NbI9YC4DXS8pP98pclydp8H5GArZ+B3FbUQc6S4IogU=; b=TgHaHacyuHyhuNT4t9k91sNsSIpxd1Xx/c4tP8EIQStq0UwNaFNTtzx1inmxtzd/z+ hTIUk4QzPFZlQbN3JeRLYKzRVM5heFaIzctXY2wjwiJa75NUFDBbhz1kBpe+fkigDbqR +IYvmWC8XLoidiZJ9y0u7Id3jLiYI3c4OEm2Cp4JCnG46l7ptAU2mg4M2/q/bMY5Gweq N4vdC9Ke3ayBde0o6e+AOkdfsN28DA8WZnDsx+d5TpMNMR9uD8muxAiqbRl3vGK1KbMR dVqYtPckmZad/rzSqNT2T5r0Y7dp18r2rxnD6Lv+/8dR0Xg/iiHkNHoCoACfq47nfwwv giyg== 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=NbI9YC4DXS8pP98pclydp8H5GArZ+B3FbUQc6S4IogU=; b=QrfharvGo+XhTEB5DzweKaVMGcTH8YYO1MKBJtqsEP0tXUJWVQYi6oaDhYVWUjXYZu jQ9sXNEsCrLLGvSVlpiF/zU9arJOKTfYIQdtes5Quq3/xQ2UXKizA9PmNbxcvKaWQrdg QLsGC0dEq4LUFex+BqcJ8Q1e6R6InNnhdB7i0W8XPJemLqtlQCoGZI+7ExiHoTo3Nwqq /YEeyMbs/DAA+Vpp2DYri7IaRzTdoMzpMniso1S3bXvYRU6XKyKGc9Q48PMJA/AvHS/j sbubOYg+i4oOSHN0TJl8v9rJbe8lOg4khjD/ymKS1wDUqGzwqkPwkuZQv/Cv9OgRnKXg YYWg== X-Gm-Message-State: AOAM530OgaA9p7UxOdilRWF28bZ3okoLgVvqN30EkFoaC6N7w+eqNRUP RmHpnEic6fIlO306LjQaoEYrcOV6H+VeLow+ X-Received: by 2002:a7b:c00b:: with SMTP id c11mr23291836wmb.175.1606130365809; Mon, 23 Nov 2020 03:19:25 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/40] drm/amd/amdgpu/amdgpu_ttm: Add description for 'page_flags' Date: Mon, 23 Nov 2020 11:18:41 +0000 Message-Id: <20201123111919.233376-3-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, Jerome Glisse , 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/amdgpu_ttm.c:1214: warning: Function parameter or member 'page_flags' not described in 'amdgpu_ttm_tt_create' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jerome Glisse 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/amdgpu_ttm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 5fcdd67e5a913..debbcef961dd5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -1199,6 +1199,7 @@ static void amdgpu_ttm_backend_destroy(struct ttm_bo_device *bdev, * amdgpu_ttm_tt_create - Create a ttm_tt object for a given BO * * @bo: The buffer object to create a GTT ttm_tt object around + * @page_flags: Page flags to be added to the ttm_tt object * * Called by ttm_tt_create(). */ From patchwork Mon Nov 23 11:18:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330577 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907156ilh; Mon, 23 Nov 2020 03:19:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7joYh1DrJvp4koFp3XQHYD5EZaYnK7VshBjzQRwc9q8kA3HU7Ej2mxFYRtvMUgZxIiFh1 X-Received: by 2002:a17:90b:e05:: with SMTP id ge5mr24748244pjb.212.1606130374049; Mon, 23 Nov 2020 03:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130374; cv=none; d=google.com; s=arc-20160816; b=MifpTnHdvwWECoXQNgawMl2ZW0FrB5jWcc0FWAxXn8ejzsMj/EGHL/DM2mcXg2xZBM 2Lw2ZnrXGxH4r/89mJW/tAYZwEPai/G++9D/YDzXMIkOjtb/IBAOnxPAgmFCV9laRWTF SvCD71kKuMhqeHll8XWK5TYhuI1hAMkPn09dKtswzkO2HwqyaSBKMUwiwiKB2QoMt51i l8+WBanz2vB5CHFEMywRGSsoulF4xOX8nUCb7gXzFTpMozD4vsj6bLUzTU6CBQqVYC+k mxurpq8mNvsHUtocYn8hqoKptGneVrYnO0ylvia84EthxR29BvZxnENR7M9D2ftoyXzu 4VeA== 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=eVxHsZwf5lQAB/yNnje+CEn3Fb0OV8A5I0hI00WvtIE=; b=Bflus47p+9JOdJ1APoWMQqhhsJ6l0dT0+vFmhKrEuVFva96LkNYKJFW/AM0WURF+rh TAGMoev6JYv3GyC1EOJl3I6Xz2q9WVZfY/Tks4Yv5T11nLTvdOKe8iwCelFCKhRfmc5T nOBypHeu02ZO50F+bwpABUL5Ive/0klKZIb0+00fOsOU23UHI9GcJd/pxSyhuNsxo2vP aIQGjzxC3x6yBo6FNxJBQOyWz2Lir/13nHG7gbYSzK0bPOBHGqTdsjVFIVlsUhCmALOT /x3BzcMxaF0FRFNcOeM0WsPlVkIo3GtdYqc+W4MZyAFyzASyryzjEK3ld9spPnEwqav8 VJ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zQXLmgbC; 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 t9si10475928plo.340.2020.11.23.03.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:34 -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=zQXLmgbC; 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 CAB6B8916C; Mon, 23 Nov 2020 11:19:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 54A728916C for ; Mon, 23 Nov 2020 11:19:28 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id 10so17529458wml.2 for ; Mon, 23 Nov 2020 03:19:28 -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=Aak1C5AROsIvSC+gcDbF5DK1OJsF92xIrCqFvBLF46A=; b=zQXLmgbCPdBSYkDzMUUmb9OMYNzAd9s1IP7it3fe9XT/V9GoG2disqTb5wa/JjkWa9 n/jZa6zxmCNpvPvcyz1r7faJ4gWimYqeWiS8C0RyVvKdGa6FjJU9OjP+8WMK2E3RyS8b Yc6Y9LLhLN5636l3WW191hBEQ/rQE68cFW1YNXywf6Zhc0g6ISACxJVVW6TwmToiGTpt g7zqnQbHkoKDVbbtUeoiFJP/Vlc+ey0E3AgWuX0QTviMzXHruZDJsUpseTRYgYmOhcYQ B8jLRV0eqvVTaCO6XCFInlj0sYY7pgadoxGh27YIK3rJB9D9KPGTFLGwFBm9A/bikrx6 lLgw== 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=Aak1C5AROsIvSC+gcDbF5DK1OJsF92xIrCqFvBLF46A=; b=oYNxv4lPD5u6lztCxTRYDRXtmPPvXgXUaAp6n59HWX4MyLXU/3LetYglmtrPuYsn3x sI74i5+YwTjDvud5gf+J3Yyor35nc032VdePEspsyMZZrqwKNkE1vfOHDe3a/M/+VpkL 2lHDynRlY9Q4FY+u00WZXyA1OtWdHkPitCiu20D0TK3tlPsK/ATECehW0CSCjEKs++xy ez03g5WmwHURDemCsQKADIUn59bzVVA8qmNI91Cua5W7OicuLnOt/ca5eh4ge/jBEKWm pfBmil2neNUmesVrmmuwOaiXzbapt+8fjr9s+jjUw/om72AHul0hoM8AvNyxCuWnsiC7 tMaA== X-Gm-Message-State: AOAM531pfeakJzFOCw1tJsLCGXsBNIpm0bgq9vagyuUKr6hNjT33FmFY h741eKOe53QVeMZIadDscWqRAA== X-Received: by 2002:a1c:4c02:: with SMTP id z2mr11190930wmf.139.1606130367035; Mon, 23 Nov 2020 03:19:27 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/40] drm/amd/amdgpu/amdgpu_ib: Provide docs for 'amdgpu_ib_schedule()'s 'job' param Date: Mon, 23 Nov 2020 11:18:42 +0000 Message-Id: <20201123111919.233376-4-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/amdgpu_ib.c:127: warning: Function parameter or member 'job' not described in 'amdgpu_ib_schedule' 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/amdgpu_ib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index c69af9b86cc60..024d0a563a652 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c @@ -106,6 +106,7 @@ void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib, * @ring: ring index the IB is associated with * @num_ibs: number of IBs to schedule * @ibs: IB objects to schedule + * @job: job to schedule * @f: fence created during this submission * * Schedule an IB on the associated ring (all asics). From patchwork Mon Nov 23 11:18:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330611 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414714ejb; Mon, 23 Nov 2020 03:22:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOG5W9mVw5oLDDKSmYYKyMeH7gHZhYmngMNrKQxZ9pbIef+2o0B+Pki7zHu75R0T99FoFK X-Received: by 2002:a17:90a:e016:: with SMTP id u22mr11804613pjy.195.1606130432151; Mon, 23 Nov 2020 03:20:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130432; cv=none; d=google.com; s=arc-20160816; b=Ajnb1TpeWzRu3tDHtU/Q6LTmUlyPw1nF0YRnrub+ZkWrzJ9JevSpxxtSkvm8Pv6qBM 88hhUHu/8mg07Xw4yFk8Knoj5+wKos/mz90Gs61lIw0IAt3LDtX39h1JqsT//Ssu3WLT vlc2I2m22O78NSURfhPDR+Y3xLSmhdHAHZQN1tDGdK6WBwBwxaUqGqkZNMvIYMauVpPO FXw4dUdkbJTZlZye1IAr0zA7Rb1J7O+5elf7dboRbr9oo88+0wO7A0bXJKlSEm+YRRGm eYW1ofFOb7y9jdiU5KokZ1x6Y6vwTmKpiRxFfGl2KNDyBClq3Zsd+9eA+Ki/c9Y/UIjT zJTg== 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=8c10N9usFfcXhhpNWIbtuKvuRwsddDE9OHOYtynh1II=; b=Cpg/O/ASwuoqK3PK6Y4ysgGAxfLyl/UFoPelmtFBCdHHqdgMJCRDra2s1UYDOgXDTf 9a//Nq3p2O1Oafm1M79weld9XR+O80/iV0GIrbGdKmd3TOBCkXcCGkvf/9Yr+T9UX8CA 1RbmRUgh9+OO+wuxZxiBry0c9e231vBy96r1eNdXHRUsk36b/ounuMpmIrA8FZGClIps 7jMNAdbyF4TsY/czGuKRoNC+wWIYCaAX27u7TRl6OYVQBBMA0d/6Rs2qxE26Mb/Kae1z 0jUdDOQ3el7rwavpFUsw/hhs/AA+745DlLOhuMDN9UxDrT5SUz2koSpJgfG9pprW3X90 hFhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=X7RnHup7; 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 l3si10161598plb.225.2020.11.23.03.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:32 -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=X7RnHup7; 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 B07ED89FE6; Mon, 23 Nov 2020 11:20:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 711F18916C for ; Mon, 23 Nov 2020 11:19:29 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c198so15633380wmd.0 for ; Mon, 23 Nov 2020 03:19:29 -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=P3B/KaL6lbZ9zuu2YqnYL7UVJgLjNHABYqPf54e94gA=; b=X7RnHup733yvNd5GimGso4o9/T3XaFbuUKo+8vlBb1i04UqjjqU+gouvm1F5oupNWS BomN/tXqfJzPLSfhAo2piups1yBhjqEcRaetJDB9M9CPSz8dY18tYeWRITTg8zeVU6wA ZXVHFZWP7cv9RGf4nRiv5KYKIq6iEsnU3Q3laz7HJuvKh1NH9pn6tghcdJPzJtBO9jho /lEHrYrGhZ2YkzGkBGKJq3V8QIyvFjkwy9ORYao30ziQWobEGrTq4qnDKCRMgPzT/RDk kZCQDeNnM4DK2tlCPEC+8dj5IBlSjNdakXDmgTGgg5c+PeYltCvUsGySk94440hbTN4+ jA4A== 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=P3B/KaL6lbZ9zuu2YqnYL7UVJgLjNHABYqPf54e94gA=; b=bkhhieTSVwNFj/2u8wtYNYn+SbPKIFfWtf8TC8D/a/hqoO1r5Iy0X8JA7DHRiYVxp1 9IGjH5wRatbyTf/SUSILS1J0qieM41P0lLRF1Az1QY2wEOvLgOxMBsvz1AD8MiQWc/wV xP5nh01OBtfPMr5/tTw8LehSFK/ISzVGI7bVDpfnRkNHjLSwry4M3YbXlG9PkHfi0b4f R3IpN/UArQf+cg5Df1pGKXK+0Dbrn7mRTyNPUPGucoW2nHZBI93uIhv2WcOEQ+grOpso kSIlAHp7BYm/Y1DNms+gb7ejnjLv9xfARLPkVIww5RwN8u34gGzxC40mCzS86UkJhP6b swnw== X-Gm-Message-State: AOAM532fxBUBtBM9aNERZpdbaLxzSQjIbYQg3hXp7eAPomWrkILYkubW QN1h7tvb7ygpb39GM2IQh4WBrQ== X-Received: by 2002:a05:600c:22d5:: with SMTP id 21mr22033465wmg.33.1606130368160; Mon, 23 Nov 2020 03:19:28 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/amd/amdgpu/amdgpu_virt: Correct possible copy/paste or doc-rot misnaming issue Date: Mon, 23 Nov 2020 11:18:43 +0000 Message-Id: <20201123111919.233376-5-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, 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_virt.c:115: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_request_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:115: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_request_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:138: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_release_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:138: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_release_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:159: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_reset_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:159: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_reset_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:194: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_wait_reset' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:194: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_wait_reset' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:210: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_alloc_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:210: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_alloc_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:239: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_free_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:239: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_free_mm_table' 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/amdgpu/amdgpu_virt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c index 905b85391e64a..462c5dd8ca72c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c @@ -106,7 +106,7 @@ void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev, /** * amdgpu_virt_request_full_gpu() - request full gpu access - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * @init: is driver init time. * When start to init/fini driver, first need to request full gpu access. * Return: Zero if request success, otherwise will return error. @@ -129,7 +129,7 @@ int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init) /** * amdgpu_virt_release_full_gpu() - release full gpu access - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * @init: is driver init time. * When finishing driver init/fini, need to release full gpu access. * Return: Zero if release success, otherwise will returen error. @@ -151,7 +151,7 @@ int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init) /** * amdgpu_virt_reset_gpu() - reset gpu - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * Send reset command to GPU hypervisor to reset GPU that VM is using * Return: Zero if reset success, otherwise will return error. */ @@ -186,7 +186,7 @@ void amdgpu_virt_request_init_data(struct amdgpu_device *adev) /** * amdgpu_virt_wait_reset() - wait for reset gpu completed - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * Wait for GPU reset completed. * Return: Zero if reset success, otherwise will return error. */ @@ -202,7 +202,7 @@ int amdgpu_virt_wait_reset(struct amdgpu_device *adev) /** * amdgpu_virt_alloc_mm_table() - alloc memory for mm table - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * MM table is used by UVD and VCE for its initialization * Return: Zero if allocate success. */ @@ -232,7 +232,7 @@ int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) /** * amdgpu_virt_free_mm_table() - free mm table memory - * @amdgpu: amdgpu device. + * @adev: amdgpu device. * Free MM table memory */ void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) 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. */ From patchwork Mon Nov 23 11:18:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330583 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907313ilh; Mon, 23 Nov 2020 03:19:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkz1K/plUP4o8AVXJZkxMkh2LKVwchKZ5/Zu+01FUEIQJRsxQast4WsXo/agY4P2D6n2aN X-Received: by 2002:a63:d311:: with SMTP id b17mr26403647pgg.452.1606130385379; Mon, 23 Nov 2020 03:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130385; cv=none; d=google.com; s=arc-20160816; b=uviRD8GjC9ryDA+/K4x8j4ycCtY9bi2BDtRT7Gz6ipU4xdiLO2/wtw3J1LcUBwbVVr 1VRsDLJYQSTOSFEvEyMPwuDF3iURC66OJwIF48W//NlFkWXxmImhPJnBWciiNhwUZ5vL dG5Jb8fFuZ50itHbzGEPxMTnzUMSp52rkxLLRS9Q6iD27VoExgQozkqfkJERripSuk8o fmlbZ7atgb4v3bFVEzOTqn5UFlRDMl+SY+MinQ0F13d6Vo23paAWhsMT5Ql04MRCD6w6 d+68v3+oTKpX8oY4e/4Xyw9rzta69DGYZ554WZigcXJ4e80JYLW8SWnAng/o0OZoi4w5 biEQ== 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=0fkesutXHDx9IyX97ToHzA+3fwHc2T5GPkO/NtuZYTs=; b=nJomP9pywK5MrPLwz9Op5/v00HK0KByKgqSM948dfZugDoT+k5ghHvTtsypdw1Mp48 90avNjHMQngBYKNztpDwFm59upM07k+Y53I/y41f+IfFBp5FKQ3yl6y7eEEYIBf21MSL k49kC/SdtOol1GLW2mZOexPxS+Ra/PW5rGjvrOWnCOdHeazE9EJN2NqdduYO98CCOHc9 Zo7jMeIN0xjhaDM0XF39xTkFOhQ8JokW10zl2EszVJh0DSo7jIJBZ/XNGhJhjPEzdj31 ZrlmV51UgVWq/dMKXMBve7yrN105PW/kG7FhNHKv/x6g4qWXH02v0y30PX1YsAfY0Otp bYQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tyD96b5E; 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 f20si10361421pgn.554.2020.11.23.03.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:45 -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=tyD96b5E; 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 EFF3789A9A; Mon, 23 Nov 2020 11:19:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id E9F06897FB for ; Mon, 23 Nov 2020 11:19:31 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 64so4789312wra.11 for ; Mon, 23 Nov 2020 03:19:31 -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=92lYcVhCJmrBtBX57wzHE1WdwDpEBe0J2p2RduAzKmY=; b=tyD96b5E1MNVsARdONjKjj8lmiQOPG6HZ3J3yYA1X4O8NytzLWdgQ3BBX81GdNztUl MCz53tT3e5DvsGOFVHSrLS+yMgZJbL9BqRG7mblwgYdUSS6grX3F6O5StAdtIkZDKP8g he1etgev1uTEcr+qss2qE0ldGmea0gH2u3G5JwBLWNf8NXLw/tJ/8nP63Rji6V42Ddv0 CTgUcts+FDVic+ESjPSXDj3UbnTuc4NRq5pR/45zmFx0tu3zVBH8WqlUSSLD1qlhvd/F 78H+/sQ+C4P4NLchyX10tlytKAgUWja4o7e6KZTTF83WvHiKFSBFIoyKHqSvRTD/dNuv 2dBA== 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=92lYcVhCJmrBtBX57wzHE1WdwDpEBe0J2p2RduAzKmY=; b=kDt9euHdsRwHyty5DLSlKbAn73gGe2kOcSzGIc4wPGTOJS0vA8KW4yw/9xJxYiznvT O35xUj1WH8UMq9tGh5Er0iayKIQvbDM+1cAcu7dU5ynN2JrUwsgWW27vSSYaSuMdB8I6 f6wCaY7nzkUsZmIiLHttm6HCJf5RSwnk66Ez+aKyZqFOEfn3+SRIsgNFUDKq0csw729k leDC8fzL/CmioIzetW+d9ps7f4AHwNhzujQcrdy1b0JUu+mgve2QDYAA2H4xT9uAPOvM v6iwUz3xMw2nttr7d3NPnsEv2Ml0gOAbVGCprkeMkc/QkEjrvmc0XNDBvQYMmjv+jZ2X Xw2Q== X-Gm-Message-State: AOAM533Yt7EBpaYy5prEASQmS9Pplg+Vv3ZWdRHMy2OoeJ3YMwht0/J4 aluAqPXKRbFKFkWWqEjuYCNdBg== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr30883095wrm.275.1606130370615; Mon, 23 Nov 2020 03:19:30 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/amd/amdgpu/uvd_v4_2: Fix some kernel-doc misdemeanours Date: Mon, 23 Nov 2020 11:18:45 +0000 Message-Id: <20201123111919.233376-7-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, 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/uvd_v4_2.c:157: warning: Function parameter or member 'handle' not described in 'uvd_v4_2_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:157: warning: Excess function parameter 'adev' description in 'uvd_v4_2_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:212: warning: Function parameter or member 'handle' not described in 'uvd_v4_2_hw_fini' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:212: warning: Excess function parameter 'adev' description in 'uvd_v4_2_hw_fini' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'addr' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'seq' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Function parameter or member 'flags' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:446: warning: Excess function parameter 'fence' description in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:513: warning: Function parameter or member 'job' not described in 'uvd_v4_2_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:513: warning: Function parameter or member 'flags' not described in 'uvd_v4_2_ring_emit_ib' 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/amdgpu/uvd_v4_2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c index b0c0c438fc93c..2c8c35c3bca52 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c @@ -149,7 +149,7 @@ static void uvd_v4_2_enable_mgcg(struct amdgpu_device *adev, /** * uvd_v4_2_hw_init - start and test UVD block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Initialize the hardware, boot up the VCPU and do some testing */ @@ -204,7 +204,7 @@ static int uvd_v4_2_hw_init(void *handle) /** * uvd_v4_2_hw_fini - stop the hardware block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Stop the UVD block, mark ring as not ready any more */ @@ -437,6 +437,8 @@ static void uvd_v4_2_stop(struct amdgpu_device *adev) * uvd_v4_2_ring_emit_fence - emit an fence & trap command * * @ring: amdgpu_ring pointer + * @addr: address + * @seq: sequence number * @fence: fence to emit * * Write a fence and a trap command to the ring. @@ -502,7 +504,9 @@ static int uvd_v4_2_ring_test_ring(struct amdgpu_ring *ring) * uvd_v4_2_ring_emit_ib - execute indirect buffer * * @ring: amdgpu_ring pointer + * @job: unused * @ib: indirect buffer to execute + * @flags: unused * * Write ring commands to execute the indirect buffer */ From patchwork Mon Nov 23 11:18:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330581 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907256ilh; Mon, 23 Nov 2020 03:19:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwI6IKzCWSvgi0PITN4FCnimrLOs2EeGTGgNm/ZBwDXe8uxB9QIUsbUd4EOhFqU02tJpmc X-Received: by 2002:a17:90b:4003:: with SMTP id ie3mr19019148pjb.69.1606130380848; Mon, 23 Nov 2020 03:19:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130380; cv=none; d=google.com; s=arc-20160816; b=NE+E22APejv6/aqop7QHDoMStMTQpN6PX8t0Um9xNQP2jCGvhqmLYEP0kQBMFqmPTl YwiNop9yoOXwBmo3gfc7K0lmTjmqbk2bCjUx0UYcdFj+MxIrOBcEfZTiEnbPj71NFBXe Dk3+e+188fMjMuDAs+qsb6u6rQDvO33Sz4MyWxw99+85G7gpDXKOogziMLIXDBGAr94D /kFHu/phfZ3BgJvo2uryB0+x4FwnGgGDNMmqoYDoJIcw0t708U/y8YwWZjRm3K08ejqi COGmnMN0GaeWDzJeENbYObIa4+AFaQsWc5kq+EeQ2cuWZR/RxWjofm5RHitTLj1/jEKs H91Q== 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=KS47AFtCk+HvgTpSt8t6sc7HYOR+Ln72TzhxKeT2uCQ=; b=QV87XUbKHRGgUPXD6HqE0/rxU2Yoa031yYdCmJR6tPABHm9b2TFOmIZOqxD40Rvdc2 Ief1WdR5/N2u4+2+PNfLNr4rFH4bIo3kl9963glaiNIULGBBjXuVMh99kjUYyf6yZz7b HzJxAeE6nbTv0+T1oTdDgbUI6RZfBhun2l1Un5pkN2tWwnCJjq0CtutEQLFo4wFt5sp6 ndf6LD5Uoq+JNaag9Bgbk/P2bagYalu3cGN9Udyk7yfKI0nO74HMvBH4ayXQ3ybbQJd/ kWtr9xrmgtt4y3DcH3Ss1UyQbN7j3JNNIcjnNarZmdQes+d8WBfCPfK+vgn6kaf0k9yx m/Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QEiN8BF4; 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 d24si10189811pgv.374.2020.11.23.03.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:40 -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=QEiN8BF4; 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 B41C689100; 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-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D86C894E7 for ; Mon, 23 Nov 2020 11:19:33 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id d142so17513466wmd.4 for ; Mon, 23 Nov 2020 03:19:33 -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=K6TxZrIbNMVP7o8ffQeQ+THJAoGZCcLMTEIXjKM9FgM=; b=QEiN8BF481vy1itk5mYNjHhp3ODhlFKpcihyTsun19jF9lCXKIV2KOMFVEhiFp9nf1 qXrEGioY6tiSMg08hq7mG0Xx2MWEhwzooA3zubf41pDhYVtUDVBhWqtMCngxLMZ7iGNd 7/D0B5vel1SGQ38TejgEeUMBrb55noT5ERpnHpIjeemmSZJBCax5XBUBd99gtFd/wrHA 204okbOUXn24oqRQowzeU3NYjsXBaugokDNaQfuNsQFkhEhgb6P/Cs1eSjVqeD64r4/k wSmIWIhgiWGoOONiWrN3St1U7CfX23RzS0sr9bNZgDP3WCFnbiG9JZrTE2zXaivI0W4f RJ/w== 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=K6TxZrIbNMVP7o8ffQeQ+THJAoGZCcLMTEIXjKM9FgM=; b=deJiKoDnOh6hlrzEG9pi/WErarDWnQEQmDTFVerONMZcLTNzM84EKXrLRBmYz8yFTW 6416b9853/LAxWd0NqIkZQ8kXDM0oHe/7RFu6nARnz3NnPzkt9cmrNuluFGbXWBtqehD wKiAbkeLLDOhwIGlp7nvbRDQY0ZOJBRMUqMOzFlzNxSq8hpBdIhoFCuu9E0/qE1QEobb 7Q8b9ArmQJ0A5EuzjOtAifEkj3CMjkULrk0rE2J9vTtjm5oDl8MqkRVPmWgQYUtkcNOC uwANRkOQH5uK30uCRRCoXzfEhUGgRyn69kvAC/5pCU+khAZ5ccUAspnlopIT/PQ4e5f0 tE1A== X-Gm-Message-State: AOAM532B7gqxLN9OMGZlVclcCznPlegSETFB6ojS4jkk2164BW9pSatd R3h+HbYCTscCksEvHwAvvBdAZQ== X-Received: by 2002:a1c:2384:: with SMTP id j126mr23894310wmj.116.1606130371886; Mon, 23 Nov 2020 03:19:31 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:31 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/amd/amdgpu/dce_v8_0: Supply description for 'async' Date: Mon, 23 Nov 2020 11:18:46 +0000 Message-Id: <20201123111919.233376-8-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, Luben Tuikov , 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/dce_v8_0.c:185: warning: Function parameter or member 'async' not described in 'dce_v8_0_page_flip' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c index 7973183fa335e..224b30214427f 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c @@ -176,6 +176,7 @@ static void dce_v8_0_pageflip_interrupt_fini(struct amdgpu_device *adev) * @adev: amdgpu_device pointer * @crtc_id: crtc to cleanup pageflip on * @crtc_base: new address of the crtc (GPU MC address) + * @async: asynchronous flip * * Triggers the actual pageflip by updating the primary * surface base address. From patchwork Mon Nov 23 11:18:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330584 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907331ilh; Mon, 23 Nov 2020 03:19:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRrW3R8wjO35GkPkS4SKNMQP6ng1pF+WiV5/byacRInMoaH3S+eD6n7NIpNpd41pvw7oxL X-Received: by 2002:a63:5b23:: with SMTP id p35mr1197343pgb.143.1606130387007; Mon, 23 Nov 2020 03:19:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130387; cv=none; d=google.com; s=arc-20160816; b=cM/DexDRiIcHBUWIQ4JAgRB15JyGFLNBbk+DXLPFbbO2giEvU612dzZe2RSKGaNWqR ZXCuOIIv/h/ndw2X3hKRvNdi81OAVatpOUAfoppnqDl5jsj2hzSiX0BJ5Fs8N+cGWyQi G/i/Vj86BmtQxGKvng1lZ51p63fjngT3xZ0EmRmygDbjt+PWZn2uvNDazvM3LhIuAXoo tJBVlugsGPpD5ft87L5+beQFjot30AojbG/scJG2uu8TdqyU9O40n2JVqZs3Hsu2sUCF 4xTIDe/Zdxp7jtnTCo5qSlbFGBzMqDDadGwlnOV7Pu6caWzAgcJsmX/09ag0mgioDt10 sC2w== 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=yy6ZU5On8m7TWABygAKH/unE6jOJW4AHwB8M07hMD0U=; b=tYhb5Zyptwsbgt6FW6lhrYKbZAfTqnnjSrzqoaTbkpKWSNVxbkyBKa5LzcAVAw+0va 0eCCNXCDm7LnnlhTHwuDrPKPpowV6YdKFWR86cmp7qLcYfn52JUwZF50qmZ5nmQA4PJu EAJQpiqcjBqDXYTsAytaI0w1KLsK/AwJb0X/ZKphQcbIMTXdwQzlMQI+DsMbH1UZu4wV Ko4XHDhdHD49GFEEp1wd/jhDOOcNx93I3mI3UYqOXk9qRZOMX+IbolLoZp1pFRiLLQm8 rkZ5znPuAVdYwJWq8y9HiSb9K1K4R6QsKKYO8hpebMHcWZggZdRsNqXVi8NUQDzTfkRt 7G/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Q8/F5dkv"; 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 w3si10718697pga.412.2020.11.23.03.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:46 -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="Q8/F5dkv"; 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 5F85689AB5; Mon, 23 Nov 2020 11:19:42 +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 94A188945B for ; Mon, 23 Nov 2020 11:19:34 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id 64so4789411wra.11 for ; Mon, 23 Nov 2020 03:19:34 -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=wuoHjkSuaTmEWAC5wBJbYvKG9ftbec5HzD4t8NHscL0=; b=Q8/F5dkv4HHgJAblxBG31tsXQ9e4Y1SvpMMk9ptk+QHDVSiYCvAPXSmfvSkut0Vb2T FbSE/FcTesIoOgShRcjPdSI0R/TlXnou23f0nDG3aSfIsh5FQm8f2OR97Tx04NZJj07b fT+koqDmkCl9c01yYEYGWS2pPQK3RCPINQp3s5S8DZWyoLSogz5AsVqD5g3koTgEuud1 MrUoEe1R5xhWOLLgwf72/YnglY7op0GSZOCf+mJtL0HtoDXIpscciledSLJsOX3sHzdQ BLrGPIYbbd8S9vjvRdCbOCjbkRCgK9y3F0NTK+OxOYA1B1Zix/JcNfD3ZcJKh5SdOl7q xjZw== 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=wuoHjkSuaTmEWAC5wBJbYvKG9ftbec5HzD4t8NHscL0=; b=ES1ecVAns4fZ6duwN7ow3/7C4UqNWp7kGhyrBOOFlfXc8GK+kclf6r2xf5ALZ72N1T DVfYuyAaKmTR7svFNpk48COFEuKrsVVG9e4/PW2PvAmT0QpcfQc8c23GDbtklpXQUnrG B41njSI7SIqVw85QM8sdz9cclsLO/9PKEbF3ZU49ruwur2gpAz5/zpE3jxBK30m4ANMj cxAtCwzfUWNVxRDMSP8XXdcz/mKMICnXA4s+jZFigwrIN6LtPTOEB7BIsm8U3M0Sj61V oDOBSndkhEPNJ426c9XxxNoF0SA0+u+OE976TdV3BKVoOJWAOEDCLo+1YFwhgDk2L2fd s2Jw== X-Gm-Message-State: AOAM531XEC9RF1PC+iXT7ErGYuITNv4wkySxK0BCmDSx01uonlMeOn5k QQANiyEe7ydmW+5k0iHMAa0+PA== X-Received: by 2002:adf:f441:: with SMTP id f1mr30639986wrp.225.1606130373264; Mon, 23 Nov 2020 03:19:33 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:32 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/40] drm/amd/amdgpu/cik_sdma: Supply some missing function param descriptions Date: Mon, 23 Nov 2020 11:18:47 +0000 Message-Id: <20201123111919.233376-9-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:226: warning: Function parameter or member 'job' not described in 'cik_sdma_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:226: warning: Function parameter or member 'flags' not described in 'cik_sdma_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:278: warning: Function parameter or member 'addr' not described in 'cik_sdma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:278: warning: Function parameter or member 'seq' not described in 'cik_sdma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:278: warning: Function parameter or member 'flags' not described in 'cik_sdma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:278: warning: Excess function parameter 'fence' description in 'cik_sdma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:663: warning: Function parameter or member 'timeout' not described in 'cik_sdma_ring_test_ib' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:808: warning: Function parameter or member 'ring' not described in 'cik_sdma_ring_pad_ib' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:859: warning: Function parameter or member 'vmid' not described in 'cik_sdma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:859: warning: Function parameter or member 'pd_addr' not described in 'cik_sdma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:859: warning: Excess function parameter 'vm' description in 'cik_sdma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:1315: warning: Function parameter or member 'ib' not described in 'cik_sdma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:1315: warning: Function parameter or member 'tmz' not described in 'cik_sdma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:1315: warning: Excess function parameter 'ring' description in 'cik_sdma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:1339: warning: Function parameter or member 'ib' not described in 'cik_sdma_emit_fill_buffer' drivers/gpu/drm/amd/amdgpu/cik_sdma.c:1339: warning: Excess function parameter 'ring' description in 'cik_sdma_emit_fill_buffer' 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 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c index 1a6494ea50912..f1e9966e7244e 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c +++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c @@ -215,7 +215,9 @@ static void cik_sdma_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) * cik_sdma_ring_emit_ib - Schedule an IB on the DMA engine * * @ring: amdgpu ring pointer + * @job: job to retrive vmid from * @ib: IB object to schedule + * @flags: unused * * Schedule an IB in the DMA ring (CIK). */ @@ -267,6 +269,8 @@ static void cik_sdma_ring_emit_hdp_flush(struct amdgpu_ring *ring) * cik_sdma_ring_emit_fence - emit a fence on the DMA ring * * @ring: amdgpu ring pointer + * @addr: address + * @seq: sequence number * @fence: amdgpu fence object * * Add a DMA fence packet to the ring to write @@ -655,6 +659,7 @@ static int cik_sdma_ring_test_ring(struct amdgpu_ring *ring) * cik_sdma_ring_test_ib - test an IB on the DMA engine * * @ring: amdgpu_ring structure holding ring information + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Test a simple IB in the DMA ring (CIK). * Returns 0 on success, error on failure. @@ -801,6 +806,7 @@ static void cik_sdma_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe, /** * cik_sdma_vm_pad_ib - pad the IB to the required number of dw * + * @ring: amdgpu_ring structure holding ring information * @ib: indirect buffer to fill with padding * */ @@ -849,7 +855,8 @@ static void cik_sdma_ring_emit_pipeline_sync(struct amdgpu_ring *ring) * cik_sdma_ring_emit_vm_flush - cik vm flush using sDMA * * @ring: amdgpu_ring pointer - * @vm: amdgpu_vm pointer + * @vmid: vmid number to use + * @pd_addr: address * * Update the page table base and flush the VM TLB * using sDMA (CIK). @@ -1298,10 +1305,11 @@ static void cik_sdma_set_irq_funcs(struct amdgpu_device *adev) /** * cik_sdma_emit_copy_buffer - copy buffer using the sDMA engine * - * @ring: amdgpu_ring structure holding ring information + * @ib: indirect buffer to copy to * @src_offset: src GPU address * @dst_offset: dst GPU address * @byte_count: number of bytes to xfer + * @tmz: unused * * Copy GPU buffers using the DMA engine (CIK). * Used by the amdgpu ttm implementation to move pages if @@ -1325,7 +1333,7 @@ static void cik_sdma_emit_copy_buffer(struct amdgpu_ib *ib, /** * cik_sdma_emit_fill_buffer - fill buffer using the sDMA engine * - * @ring: amdgpu_ring structure holding ring information + * @ib: indirect buffer to fill * @src_data: value to write to buffer * @dst_offset: dst GPU address * @byte_count: number of bytes to xfer From patchwork Mon Nov 23 11:18:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330590 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907533ilh; Mon, 23 Nov 2020 03:20:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9Yo8BZn9DR1VfeBCVruATUISZ8+g0U1PTt5osHHZiMQ+VdMRdzn1eHx006wN8A22mVcmW X-Received: by 2002:a05:6a00:792:b029:197:ff4c:5997 with SMTP id g18-20020a056a000792b0290197ff4c5997mr6017114pfu.52.1606130406593; Mon, 23 Nov 2020 03:20:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130406; cv=none; d=google.com; s=arc-20160816; b=iyCVLcLsUPGhVb7wcsXVVdlcNq8SkzcLgmxqB+pjgi7Yj3TO5IpBdUXZ0aVJyFDGFi FFI2G4sRxypombkBuLhWVWREHSue4rH2vX7EMwyyHbb6APIMmNp6vWUkY4tPnkJFz/EZ LWrtAgS3eeB1V2D56t7OvPUW+zdbtoWLKMIcuRT+moZXKGSbXrY+D1q1UTd6b1YWhGA/ zIf7OLLV262s7jWSFYpyNzrsHAlq88R9r4pD5u63uw0LfY4de4gOc5GxM2jJe7/0Lwvf f2I/QKF70dEL+syJfSBs7Hp2Vic8NjNTW7WNE201RQHxN+hBdtEH0dQTCFSEiv/gQsp7 u+bw== 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=LcE/pThyrsRyRapQXKuK3vcIjja2ieH05eVPlH5PNa8=; b=VJepFUC5CKOEeT+gngOwkqBMjK4S/CVAFIPchq3bS9SduOOa0lftTHgfHnHu8Hhypj 468BXZh7qlmwWGYg3tOC9WvIhTtjpFBuEpdpMnMevqMg+GZKvrB9a3Pkh+02tSTVK3nC /N59KGK9CV69G/VU71fbFXa/fu7tsqodfSD5iqegoGKyZgWAID0gQ44vmsYJa3jSP8LE oFkZ2yCjDMLRwIQggE1zXvq5n2L6UkbbrINdc6ge8DfgHphAKqSYhoWPUSTiyp1xse+q QpA+vZnsgokekHez7yAamRru0QSbnJkDtSlukqIAsFgf7fHdTGiFHlEUr7d9FRb9hzvx 3wdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RkBlQJ+x; 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 u2si6595966plz.347.2020.11.23.03.20.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:06 -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=RkBlQJ+x; 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 5500F89EA9; Mon, 23 Nov 2020 11:20:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA97B89A77 for ; Mon, 23 Nov 2020 11:19:35 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id g14so2997418wrm.13 for ; Mon, 23 Nov 2020 03:19:35 -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=6PNe63QSqzIOAFvdSbqBBH6uw9VqajeEy9sWGo6R4j8=; b=RkBlQJ+x9SNdFfBeEkr2mAFd8dPH3dHViN3an5nL1lfDEtE8Ms781sckHN9wr1zfPF QH4M6289hISdlts3trLSL9NjeSCocAVH3PL0PeOA6yiCAiLa3J7800lTw7SBnc/MSXij ljx1o4MioROT8koCwq12c3xujT9/x5l6uzBGF1rbw7/hk769ARygvSLHjpcJeJ5wHrsQ A371zGosGvD2MqhEADydkPWY2VRFPcgRuq6Uy3gDRky4wqWJJZ+Q0CpRWcbL68yZGbZb Qv6BrPxHDbcA/GKs9E5ttFN/tP2LXxOlrrfPaXp+bZuB4MzmvGSpOyD1FeCp5mDubxMZ Dfpw== 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=6PNe63QSqzIOAFvdSbqBBH6uw9VqajeEy9sWGo6R4j8=; b=Vz4UXjjmcPxoda7a4SN41ZVj1nkbKat6X3QvuPch8DtDvpRxQXD1Cu+0c9dSqzqUTI nqaZQobtDoKCS5E/Fo4Ffv84oCzUGWVTmTlabrzlcuu1qSfBKHkF5cwp/UH1RTgItpCU EWDyqQdKvBPt1Jq/uFhxpI4uUOCCdKpxVxGHPstL2bR3bLq/MF0OkOpn3wVLESHIciZS byiEAYAsLCXpJS4nd+tgaekEUIUZPw37ypwe8i+PnRonMLcXS+leSzHPL8J03YUJcYHD LjQx9JWGA+Qqa6ePfDqcwBRLLZysKgnaujWPSBmcT5FNzC+LIoo4UyhWm3FPRyVhFVSm KmfA== X-Gm-Message-State: AOAM5308H4g+Uz7ynHr6dadFwQGd7ShcAnD/xPdGNxLqJ/ulajeAnv2Y QdNaKzVzssLSBaE6mE5lmoRw6Q== X-Received: by 2002:adf:ecd0:: with SMTP id s16mr115694wro.415.1606130374503; Mon, 23 Nov 2020 03:19:34 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/amd/amdgpu/gfx_v7_0: Clean-up a bunch of kernel-doc related issues Date: Mon, 23 Nov 2020 11:18:48 +0000 Message-Id: <20201123111919.233376-10-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/gfx_v7_0.c:1590: warning: Function parameter or member 'instance' not described in 'gfx_v7_0_select_se_sh' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:1788: warning: Excess function parameter 'se_num' description in 'gfx_v7_0_setup_rb' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:1788: warning: Excess function parameter 'sh_per_se' description in 'gfx_v7_0_setup_rb' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:1852: warning: Excess function parameter 'adev' description in 'DEFAULT_SH_MEM_BASES' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2086: warning: Excess function parameter 'adev' description in 'gfx_v7_0_ring_test_ring' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2130: warning: Function parameter or member 'ring' not described in 'gfx_v7_0_ring_emit_hdp_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2130: warning: Excess function parameter 'adev' description in 'gfx_v7_0_ring_emit_hdp_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2130: warning: Excess function parameter 'ridx' description in 'gfx_v7_0_ring_emit_hdp_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Function parameter or member 'ring' not described in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Function parameter or member 'addr' not described in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Function parameter or member 'seq' not described in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Function parameter or member 'flags' not described in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Excess function parameter 'adev' description in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2182: warning: Excess function parameter 'fence' description in 'gfx_v7_0_ring_emit_fence_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Function parameter or member 'ring' not described in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Function parameter or member 'addr' not described in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Function parameter or member 'seq' not described in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Function parameter or member 'flags' not described in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Excess function parameter 'adev' description in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2224: warning: Excess function parameter 'fence' description in 'gfx_v7_0_ring_emit_fence_compute' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2260: warning: Function parameter or member 'job' not described in 'gfx_v7_0_ring_emit_ib_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2260: warning: Function parameter or member 'flags' not described in 'gfx_v7_0_ring_emit_ib_gfx' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:2351: warning: Function parameter or member 'timeout' not described in 'gfx_v7_0_ring_test_ib' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3244: warning: Function parameter or member 'ring' not described in 'gfx_v7_0_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3244: warning: Function parameter or member 'vmid' not described in 'gfx_v7_0_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3244: warning: Function parameter or member 'pd_addr' not described in 'gfx_v7_0_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3244: warning: Excess function parameter 'adev' description in 'gfx_v7_0_ring_emit_vm_flush' 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/gfx_v7_0.c | 33 +++++++++++++++------------ 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c index 04e1e92f5f3cf..f2490f915a8be 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c @@ -1580,10 +1580,10 @@ static void gfx_v7_0_tiling_mode_table_init(struct amdgpu_device *adev) * @adev: amdgpu_device pointer * @se_num: shader engine to address * @sh_num: sh block to address + * @instance: Certain registers are instanced per SE or SH. + * 0xffffffff means broadcast to all SEs or SHs (CIK). * - * Select which SE, SH combinations to address. Certain - * registers are instanced per SE or SH. 0xffffffff means - * broadcast to all SEs or SHs (CIK). + * Select which SE, SH combinations to address. */ static void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, u32 sh_num, u32 instance) @@ -1779,8 +1779,6 @@ gfx_v7_0_write_harvested_raster_configs(struct amdgpu_device *adev, * gfx_v7_0_setup_rb - setup the RBs on the asic * * @adev: amdgpu_device pointer - * @se_num: number of SEs (shader engines) for the asic - * @sh_per_se: number of SH blocks per SE for the asic * * Configures per-SE/SH RB registers (CIK). */ @@ -1841,6 +1839,7 @@ static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) mutex_unlock(&adev->grbm_idx_mutex); } +#define DEFAULT_SH_MEM_BASES (0x6000) /** * gfx_v7_0_init_compute_vmid - gart enable * @@ -1849,7 +1848,6 @@ static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) * Initialize compute vmid sh_mem registers * */ -#define DEFAULT_SH_MEM_BASES (0x6000) static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev) { int i; @@ -2074,7 +2072,6 @@ static void gfx_v7_0_scratch_init(struct amdgpu_device *adev) /** * gfx_v7_0_ring_test_ring - basic gfx ring test * - * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information * * Allocate a scratch register and write to it using the gfx ring (CIK). @@ -2121,8 +2118,7 @@ static int gfx_v7_0_ring_test_ring(struct amdgpu_ring *ring) /** * gfx_v7_0_ring_emit_hdp - emit an hdp flush on the cp * - * @adev: amdgpu_device pointer - * @ridx: amdgpu ring index + * @ring: amdgpu_ring structure holding ring information * * Emits an hdp flush on the cp. */ @@ -2171,8 +2167,10 @@ static void gfx_v7_0_ring_emit_vgt_flush(struct amdgpu_ring *ring) /** * gfx_v7_0_ring_emit_fence_gfx - emit a fence on the gfx ring * - * @adev: amdgpu_device pointer - * @fence: amdgpu fence object + * @ring: amdgpu_ring structure holding ring information + * @addr: address + * @seq: sequence number + * @flags: fence related flags * * Emits a fence sequnce number on the gfx ring and flushes * GPU caches. @@ -2212,8 +2210,10 @@ static void gfx_v7_0_ring_emit_fence_gfx(struct amdgpu_ring *ring, u64 addr, /** * gfx_v7_0_ring_emit_fence_compute - emit a fence on the compute ring * - * @adev: amdgpu_device pointer - * @fence: amdgpu fence object + * @ring: amdgpu_ring structure holding ring information + * @addr: address + * @seq: sequence number + * @flags: fence related flags * * Emits a fence sequnce number on the compute ring and flushes * GPU caches. @@ -2245,7 +2245,9 @@ static void gfx_v7_0_ring_emit_fence_compute(struct amdgpu_ring *ring, * gfx_v7_0_ring_emit_ib - emit an IB (Indirect Buffer) on the ring * * @ring: amdgpu_ring structure holding ring information + * @job: job to retrive vmid from * @ib: amdgpu indirect buffer object + * @flags: options (AMDGPU_HAVE_CTX_SWITCH) * * Emits an DE (drawing engine) or CE (constant engine) IB * on the gfx ring. IBs are usually generated by userspace @@ -2342,6 +2344,7 @@ static void gfx_v7_ring_emit_cntxcntl(struct amdgpu_ring *ring, uint32_t flags) * gfx_v7_0_ring_test_ib - basic ring IB test * * @ring: amdgpu_ring structure holding ring information + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Allocate an IB and execute it on the gfx ring (CIK). * Provides a basic gfx ring test to verify that IBs are working. @@ -3234,7 +3237,9 @@ static void gfx_v7_0_ring_emit_pipeline_sync(struct amdgpu_ring *ring) /** * gfx_v7_0_ring_emit_vm_flush - cik vm flush using the CP * - * @adev: amdgpu_device pointer + * @ring: amdgpu_ring pointer + * @vmid: vmid number to use + * @pd_addr: address * * Update the page table base and flush the VM TLB * using the CP (CIK). From patchwork Mon Nov 23 11:18:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330585 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907372ilh; Mon, 23 Nov 2020 03:19:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxX2NAl1uvGMOdR6WVsVkxX281IaHvipMmK/QIICK6AcaLg+Ey4GT/Umf39KA95EVR08y/ X-Received: by 2002:a65:684f:: with SMTP id q15mr4977652pgt.125.1606130391096; Mon, 23 Nov 2020 03:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130391; cv=none; d=google.com; s=arc-20160816; b=mnT02QZoTagDjB7hbzPZOzV+/C6mkgw51ksnuhx+K/VMG5Lbjt2WfvLIHBkuX90sRY oLLCwro99BEG7TZ2/MVGQDlUB0ewH076ZBoanu0zFdPWvB75I5AF0yBNV3ojkliMQcIp Fdx+LZa8A2eWtUYfDMXO1Q7VAZv+u46YZG7Eh0hDqFSNNOwMH8M7sMpYGIDTabLDFLiw cuYm+cMhgcCRJBnwkLyWTeQIeDM/7LJfBUeCJIc0b0nQI5eFJpGWRtR0l1hsUSyWW46v XXX5nWfw1kawuKpRbdjTalqlDjkXWpGYqBD8ABtkLVMevatKLadKSzgKTw2mIqT6XItV HY1w== 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=NMbm4zCvkJWnA77Q/0mUPoAEDjV03W63xeg7IAS4SLA=; b=jk2L1mgXoEUKPwOEReutqvDGOhthjoeqN08BoFxOS5XgiEy2deBqADPGe3PaNCZhEP Zeq+XgKvcKaNzMI6zj2hd9tSt5QXg02wMfb6FtLAF6Ys0kKTlEkzFucTXaDAd4cZVm3V KLYWBGtmkmkC7ohANz0E3rCAMiLa3G7cDXFmDMRznBSPsMLzRabHH+RgShTogIybapdQ 5IxIGvdSkNiPDbWc/gp3v+r93bChrXIVl8myKb4mrymGGOfLW0qmRIv9x+ykv8lzU7QX /QpR/0A9oN/18tTiUFy+72UXIUwo29Hs00Uaw4LPnSYqHlQiQN85h8VaHWHHc9mPQ8zn vmaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Et4Ua0gb; 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 u10si942669pjn.112.2020.11.23.03.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:51 -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=Et4Ua0gb; 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 1A54488007; Mon, 23 Nov 2020 11:19:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AD4289A94 for ; Mon, 23 Nov 2020 11:19:37 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id p22so17511332wmg.3 for ; Mon, 23 Nov 2020 03:19:37 -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=3KXPNPH8V5VaN08+hIMdkS9m7XFBvKiwB8Jp0+uc0I8=; b=Et4Ua0gbI2lsF/nKyKJ08uBA0rrN7fiwXsN2E4qh5zL4954DJ9jwj/4D63PYD3kyUF Bae62gQYXsR+eTWN2t3mxb4EfBd5QV/d6BO1QoiX/RSF13p0cROpkYLHPBQISJMIE5Gn RMG70h/fOUyWLtkn+Ljl+rwvVL9a4/lsgT8qYyqQ4piHfNihOda4Ptu23rVZnAUUU+wV DJauoSYMAZWRDsEoVi+JpxT6I9FCIfpp9NASJs5wsJZX7YZrsATdTWAJYB6uGXW32tPP y/A6akMS5XoH2LVSewX+TrlpCBw0lc7BaefRs3LL112L/h1SCCoBKeoDb0e6DS/1Y7LJ tTpQ== 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=3KXPNPH8V5VaN08+hIMdkS9m7XFBvKiwB8Jp0+uc0I8=; b=suwYsVLamqbNfqhxPwVkMKGdZsflKfq2E6uJSDlh9q6DPZzWn/AKLtVisVt7tB1BZi 8e/D33jRfEdFU1arl14n3sgnSkGTgrSj3ccbEBjs3wWJElnQbQPlMJFCgYk0KOIbSJSY gxHMNU/yBsaoRx9x3IVWfqOuOVBpTSW3TnVSu/SmvXUe1jMw8UwfslBYlhlGx6leY11F oRKI4JmqayFG8pg59EIx2Uyht0mk5X1RxtRd+fvMw5yqxgptxrLuVGpojp8ee6fqRFcd 7Qf1UkVkvw2/osyPkLJw9ENy+T8LOZ+8fxCpHbBlwPS4Bq38qw1hTmQ8UwlfPEHDwdku E4pw== X-Gm-Message-State: AOAM531vHKcL2wrtKD3fN/Cgt2nx7Cl7fjmwFysNwp2IOsYuB38folha VxiVTGl2mR5+P4bnCpA3lEvS6Q== X-Received: by 2002:a1c:a185:: with SMTP id k127mr22880615wme.23.1606130375735; Mon, 23 Nov 2020 03:19:35 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:35 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/40] drm/msm/disp/dpu1/dpu_core_perf: Fix kernel-doc formatting issues Date: Mon, 23 Nov 2020 11:18:49 +0000 Message-Id: <20201123111919.233376-11-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kalyan Thota , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:31: warning: Enum value 'DPU_PERF_MODE_MAX' not described in enum 'dpu_perf_mode' drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:34: warning: Cannot understand * @_dpu_core_perf_calc_bw() - to calculate BW per crtc drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:73: warning: Function parameter or member 'kms' not described in '_dpu_core_perf_calc_clk' drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:73: warning: Function parameter or member 'crtc' not described in '_dpu_core_perf_calc_clk' drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:73: warning: Function parameter or member 'state' not described in '_dpu_core_perf_calc_clk' drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:249: warning: Cannot understand * @dpu_core_perf_crtc_release_bw() - request zero bandwidth Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Kalyan Thota Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c index 36927fc04a388..b6b3bbab03336 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c @@ -22,6 +22,7 @@ * @DPU_PERF_MODE_NORMAL: performance controlled by user mode client * @DPU_PERF_MODE_MINIMUM: performance bounded by minimum setting * @DPU_PERF_MODE_FIXED: performance bounded by fixed setting + * @DPU_PERF_MODE_MAX: maximum value, used for error checking */ enum dpu_perf_mode { DPU_PERF_MODE_NORMAL, @@ -31,9 +32,9 @@ enum dpu_perf_mode { }; /** - * @_dpu_core_perf_calc_bw() - to calculate BW per crtc - * @kms - pointer to the dpu_kms - * @crtc - pointer to a crtc + * _dpu_core_perf_calc_bw() - to calculate BW per crtc + * @kms: pointer to the dpu_kms + * @crtc: pointer to a crtc * Return: returns aggregated BW for all planes in crtc. */ static u64 _dpu_core_perf_calc_bw(struct dpu_kms *kms, @@ -63,9 +64,9 @@ static u64 _dpu_core_perf_calc_bw(struct dpu_kms *kms, /** * _dpu_core_perf_calc_clk() - to calculate clock per crtc - * @kms - pointer to the dpu_kms - * @crtc - pointer to a crtc - * @state - pointer to a crtc state + * @kms: pointer to the dpu_kms + * @crtc: pointer to a crtc + * @state: pointer to a crtc state * Return: returns max clk for all planes in crtc. */ static u64 _dpu_core_perf_calc_clk(struct dpu_kms *kms, @@ -246,8 +247,8 @@ static int _dpu_core_perf_crtc_update_bus(struct dpu_kms *kms, } /** - * @dpu_core_perf_crtc_release_bw() - request zero bandwidth - * @crtc - pointer to a crtc + * dpu_core_perf_crtc_release_bw() - request zero bandwidth + * @crtc: pointer to a crtc * * Function checks a state variable for the crtc, if all pending commit * requests are done, meaning no more bandwidth is needed, release From patchwork Mon Nov 23 11:18:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330582 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907290ilh; Mon, 23 Nov 2020 03:19:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlHHLJV44IS79PuHyALggz/qqsBaf8R5miDMWgdcxbQXqDpqiBdwQh/lQrO6uStgD1qfWa X-Received: by 2002:a63:da14:: with SMTP id c20mr9979469pgh.447.1606130383076; Mon, 23 Nov 2020 03:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130383; cv=none; d=google.com; s=arc-20160816; b=cXfjhhTY3eoGQHeWI9TEpD+qKnTvt5FGO8Us0I+bfiHL0Z5PKf1tQ//SHshdILFkVm VfyCMBcGomnJb2HMF8sR+Gb89Pkx9XXPx0RM2RVSeItinQv76J8ptxcIaasEsI+gz5ne ORA5bJL0CWOJ9pJAzfBRAPMVnWEUJgcxrVu/Qj1NdWBzsQvu0c76ZxqjM4pBCEGrlDmD VqP5dZdjr57GXRLt2oO2GCTkR3wx016WxlyboXgY89QQi0cWdYWJvfuqZgxZ0ycjxDHm hZFfQJFumqPcnP5LkQJcC3j6WPL3XdLQ8nM5yKBEvZdDcfECigI55hE8HCXs2TuxBBak egYQ== 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=PqwZAcPETmPdYRHsxZWXEypJ8/lwjZvArrK4Q/Vl+4A=; b=egdf9Vh7o+Mvr4JuzkE/CVOPmNSlmw25iq4G9/HmAyIbaCO5PfH/mOtrq6cpaTWcei K1Zw8iX4/irIf49wlEe0FjWlJW0i1Eo9GBOKBo8LvnxW6yxn9BcolFrDPKX+2Z2GjFUE vP+eL/DAlXiIu4E8HeQzEiuKINmNJhJe4SU4fLBgMgVKmYczokhWVdjwbfwKH5yaoYIx lLwaKNq+Kdv3eaaU1nKdEHxJWw9AFxik9qYnF3t23Zi2LvqdumReWoIuKpvuNLA3XvWJ K1c0VgAob3wQ3Cueq/mzKLEX/WSXgNRniea3HAmQ5wOp+PrYloY8nZMksr/QmIYjeDkY TERA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fv4WcU24; 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 i2si10392118pgg.143.2020.11.23.03.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:43 -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=Fv4WcU24; 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 3B65189A77; Mon, 23 Nov 2020 11:19:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 60E7489A77 for ; Mon, 23 Nov 2020 11:19:38 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id c198so15633826wmd.0 for ; Mon, 23 Nov 2020 03:19:38 -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=4O9Wtg4ERk7UIKuJVRpIsYKCPive6atwfzd7DqykwOM=; b=Fv4WcU24S/mVuirgJJoD8NvlY3hjP06GFhM7tn1pNlSPQQHYkea0xN2LruNIN15ZHV wP5l4G3ZNipBvq5duw+OF9G4nJ7sjT303l6Rw2EkYYO8O7MQ3iqaY5PccncHX8gqiq3E V8Sf5cxO3BTT156CJgZT45SMdIEYG6Uv0D57dmy7+HGFzdjblGyacZ0KWpfvwXO/2vcI bZacMpgn8g/YiDQayXVV3KUx9+W5Rf1U0XJ724yAVa/y8SgXO2Z80tezZMfm5DMxUN5n ZtR9YBg1LT8PSnJmE3XvVSZEbQ+YFFOtsnD60T43tdbl6dThfdsNpzPI4i5xXk//Qs5l kJmg== 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=4O9Wtg4ERk7UIKuJVRpIsYKCPive6atwfzd7DqykwOM=; b=qR02qXANhYy6sVTh3J1xkOi36ZBq76ys8xUES5poQHAK37Pr6q/yxc18Hnb2vF9KQl zLBLcbAismTP/UdpmAj2IgSF9CznjHWZ5hDxqbzmcxaGilSKOa3PYlFunnOeMmKhWcSK AItgdsKv7ytV5SV+OG3B6MxvNCjIB15UKABMEvSrot4dD9bS0RloW1gxSYD5FsRtF1a6 Xw807QGw5/O1xGGcY19/ijsSnx/u9Yzi+1CQI4GyyAzdzYuIxhPZHdG9F8FlrJCnRSst TtunNK/ERJ0n7D+cgYH6jzUuS+zqUeE+uF4W+uq6jUU1Rvj/3SQoicux9bIitQS8pbol S+Jg== X-Gm-Message-State: AOAM530vtUah37e0UnTuOP6oE7Es8DekwH54lCiRaCO+a/yqaxyrsLle nAguDVEg2TVL2yxodFDVhw4LHA== X-Received: by 2002:a1c:f017:: with SMTP id a23mr23703118wmb.56.1606130377058; Mon, 23 Nov 2020 03:19:37 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/msm/disp/dpu1/dpu_hw_blk: Add one missing and remove an extra param description Date: Mon, 23 Nov 2020 11:18:50 +0000 Message-Id: <20201123111919.233376-12-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c:28: warning: Function parameter or member 'hw_blk' not described in 'dpu_hw_blk_init' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c:120: warning: Excess function parameter 'free_blk' description in 'dpu_hw_blk_put' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c index ca26666d2af91..819b26e660b9c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c @@ -19,6 +19,7 @@ static LIST_HEAD(dpu_hw_blk_list); /** * dpu_hw_blk_init - initialize hw block object + * @hw_blk: pointer to hw block object * @type: hw block type - enum dpu_hw_blk_type * @id: instance id of the hw block * @ops: Pointer to block operations @@ -114,7 +115,6 @@ struct dpu_hw_blk *dpu_hw_blk_get(struct dpu_hw_blk *hw_blk, u32 type, int id) /** * dpu_hw_blk_put - put hw_blk to free pool if decremented refcount is zero * @hw_blk: hw block to be freed - * @free_blk: function to be called when reference count goes to zero */ void dpu_hw_blk_put(struct dpu_hw_blk *hw_blk) { From patchwork Mon Nov 23 11:18:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330592 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907627ilh; Mon, 23 Nov 2020 03:20:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyls1gKJ7t67dEbgBrhQMyE9xT/OioS6HOknYqouv8k3BGvoZbJQvYfRPfBWNOOZWqDSQ+2 X-Received: by 2002:a17:90a:dc08:: with SMTP id i8mr10181221pjv.156.1606130414660; Mon, 23 Nov 2020 03:20:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130414; cv=none; d=google.com; s=arc-20160816; b=rwOOzmCYIS9/FBEq48U207rgi5V9b+wDOuxHkdbA6O/B4hWYO+DAwXh8Kb0ghaIY4J iWDMkzJgxnLizzTB8s2MoXHaT4c38gHFQZG3mV4I/DYurpDjuoI3sg6BwkovNOWSm8CG 3EUSyxFa+JVMpbQXHUC7gwTbjxMpH1109D15cLss+ffmcwGDrHBgCcE05+G2/11HPBtV eKXAK7XFjhaPapE8M9BKkkLOJDPW+ESHDgAr+p9jTzvewRIDP9mrxnYCBiTfddB92+JZ 13b9tqquh9ZCVSpDDBRvOXGuTVVeZaHQzj2fUQhzIQ2FlHbr8EBXyv2GJdFt8PpohLNz nwEQ== 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=SsLuTwq4HqODpYQyN69voqLEAfP38TkNsJAYmk8TT/Y=; b=BVZBc4I493w7xsR/HiYmaziJZkgI2VDvQ+BfiZQCW2UZB8AD7K4YWfvQR8TR6lEsRF 3u1/FTwHiJTCVaUFXtMYX6GP8ldtbwRRbWFIJCxsVcLaKySj9fyrL1FflUDBMEDyWStB qKnfsauS+6wPGVBQ6L4tKAI4Q2eTam1mPjX4s/12ApWH6MnlPjVYIJqNi2YC8kQx41OM bXT9ODlr6ML+K3pSRmyctpdmaDxez1b7X/+LK2vvm6pNHhgTk1lnUf5DbFtM2qm0CsZ9 T9aswvJ/hmYKCX86EHjJW90HiI9LALqUazkWRktkb1Nm0QvAcwukj3mRkPoHf+BOfivT edjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Oj2jCVRp; 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 c20si10682017pls.103.2020.11.23.03.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:14 -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=Oj2jCVRp; 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 9770A89EB1; Mon, 23 Nov 2020 11:20:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 95C3D89A9A for ; Mon, 23 Nov 2020 11:19:39 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id r17so18255277wrw.1 for ; Mon, 23 Nov 2020 03:19:39 -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=gCZKU3j8clNV9/z+mSJexBSfvTb0PXc+UA+5nG1PO4U=; b=Oj2jCVRp8mxrSBXicPTrJ6Cjb3r3OcnFBR/iK8m1Di+xA+yQCWzhNblwi55dAJuP5k NwGqq/oSo6tOSdhXKl22884gM+qdojICcXDS6fKp1X6Yf1kRGTAVCR6jtXM6SSNhCbEu bOzqEuOL1BtF0ukiS0k6kT/r8jALx6ZhPbMbRUxxG0x1MV3fBOWRaKXKYUQiKNpMAJde 1bl0ThxjbqxbOo0fhFzBXfz+wfM62m+CyojimphzRX27w3UcEJBUjfizhXvPHp/wxgew QS33fM+XutaxzEwsZEvpaDqKMNWEQ/YO8rF6CcEWoqBWkNq7hjl6hCND+wHeFX+fXHeZ V/kg== 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=gCZKU3j8clNV9/z+mSJexBSfvTb0PXc+UA+5nG1PO4U=; b=bEHFegwnB2H/Pg+h4YZ9R4lemwrRQQXWE6VfZ23BArlG3zwlO4Y4ysOJLzqPjDYNkU s6NK7ylBpU/3m484VY3hX96JT82VKHQDPZ8pU+CeOhpjT+ME8esB0dUf+gOtOGy8Vl9e EIZxJylKVNUvyK0c7dF5Kskyk8uiygHGqzFHZDRya218sju+mn+OaVOsIRUoeHliseDn JDaUSIBeGZfRKH7Ka/cCAKh9plMgttvhvWMAHoO6Jxiuo7PYb5fJG4anfsUGakgzXKzd xsLGRM1d3UsXnZLR3Com8fv83N4iGRSfWbKRcUT+LwzR2fSKyON9lbO3+JF7TW/uWPW4 iuOg== X-Gm-Message-State: AOAM533ZHXOo3Yx8Y9sdIV7dq4ykNBUf8AB8Odvy8Y6emlDsJIpYc3Vn UiQOWfytLoUJC41sSq/Z60zUsQ== X-Received: by 2002:adf:9d49:: with SMTP id o9mr30390561wre.413.1606130378268; Mon, 23 Nov 2020 03:19:38 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/40] drm/msm/disp/dpu1/dpu_formats: Demote non-conformant kernel-doc header Date: Mon, 23 Nov 2020 11:18:51 +0000 Message-Id: <20201123111919.233376-13-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: freedreno@lists.freedesktop.org, Fritz Koenig , David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'fmt' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'a' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'r' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'g' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'b' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e0' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e1' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e2' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'e3' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'uc' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'alpha' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'bp' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'flg' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'fm' not described in 'INTERLEAVED_RGB_FMT' drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c:50: warning: Function parameter or member 'np' not described in 'INTERLEAVED_RGB_FMT' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Fritz Koenig Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c index a05282dede91b..21ff8f9e5dfd1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c @@ -22,7 +22,7 @@ #define DPU_MAX_IMG_WIDTH 0x3FFF #define DPU_MAX_IMG_HEIGHT 0x3FFF -/** +/* * DPU supported format packing, bpp, and other format * information. * DPU currently only supports interleaved RGB formats From patchwork Mon Nov 23 11:18:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330595 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907671ilh; Mon, 23 Nov 2020 03:20:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUJu8yuP15MXDpXKtbmB9Sp48NbCt2xOfriS+2QvJ8rmnBWrUE+2FZFyk4rn05bk0bwFSg X-Received: by 2002:a17:90a:8d86:: with SMTP id d6mr19920456pjo.120.1606130419267; Mon, 23 Nov 2020 03:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130419; cv=none; d=google.com; s=arc-20160816; b=ZAqfFu4IPcThZOlLg1+zPpVODznNAcMKRHBqfIeHcXpv8uSIbFYhw+WnSj1/xtFuvS ZgIKlE9am/V5dC9qMj/Z+H6vNmVpnQMcSvrONEHPhyOlm/mNRLCgxUhdShQUwAGqDyIO gcvZB0I3i/r6GE+gyVYG/vtIV0NrhZJ/JTie3hThWBrXscy4H9/514oLbU0n3Dv+Fyg+ ClEe+skoM/WU8HS+fgN8flbAkvKEXJ+9WxVeAjKFDFR/4XVSUgsHA2DUPaaQL3+ooOI4 rh+WaQXq2mVlmpvibnDDogk+msmD1szRqCD8XzIojxYcdJnD7wEUXCYynngS14PvTN+R bpbA== 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=50PIDUXf6QOIx51D9p5kftp17jaq7/3hxGmlCO36vWk=; b=YxF9L77kjFNdsKtuatXssYzFyIXurssmtMSZouH+1HTmWG1e53gfty9gLVjxGys8Wo Wv/C/Q3cv1uIuv80Wgf9GaKWBN+9vJw/bTTinki9vknaPtrk/hvMHbwt+cLTDin9x9AA 0kSQxTiulabiQHlpZ+r1w+VAhngb1Ahu44mwGIAmEpTSlRFBOtbhc6UWi9hLgu/nzHmn 7uIazPpdmwpOUxI282dtXXFXLKLcZoAjEYetQhQsStpIK3CWO0b97hi4KqWx/EUxCu34 Z3OC4Z9hbokR1pnfKft3/DOdzZbaLTs0Q8XbRkevpuOzLB8GskHO9c9kKTPYSchxOoSI YdUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gXkkTC6H; 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 s137si10963727pfs.23.2020.11.23.03.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:19 -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=gXkkTC6H; 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 55CB089F47; Mon, 23 Nov 2020 11:20:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id D335089A94 for ; Mon, 23 Nov 2020 11:19:40 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id z7so2378579wrn.3 for ; Mon, 23 Nov 2020 03:19:40 -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=OGha5UqBCWjGaqYLvn2kA/udGvrTgy+sHOhNO6DMwsQ=; b=gXkkTC6H+UFH08yhkRlrTq+ECpl9TiCBAhPbhU1Q2wglsVlLTa7TPBuExVxAQA+h1+ buZgV1RE8zABspnufkBcR4QQvKnj1G39ZzRDpntI1skmsADHbqKcCs0xQQSrvF9O11el +dicnKLrz/VtnwMKPy/RF4b/NX53AvADtyAFRPtpuMRz1itliQVhtIax7NvzUYFgIgQJ hXyHUjHhambHyfU4mO4EYKKuAN0OFVZ2CHu5tv5tX62CaSc3lJ7FCcdmepmd7iUXXDzZ 4cAnhemtLxIkDj9trzA8Tws0sJ85sJhQiQ9/kY9zBiw0KrWj8EpIjTDvsA2LEKfuKcEW P3iw== 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=OGha5UqBCWjGaqYLvn2kA/udGvrTgy+sHOhNO6DMwsQ=; b=lC1jbE6/8WPxMYfDWsPi7lYE23yBqd7eT7aB9c9v7xYUAqW88CEnmu+xArbTrfXB1H 5Blw0NK5C0N3FEI6zldJ8q/f5gfLAQAUINsO8PyvTt0YezTjgiOO3+/RexSZN/c31j0N orhtnL0LIm5sMCjvZDt3i0Vb3ESpVoW7hQ+bo6YELhC+HaZIjCjupA8be2uBYvQ1Raq0 HOpjxS4vLXfCwJgODdfgA9T2DTOeq5PjLYf04PmzsqF+jBdpolyRb/kfVNd7dAwLPiaS mQ6TA7ZhmctEHZ/cFIhPPc2OGfZOosBOZzfq/acqviA455AtoLfV6j8wxCGP8PdGKPGR 6AvQ== X-Gm-Message-State: AOAM531jEWfUj3BS7v3u+zWS2E6iqZRSGmJNDxZK8Kiejcaj16IaR5+j oInc+uRldt9GHO8EbwZ/YsDu/rYapJd4GxIm X-Received: by 2002:a5d:6805:: with SMTP id w5mr5882581wru.266.1606130379551; Mon, 23 Nov 2020 03:19:39 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.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) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/40] drm/msm/disp/dpu1/dpu_hw_catalog: Remove duplicated initialisation of 'max_linewidth' Date: Mon, 23 Nov 2020 11:18:52 +0000 Message-Id: <20201123111919.233376-14-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:124:19: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:124:19: note: (near initialization for ‘sm8250_dpu_caps.max_linewidth’) Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index 6a6a7172e3beb..a7004f18523b0 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -113,7 +113,6 @@ static const struct dpu_caps sm8150_dpu_caps = { static const struct dpu_caps sm8250_dpu_caps = { .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH, .max_mixer_blendstages = 0xb, - .max_linewidth = 4096, .qseed_type = DPU_SSPP_SCALER_QSEED3, /* TODO: qseed3 lite */ .smart_dma_rev = DPU_SSPP_SMART_DMA_V2, /* TODO: v2.5 */ .ubwc_version = DPU_HW_UBWC_VER_40, From patchwork Mon Nov 23 11:18:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330586 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907394ilh; Mon, 23 Nov 2020 03:19:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJziKketVEeZ2Rtwjbv8VIxrmxihguPgpuRxkunKG3BiNa8uum79zSyKtzsukTBxdd7HsXQh X-Received: by 2002:a17:90b:891:: with SMTP id bj17mr23644127pjb.59.1606130392878; Mon, 23 Nov 2020 03:19:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130392; cv=none; d=google.com; s=arc-20160816; b=iOU9jYjcR2c8doonoP+QadKUO7/knhFkuqgT01AVwRKgSgoXRuEypZHcjLA0t8OqSR zuc+eI6HlVovYDEXjEsLr/bRdGTJXDIpn74gjO0oKjqZCcX4eHGvogn3Ic3Xq61RcQYe ggZuHB29wGFzYWWlKyrysYg4YY8hQ3No2EmrvB4CQ4FnMh9Z4Mi/Uqz8/e4b3Be/1JYL Hdmxo42fuIPpFwWgS/BCF0+C1BLCkp7O+ZfYahQmLXdMYC/7cbkOaUajC2uv31AbMtid Y6PmW4F256xh9SvaSDXurY3lDwR8mB7/1ACbrdX/oNkbCL8yLIWyNL4F32AYDzjou7Yi Hfwg== 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=X5BHe7OppRGaScR4NfRKWFfDYpCfvdFZFFN2q0s7Hfs=; b=PFMYn2orVuWwo0eMe8/USWRd5lA31t5a/bd2PM98SL/FPxYEhLKxaqFxZKQXezx4Z4 G4079KgCOJcd3TE5ildmGj5PAhE1bACSkWxACfs6s0CRi5z0wg6ApXrxK2qDKlOVVvuo abUHnvdKgosrVFLRplm9w/mB6aqxq84TbANUrEXitZgbUNONNcwcmjBEJtdWFdK0+opL VfdVU47FyvzDI6KkF4ujFwo/yyLCrLIie2e9FCr4u0xeyt6w6gzvH8tbbWCz3XdCAo97 kiU4SQ6D8Hmf1FTkuvWHw+YNnM9UQnustBJ4A86kUn18eFIwHXnmd0XO73qpnB1VVlAx gyBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WITwZARm; 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 a18si10524935pgb.49.2020.11.23.03.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:52 -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=WITwZARm; 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 AF23E89D86; Mon, 23 Nov 2020 11:19:50 +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 1AE8C89AA7 for ; Mon, 23 Nov 2020 11:19:42 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id r17so18255401wrw.1 for ; Mon, 23 Nov 2020 03:19: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=FCouInRUErRLohKUWgZ5Rh5LGuUuX53SkzhdYyO1Qd0=; b=WITwZARmzl597oEYyJmeZtf/keRxKZyhTRuWl1mJR4gcvc8Z6HR6kWimUTc8NeVl2P dg/AUfJrtW1uCMrPRzSENfLDfQEyk8XZ6SGAmKMuxmFaJQJm5/6xNl/fsKPFoID0ZSjF npNOQ7GumEsDb2tI+GL2YC4/1jPxhic8iiWDKmLtnEZn5zejduqkH7XTfKQOVnmBFxrA p7aRY4hduVmhmwQTSOSBKFvzGhZE7ESKJmfmBjbmVUZBxs/058qFR92RJy8seJeedXk+ mNYLKHoVnB5NyUN8MP8GaXzvIWJ+I2bIvC79FcXHl/ajfJXM2YbR98Wxk8SVkRs3hSVP E+3g== 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=FCouInRUErRLohKUWgZ5Rh5LGuUuX53SkzhdYyO1Qd0=; b=bzKsS5aZGfDn9oFOxiD8aIjPZmHROXzsibpLdDwRQAr34P560lpJNeB6lHd6B250Kn 2wkMpfL0VlRu2WkMM21JFs0jlK0fgEDEvdrro5EG+l1w6ALYl680mEX3XJ/euyCuhEe4 qCuCMdCxiwgwMBrOgapuX6ASdz3gHiMXwA9yL3IEqdEZsGSX8aeFJ8M6kqoCLTa8cp9o V92gCIcRvd3MfmIOXBKLsGDharqrhOwfJL+b0i/1LTPrdFqKEERxj35DjCYfJxNZymMG qKfJnJnkq6NpaykmKPQCcy+fCkBol+p28cqCy5d+o0+ELoEjYbUaG+6mOvbvDKPOxOcB Sb8A== X-Gm-Message-State: AOAM530kpfUM51W7WUa7vOMOH3v/TtrA4mJUIAQQttvpIWD+5QGTHm9L mXKV45Cj556rnto1ZmloVGjwsw== X-Received: by 2002:adf:9cc6:: with SMTP id h6mr30900317wre.341.1606130380725; Mon, 23 Nov 2020 03:19:40 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/msm/disp/dpu1/dpu_hw_catalog: Move definitions to the only place they are used Date: Mon, 23 Nov 2020 11:18:53 +0000 Message-Id: <20201123111919.233376-15-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" These tables are not large or overbearing, so moving them into the source file seems like the right thing to do. The alternative is to use __maybe_unused, which is undesirable. Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:11: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h:7:23: warning: ‘qcom_compressed_supported_formats’ defined but not used [-Wunused-const-variable=] 7 | static const uint32_t qcom_compressed_supported_formats[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h:48:23: warning: ‘plane_formats_yuv’ defined but not used [-Wunused-const-variable=] 48 | static const uint32_t plane_formats_yuv[] = { | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h:17:23: warning: ‘plane_formats’ defined but not used [-Wunused-const-variable=] 17 | static const uint32_t plane_formats[] = { | ^~~~~~~~~~~~~ Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Abhinav Kumar --- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 74 +++++++++++++++- .../drm/msm/disp/dpu1/dpu_hw_catalog_format.h | 88 ------------------- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 11 ++- 3 files changed, 83 insertions(+), 90 deletions(-) delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index a7004f18523b0..9ed6d0c6cd9b2 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -8,7 +8,6 @@ #include #include "dpu_hw_mdss.h" #include "dpu_hw_catalog.h" -#include "dpu_hw_catalog_format.h" #include "dpu_kms.h" #define VIG_MASK \ @@ -62,6 +61,79 @@ #define STRCAT(X, Y) (X Y) +static const uint32_t plane_formats[] = { + DRM_FORMAT_ARGB8888, + DRM_FORMAT_ABGR8888, + DRM_FORMAT_RGBA8888, + DRM_FORMAT_BGRA8888, + DRM_FORMAT_XRGB8888, + DRM_FORMAT_RGBX8888, + DRM_FORMAT_BGRX8888, + DRM_FORMAT_XBGR8888, + DRM_FORMAT_RGB888, + DRM_FORMAT_BGR888, + DRM_FORMAT_RGB565, + DRM_FORMAT_BGR565, + DRM_FORMAT_ARGB1555, + DRM_FORMAT_ABGR1555, + DRM_FORMAT_RGBA5551, + DRM_FORMAT_BGRA5551, + DRM_FORMAT_XRGB1555, + DRM_FORMAT_XBGR1555, + DRM_FORMAT_RGBX5551, + DRM_FORMAT_BGRX5551, + DRM_FORMAT_ARGB4444, + DRM_FORMAT_ABGR4444, + DRM_FORMAT_RGBA4444, + DRM_FORMAT_BGRA4444, + DRM_FORMAT_XRGB4444, + DRM_FORMAT_XBGR4444, + DRM_FORMAT_RGBX4444, + DRM_FORMAT_BGRX4444, +}; + +static const uint32_t plane_formats_yuv[] = { + DRM_FORMAT_ARGB8888, + DRM_FORMAT_ABGR8888, + DRM_FORMAT_RGBA8888, + DRM_FORMAT_BGRX8888, + DRM_FORMAT_BGRA8888, + DRM_FORMAT_XRGB8888, + DRM_FORMAT_XBGR8888, + DRM_FORMAT_RGBX8888, + DRM_FORMAT_RGB888, + DRM_FORMAT_BGR888, + DRM_FORMAT_RGB565, + DRM_FORMAT_BGR565, + DRM_FORMAT_ARGB1555, + DRM_FORMAT_ABGR1555, + DRM_FORMAT_RGBA5551, + DRM_FORMAT_BGRA5551, + DRM_FORMAT_XRGB1555, + DRM_FORMAT_XBGR1555, + DRM_FORMAT_RGBX5551, + DRM_FORMAT_BGRX5551, + DRM_FORMAT_ARGB4444, + DRM_FORMAT_ABGR4444, + DRM_FORMAT_RGBA4444, + DRM_FORMAT_BGRA4444, + DRM_FORMAT_XRGB4444, + DRM_FORMAT_XBGR4444, + DRM_FORMAT_RGBX4444, + DRM_FORMAT_BGRX4444, + + DRM_FORMAT_NV12, + DRM_FORMAT_NV21, + DRM_FORMAT_NV16, + DRM_FORMAT_NV61, + DRM_FORMAT_VYUY, + DRM_FORMAT_UYVY, + DRM_FORMAT_YUYV, + DRM_FORMAT_YVYU, + DRM_FORMAT_YUV420, + DRM_FORMAT_YVU420, +}; + /************************************************************* * DPU sub blocks config *************************************************************/ diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h deleted file mode 100644 index 3766f0fd0bf08..0000000000000 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h +++ /dev/null @@ -1,88 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. - */ - -#include "dpu_hw_mdss.h" - -static const uint32_t qcom_compressed_supported_formats[] = { - DRM_FORMAT_ABGR8888, - DRM_FORMAT_ARGB8888, - DRM_FORMAT_XBGR8888, - DRM_FORMAT_XRGB8888, - DRM_FORMAT_BGR565, - - DRM_FORMAT_NV12, -}; - -static const uint32_t plane_formats[] = { - DRM_FORMAT_ARGB8888, - DRM_FORMAT_ABGR8888, - DRM_FORMAT_RGBA8888, - DRM_FORMAT_BGRA8888, - DRM_FORMAT_XRGB8888, - DRM_FORMAT_RGBX8888, - DRM_FORMAT_BGRX8888, - DRM_FORMAT_XBGR8888, - DRM_FORMAT_RGB888, - DRM_FORMAT_BGR888, - DRM_FORMAT_RGB565, - DRM_FORMAT_BGR565, - DRM_FORMAT_ARGB1555, - DRM_FORMAT_ABGR1555, - DRM_FORMAT_RGBA5551, - DRM_FORMAT_BGRA5551, - DRM_FORMAT_XRGB1555, - DRM_FORMAT_XBGR1555, - DRM_FORMAT_RGBX5551, - DRM_FORMAT_BGRX5551, - DRM_FORMAT_ARGB4444, - DRM_FORMAT_ABGR4444, - DRM_FORMAT_RGBA4444, - DRM_FORMAT_BGRA4444, - DRM_FORMAT_XRGB4444, - DRM_FORMAT_XBGR4444, - DRM_FORMAT_RGBX4444, - DRM_FORMAT_BGRX4444, -}; - -static const uint32_t plane_formats_yuv[] = { - DRM_FORMAT_ARGB8888, - DRM_FORMAT_ABGR8888, - DRM_FORMAT_RGBA8888, - DRM_FORMAT_BGRX8888, - DRM_FORMAT_BGRA8888, - DRM_FORMAT_XRGB8888, - DRM_FORMAT_XBGR8888, - DRM_FORMAT_RGBX8888, - DRM_FORMAT_RGB888, - DRM_FORMAT_BGR888, - DRM_FORMAT_RGB565, - DRM_FORMAT_BGR565, - DRM_FORMAT_ARGB1555, - DRM_FORMAT_ABGR1555, - DRM_FORMAT_RGBA5551, - DRM_FORMAT_BGRA5551, - DRM_FORMAT_XRGB1555, - DRM_FORMAT_XBGR1555, - DRM_FORMAT_RGBX5551, - DRM_FORMAT_BGRX5551, - DRM_FORMAT_ARGB4444, - DRM_FORMAT_ABGR4444, - DRM_FORMAT_RGBA4444, - DRM_FORMAT_BGRA4444, - DRM_FORMAT_XRGB4444, - DRM_FORMAT_XBGR4444, - DRM_FORMAT_RGBX4444, - DRM_FORMAT_BGRX4444, - - DRM_FORMAT_NV12, - DRM_FORMAT_NV21, - DRM_FORMAT_NV16, - DRM_FORMAT_NV61, - DRM_FORMAT_VYUY, - DRM_FORMAT_UYVY, - DRM_FORMAT_YUYV, - DRM_FORMAT_YVYU, - DRM_FORMAT_YUV420, - DRM_FORMAT_YVU420, -}; diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index 7ea90d25a3b69..c0b1d77369e53 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c @@ -19,7 +19,6 @@ #include "dpu_kms.h" #include "dpu_formats.h" #include "dpu_hw_sspp.h" -#include "dpu_hw_catalog_format.h" #include "dpu_trace.h" #include "dpu_crtc.h" #include "dpu_vbif.h" @@ -63,6 +62,16 @@ enum { #define DEFAULT_REFRESH_RATE 60 +static const uint32_t qcom_compressed_supported_formats[] = { + DRM_FORMAT_ABGR8888, + DRM_FORMAT_ARGB8888, + DRM_FORMAT_XBGR8888, + DRM_FORMAT_XRGB8888, + DRM_FORMAT_BGR565, + + DRM_FORMAT_NV12, +}; + /** * enum dpu_plane_qos - Different qos configurations for each pipe * From patchwork Mon Nov 23 11:18:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330599 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907704ilh; Mon, 23 Nov 2020 03:20:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjl/H08/0oYfL6Wu6sk4NleG/mVMeopBSx6mWu/toXCckgZMTpdD0bn3DX0xN6aBnnb32L X-Received: by 2002:a17:90a:f317:: with SMTP id ca23mr20023980pjb.141.1606130421928; Mon, 23 Nov 2020 03:20:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130421; cv=none; d=google.com; s=arc-20160816; b=EqUGochrIA4YyX2WFKtZRgiqmzbUrlEF2oYPeaOkA7nE3Pwv+y4Faz1jf4kSvBO01S vF8EduHHebgba+6iDMiJneL2BbH70C1AZGQ9KWI7VBKaX7KPJSlBeVPuMfO7jEvlsLt5 6qdC8XLeX/q+TGHJGNEXJQeAnej9A/hdB6wHzQgiyRaId4XjreSXouIdiB5SkEUpqFjj aYyGXFo9xCjr4LwZPR68NR2/6QM9oyZs8zLik5TFJ2s8YtKQdR3O/2tvrQXqCC94kOXh 0Mrx5vC0ejsHOx3YTxsyM5nqOpALw8M3Qyg7nMPI3PusAB3iYh9MxwoBXnmASQ+5eziJ Hb2A== 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=jl2c5DtVA+Xo+mEhPYxXCyZfr5FrT8Kl8COpnhPPulA=; b=RUXA6s1vdOj65UtLPw1N0s/t2oiz5Ih7lQTIR/XL8mhLCHIgpXYJttcUrODZQ84eBG 7KA0KCaatkKhP6iu3AHy7uwzXt+gGVC0LQyAt1aCLX3kT+wIJFa76BxhZE6PLlFG+x7j QVU27UoxRhgQHkwn9lNBrSMGLImxZ8FPCEeG4PVc00+gJc5tZGxbd8Mz6+LSpRZSiR5r zeZLmTGY54DIoV5dlbzzoPMpKXGaWndEu6FiPXTwmrvJ0TMakR42+yWOq1nz1Tm4dSuF 9d9rOqfQ3g6Y9VPKDqWeUuoZfD3p8pb7a0r05jINW7rm2T9koXe1hiVhZts/tiE+XtRs h/jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UzHbNIDy; 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 h6si10753285pjq.95.2020.11.23.03.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:21 -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=UzHbNIDy; 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 1688B89F89; Mon, 23 Nov 2020 11:20:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4462889AAD for ; Mon, 23 Nov 2020 11:19:43 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id l1so18172598wrb.9 for ; Mon, 23 Nov 2020 03:19:43 -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=SGWlNEh3PyNq4sIhvrp3Meeg05Tjr4JevFu1RmFxOmM=; b=UzHbNIDyFwraiKdDndWzYZaXu0JmMHo98Mz4Ttg7rKotSo479DnVjYEl8lKLXhId26 mC5b3LcakHcoVCq6R6ePCiStbolrDhuuiXPe2ux559Go8FYjzK1DfUDXNukwKc3v1Lx8 p5Dihp0pD83QMXMZ0NOVDFwArhG+56Xuq5RZuJqX6n9J3BldCEFWW+7LrsdYQwjll8cT knTP0sTVGF84UywL2iKAFEZrGAFlUFlUJeGnOplxo7COpM5NWfKB4JmOsXi5j9DoUAG+ g9ldcIpm7yLfgAe3zEJiTN13qWX09x5iLoEX97LDGKZ3SHO2cYmVZWU05YIKlfusI2bF M8bg== 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=SGWlNEh3PyNq4sIhvrp3Meeg05Tjr4JevFu1RmFxOmM=; b=UgDgCVBZYGPee/25kUQtHrm6anKvwdTjPB3B9wA6E9xheau119orf26JHee45e85Zv SwPcOt/XWQe1oCnWKZpMRJk2T7+8W3Nf7S5/b2j7kGThEzURKA/XSrI1SaqP2CH0UDLU ky3+9qtaMQgCz0X27t3QFmnW9p65y4LaCGV01UjbZquGgPWzU3jPi6NF7vdQ5HiGHzr7 /ZB9QmHopjXWhgSy+xQevnp4obTHy7tPrKq+fGznJ8+WlNte2X9UwTOVgMs539VH2H9l BKE+wv6y7q2cgW8PIJq04xI41QbAL3jScu3SgTnYBjBUHWP8k8YCSAAwnlewn/CflAbF 9bhw== X-Gm-Message-State: AOAM532WXHFv3zDmosaMItxVhi45muCaTK72Ph0vQxqd1QmH4KO+ebAk 5gg4aYWYSZh7GWS6weCFAZZBdw== X-Received: by 2002:adf:82c7:: with SMTP id 65mr29782206wrc.384.1606130381856; Mon, 23 Nov 2020 03:19:41 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/40] drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc Date: Mon, 23 Nov 2020 11:18:54 +0000 Message-Id: <20201123111919.233376-16-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 , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:584: warning: Function parameter or member 'init' not described in 'init_reserved' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:611: warning: Function parameter or member 'init' not described in 'init_done' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:622: warning: Function parameter or member 'init' not described in 'init_io_restrict_prog' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:659: warning: Function parameter or member 'init' not described in 'init_repeat' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:685: warning: Function parameter or member 'init' not described in 'init_io_restrict_pll' drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c:725: warning: Function parameter or member 'init' not described in 'init_end_repeat' NB: Trimmed for brevity (lots of these!) Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/nouveau/nvkm/subdev/bios/init.c | 136 +++++++++--------- 1 file changed, 68 insertions(+), 68 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index 9de74f41dcd2a..68e35219cf757 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c @@ -575,7 +575,7 @@ init_tmds_reg(struct nvbios_init *init, u8 tmds) * init opcode handlers *****************************************************************************/ -/** +/* * init_reserved - stub for various unknown/unused single-byte opcodes * */ @@ -602,7 +602,7 @@ init_reserved(struct nvbios_init *init) init->offset += length; } -/** +/* * INIT_DONE - opcode 0x71 * */ @@ -613,7 +613,7 @@ init_done(struct nvbios_init *init) init->offset = 0x0000; } -/** +/* * INIT_IO_RESTRICT_PROG - opcode 0x32 * */ @@ -650,7 +650,7 @@ init_io_restrict_prog(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_REPEAT - opcode 0x33 * */ @@ -676,7 +676,7 @@ init_repeat(struct nvbios_init *init) init->repeat = repeat; } -/** +/* * INIT_IO_RESTRICT_PLL - opcode 0x34 * */ @@ -716,7 +716,7 @@ init_io_restrict_pll(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_END_REPEAT - opcode 0x36 * */ @@ -732,7 +732,7 @@ init_end_repeat(struct nvbios_init *init) } } -/** +/* * INIT_COPY - opcode 0x37 * */ @@ -759,7 +759,7 @@ init_copy(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_NOT - opcode 0x38 * */ @@ -771,7 +771,7 @@ init_not(struct nvbios_init *init) init_exec_inv(init); } -/** +/* * INIT_IO_FLAG_CONDITION - opcode 0x39 * */ @@ -788,7 +788,7 @@ init_io_flag_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_GENERIC_CONDITION - opcode 0x3a * */ @@ -840,7 +840,7 @@ init_generic_condition(struct nvbios_init *init) } } -/** +/* * INIT_IO_MASK_OR - opcode 0x3b * */ @@ -859,7 +859,7 @@ init_io_mask_or(struct nvbios_init *init) init_wrvgai(init, 0x03d4, index, data &= ~(1 << or)); } -/** +/* * INIT_IO_OR - opcode 0x3c * */ @@ -878,7 +878,7 @@ init_io_or(struct nvbios_init *init) init_wrvgai(init, 0x03d4, index, data | (1 << or)); } -/** +/* * INIT_ANDN_REG - opcode 0x47 * */ @@ -895,7 +895,7 @@ init_andn_reg(struct nvbios_init *init) init_mask(init, reg, mask, 0); } -/** +/* * INIT_OR_REG - opcode 0x48 * */ @@ -912,7 +912,7 @@ init_or_reg(struct nvbios_init *init) init_mask(init, reg, 0, mask); } -/** +/* * INIT_INDEX_ADDRESS_LATCHED - opcode 0x49 * */ @@ -942,7 +942,7 @@ init_idx_addr_latched(struct nvbios_init *init) } } -/** +/* * INIT_IO_RESTRICT_PLL2 - opcode 0x4a * */ @@ -977,7 +977,7 @@ init_io_restrict_pll2(struct nvbios_init *init) trace("}]\n"); } -/** +/* * INIT_PLL2 - opcode 0x4b * */ @@ -994,7 +994,7 @@ init_pll2(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_I2C_BYTE - opcode 0x4c * */ @@ -1025,7 +1025,7 @@ init_i2c_byte(struct nvbios_init *init) } } -/** +/* * INIT_ZM_I2C_BYTE - opcode 0x4d * */ @@ -1051,7 +1051,7 @@ init_zm_i2c_byte(struct nvbios_init *init) } } -/** +/* * INIT_ZM_I2C - opcode 0x4e * */ @@ -1085,7 +1085,7 @@ init_zm_i2c(struct nvbios_init *init) } } -/** +/* * INIT_TMDS - opcode 0x4f * */ @@ -1111,7 +1111,7 @@ init_tmds(struct nvbios_init *init) init_wr32(init, reg + 0, addr); } -/** +/* * INIT_ZM_TMDS_GROUP - opcode 0x50 * */ @@ -1138,7 +1138,7 @@ init_zm_tmds_group(struct nvbios_init *init) } } -/** +/* * INIT_CR_INDEX_ADDRESS_LATCHED - opcode 0x51 * */ @@ -1168,7 +1168,7 @@ init_cr_idx_adr_latch(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr0, save0); } -/** +/* * INIT_CR - opcode 0x52 * */ @@ -1188,7 +1188,7 @@ init_cr(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr, val | data); } -/** +/* * INIT_ZM_CR - opcode 0x53 * */ @@ -1205,7 +1205,7 @@ init_zm_cr(struct nvbios_init *init) init_wrvgai(init, 0x03d4, addr, data); } -/** +/* * INIT_ZM_CR_GROUP - opcode 0x54 * */ @@ -1229,7 +1229,7 @@ init_zm_cr_group(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION_TIME - opcode 0x56 * */ @@ -1256,7 +1256,7 @@ init_condition_time(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_LTIME - opcode 0x57 * */ @@ -1273,7 +1273,7 @@ init_ltime(struct nvbios_init *init) mdelay(msec); } -/** +/* * INIT_ZM_REG_SEQUENCE - opcode 0x58 * */ @@ -1298,7 +1298,7 @@ init_zm_reg_sequence(struct nvbios_init *init) } } -/** +/* * INIT_PLL_INDIRECT - opcode 0x59 * */ @@ -1317,7 +1317,7 @@ init_pll_indirect(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_ZM_REG_INDIRECT - opcode 0x5a * */ @@ -1336,7 +1336,7 @@ init_zm_reg_indirect(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_SUB_DIRECT - opcode 0x5b * */ @@ -1362,7 +1362,7 @@ init_sub_direct(struct nvbios_init *init) init->offset += 3; } -/** +/* * INIT_JUMP - opcode 0x5c * */ @@ -1380,7 +1380,7 @@ init_jump(struct nvbios_init *init) init->offset += 3; } -/** +/* * INIT_I2C_IF - opcode 0x5e * */ @@ -1407,7 +1407,7 @@ init_i2c_if(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_COPY_NV_REG - opcode 0x5f * */ @@ -1433,7 +1433,7 @@ init_copy_nv_reg(struct nvbios_init *init) init_mask(init, dreg, ~dmask, (data & smask) ^ sxor); } -/** +/* * INIT_ZM_INDEX_IO - opcode 0x62 * */ @@ -1451,7 +1451,7 @@ init_zm_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_COMPUTE_MEM - opcode 0x63 * */ @@ -1469,7 +1469,7 @@ init_compute_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_RESET - opcode 0x65 * */ @@ -1496,7 +1496,7 @@ init_reset(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_MEM - opcode 0x66 * */ @@ -1555,7 +1555,7 @@ init_configure_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_CLK - opcode 0x67 * */ @@ -1589,7 +1589,7 @@ init_configure_clk(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_PREINIT - opcode 0x68 * */ @@ -1615,7 +1615,7 @@ init_configure_preinit(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_IO - opcode 0x69 * */ @@ -1655,7 +1655,7 @@ init_io(struct nvbios_init *init) init_wrport(init, port, data | value); } -/** +/* * INIT_SUB - opcode 0x6b * */ @@ -1682,7 +1682,7 @@ init_sub(struct nvbios_init *init) init->offset += 2; } -/** +/* * INIT_RAM_CONDITION - opcode 0x6d * */ @@ -1701,7 +1701,7 @@ init_ram_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_NV_REG - opcode 0x6e * */ @@ -1719,7 +1719,7 @@ init_nv_reg(struct nvbios_init *init) init_mask(init, reg, ~mask, data); } -/** +/* * INIT_MACRO - opcode 0x6f * */ @@ -1743,7 +1743,7 @@ init_macro(struct nvbios_init *init) init->offset += 2; } -/** +/* * INIT_RESUME - opcode 0x72 * */ @@ -1755,7 +1755,7 @@ init_resume(struct nvbios_init *init) init_exec_set(init, true); } -/** +/* * INIT_STRAP_CONDITION - opcode 0x73 * */ @@ -1773,7 +1773,7 @@ init_strap_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_TIME - opcode 0x74 * */ @@ -1794,7 +1794,7 @@ init_time(struct nvbios_init *init) } } -/** +/* * INIT_CONDITION - opcode 0x75 * */ @@ -1811,7 +1811,7 @@ init_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_IO_CONDITION - opcode 0x76 * */ @@ -1828,7 +1828,7 @@ init_io_condition(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_ZM_REG16 - opcode 0x77 * */ @@ -1845,7 +1845,7 @@ init_zm_reg16(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_INDEX_IO - opcode 0x78 * */ @@ -1867,7 +1867,7 @@ init_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data | value); } -/** +/* * INIT_PLL - opcode 0x79 * */ @@ -1884,7 +1884,7 @@ init_pll(struct nvbios_init *init) init_prog_pll(init, reg, freq); } -/** +/* * INIT_ZM_REG - opcode 0x7a * */ @@ -1904,7 +1904,7 @@ init_zm_reg(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_RAM_RESTRICT_PLL - opcde 0x87 * */ @@ -1934,7 +1934,7 @@ init_ram_restrict_pll(struct nvbios_init *init) } } -/** +/* * INIT_RESET_BEGUN - opcode 0x8c * */ @@ -1945,7 +1945,7 @@ init_reset_begun(struct nvbios_init *init) init->offset += 1; } -/** +/* * INIT_RESET_END - opcode 0x8d * */ @@ -1956,7 +1956,7 @@ init_reset_end(struct nvbios_init *init) init->offset += 1; } -/** +/* * INIT_GPIO - opcode 0x8e * */ @@ -1972,7 +1972,7 @@ init_gpio(struct nvbios_init *init) nvkm_gpio_reset(gpio, DCB_GPIO_UNUSED); } -/** +/* * INIT_RAM_RESTRICT_ZM_GROUP - opcode 0x8f * */ @@ -2010,7 +2010,7 @@ init_ram_restrict_zm_reg_group(struct nvbios_init *init) } } -/** +/* * INIT_COPY_ZM_REG - opcode 0x90 * */ @@ -2027,7 +2027,7 @@ init_copy_zm_reg(struct nvbios_init *init) init_wr32(init, dreg, init_rd32(init, sreg)); } -/** +/* * INIT_ZM_REG_GROUP - opcode 0x91 * */ @@ -2049,7 +2049,7 @@ init_zm_reg_group(struct nvbios_init *init) } } -/** +/* * INIT_XLAT - opcode 0x96 * */ @@ -2077,7 +2077,7 @@ init_xlat(struct nvbios_init *init) init_mask(init, daddr, ~dmask, data); } -/** +/* * INIT_ZM_MASK_ADD - opcode 0x97 * */ @@ -2098,7 +2098,7 @@ init_zm_mask_add(struct nvbios_init *init) init_wr32(init, addr, data); } -/** +/* * INIT_AUXCH - opcode 0x98 * */ @@ -2122,7 +2122,7 @@ init_auxch(struct nvbios_init *init) } } -/** +/* * INIT_AUXCH - opcode 0x99 * */ @@ -2144,7 +2144,7 @@ init_zm_auxch(struct nvbios_init *init) } } -/** +/* * INIT_I2C_LONG_IF - opcode 0x9a * */ @@ -2183,7 +2183,7 @@ init_i2c_long_if(struct nvbios_init *init) init_exec_set(init, false); } -/** +/* * INIT_GPIO_NE - opcode 0xa9 * */ From patchwork Mon Nov 23 11:18:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330589 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907446ilh; Mon, 23 Nov 2020 03:19:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeh2wA8lffdqYWkseVuFO56Q7vwLZP+93fuS1TYxUSh9X+jceTiN9nyoqVEnP19dcuwz8X X-Received: by 2002:a63:e70c:: with SMTP id b12mr22384006pgi.220.1606130397401; Mon, 23 Nov 2020 03:19:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130397; cv=none; d=google.com; s=arc-20160816; b=b5xtKd9BZaRryO6qpJLsEmJiMNb25IsNPUmW41LP+IKYHmUnBibcviJ/Bg2lxdrUY+ BM/k9ai605q7DawUyogvz6hIBYEjfzId92dABc8DdNx0S92OQJzKsPdjpu6MbKo0rfHN T/8Oyf99KbnVz1M8Qq6Gbbv267sll+q8d4t7T0Ra6kz+Vj8+fl0zyAMyIf765yrmFS9f ZV1G3UrVfDi9oKWGaJ0Et/Hmt7+06DuIz4TlLX2F74mPJrF7n/uK3rzemtWCc+D+H/XV UyHY7BfaePXtw6HIFWSIGJuheTdWp+YKGb0IM2ubgmNoHc8YTYVt86bU9zlTODxpxbW8 Hxqg== 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=2v5nLXX/AlHk9fW1xcsvHhNlqddmCPkjykN+k8xKAxM=; b=k+dmx9WhUpAU4gFyC+pwJNrkbfLwGMDJgAoZdnpbRMluyQ4P8+cVuNVpAnU6GLCqNN DqD0aKH6IEq8jGY2L0pjh/T2LbZZj/zQJpkXN2K3JayWFbuIsClbBq9xE3sENZeR0Fid zXiWtSZ32v2jVfBdfKUvrHXlW7L16TcdCEAsMBUBabhkBw6x+h7BM3c1itCRQ7fjGgUv EF9BC9FU0u+P3BhC4YxYcnAhLKNmqqQOBdd2bUm62us5kKhGGNOdzwhYVp3ZnIAkGJeW Fjx+4zxM6BVii4QYjESa/bA/4fjdsR26mx5lx1xWERcrJNe7J2/k1VhNYOSs1p5AFS7m IHgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xSR30k//"; 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 v8si9312948pjt.145.2020.11.23.03.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:57 -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="xSR30k//"; 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 C48EB89D77; Mon, 23 Nov 2020 11:19:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7388F89AA7 for ; Mon, 23 Nov 2020 11:19:44 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id d142so17514043wmd.4 for ; Mon, 23 Nov 2020 03:19:44 -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=Q9nOuAyNuSnMvxG/2OuToweTEm0XWfNfEAno5/MOVLo=; b=xSR30k//SbK/enLO3H8pSlIZr+qDnzQ4F182rUTLcw60ffjqKJ6/b+s0Q9PnW3SYXp rcrwgNOW5QOKlBuRXUpBxmyYyIrkhr/rbJyigkVt+P7QphFULKRVhNaIu9czDJv5KROf p0JjkrmLIAkXOFeIomlmVrCUR6DbjDeVrCla2G2wEdTqWlrh3QkuJu+tjetZXsybVkxP OwD16s+yjEazWU7hgyhq1XqTwLKlNdTpvZYQJ2BVPTBABuNwDWNDgKeCJ2xwudYLvUQg dDp70KjdGfIIVFJSuyv6TXu4MFfJlITpN06KDk5JzmYYBUAO7m1iKAwH2MQoDA9nE2SE mN3w== 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=Q9nOuAyNuSnMvxG/2OuToweTEm0XWfNfEAno5/MOVLo=; b=YVNiHoBq4+E5PIYKXAG1UJD5h1s2LANx/O6o6ljVb5wPK31uquunsTxuKY+ySN6Wsc yiiwzIe3L16JL67F9MUNWr8qXlp3Wd0Wea3ujoxHOxxJ/nTCT1wfv0DNwek9+AIXgxEI 2ompEwy+YUn1N0/Cjwcz+UxpII4dHAdSs5yigCHX05kmP7hK4OV8xeDDXRX/0dcUECWL /ULxO4K/Oed2/lmXHCuAcmvh/UwrUK5i52bJFN17Lwj444OEVepE/tc3NaW4xml14FZz i41bSACdUmNU86DlpyrCuKKQ9DL0rttFA33JP1f3Y8xLjhimPk5s/XEIKTnuqqJYoj5n ypog== X-Gm-Message-State: AOAM5311gSUGTsrFKKUXYH+18p5b/5EgxJnVM5WuTSDNiK9zx33XfmYe 1stiDbSmT83grlCLMahy7qjK/A== X-Received: by 2002:a1c:f612:: with SMTP id w18mr23805537wmc.11.1606130383174; Mon, 23 Nov 2020 03:19:43 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/40] drm/amd/amdgpu/si_dma: Fix a bunch of function documentation issues Date: Mon, 23 Nov 2020 11:18:55 +0000 Message-Id: <20201123111919.233376-17-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/si_dma.c:92: warning: Function parameter or member 'addr' not described in 'si_dma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/si_dma.c:92: warning: Function parameter or member 'seq' not described in 'si_dma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/si_dma.c:92: warning: Function parameter or member 'flags' not described in 'si_dma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/si_dma.c:92: warning: Excess function parameter 'fence' description in 'si_dma_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/si_dma.c:252: warning: Function parameter or member 'timeout' not described in 'si_dma_ring_test_ib' drivers/gpu/drm/amd/amdgpu/si_dma.c:408: warning: Function parameter or member 'ring' not described in 'si_dma_ring_pad_ib' drivers/gpu/drm/amd/amdgpu/si_dma.c:446: warning: Function parameter or member 'vmid' not described in 'si_dma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/si_dma.c:446: warning: Function parameter or member 'pd_addr' not described in 'si_dma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/si_dma.c:446: warning: Excess function parameter 'vm' description in 'si_dma_ring_emit_vm_flush' drivers/gpu/drm/amd/amdgpu/si_dma.c:781: warning: Function parameter or member 'ib' not described in 'si_dma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/si_dma.c:781: warning: Function parameter or member 'tmz' not described in 'si_dma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/si_dma.c:781: warning: Excess function parameter 'ring' description in 'si_dma_emit_copy_buffer' drivers/gpu/drm/amd/amdgpu/si_dma.c:804: warning: Function parameter or member 'ib' not described in 'si_dma_emit_fill_buffer' drivers/gpu/drm/amd/amdgpu/si_dma.c:804: warning: Excess function parameter 'ring' description in 'si_dma_emit_fill_buffer' 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/si_dma.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dma.c b/drivers/gpu/drm/amd/amdgpu/si_dma.c index 7d2bbcbe547b2..540dced190f33 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dma.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dma.c @@ -81,7 +81,9 @@ static void si_dma_ring_emit_ib(struct amdgpu_ring *ring, * si_dma_ring_emit_fence - emit a fence on the DMA ring * * @ring: amdgpu ring pointer - * @fence: amdgpu fence object + * @addr: address + * @seq: sequence number + * @flags: fence related flags * * Add a DMA fence packet to the ring to write * the fence seq number and DMA trap packet to generate @@ -244,6 +246,7 @@ static int si_dma_ring_test_ring(struct amdgpu_ring *ring) * si_dma_ring_test_ib - test an IB on the DMA engine * * @ring: amdgpu_ring structure holding ring information + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Test a simple IB in the DMA ring (VI). * Returns 0 on success, error on failure. @@ -401,6 +404,7 @@ static void si_dma_vm_set_pte_pde(struct amdgpu_ib *ib, /** * si_dma_pad_ib - pad the IB to the required number of dw * + * @ring: amdgpu_ring pointer * @ib: indirect buffer to fill with padding * */ @@ -436,7 +440,8 @@ static void si_dma_ring_emit_pipeline_sync(struct amdgpu_ring *ring) * si_dma_ring_emit_vm_flush - cik vm flush using sDMA * * @ring: amdgpu_ring pointer - * @vm: amdgpu_vm pointer + * @vmid: vmid number to use + * @pd_addr: address * * Update the page table base and flush the VM TLB * using sDMA (VI). @@ -764,10 +769,11 @@ static void si_dma_set_irq_funcs(struct amdgpu_device *adev) /** * si_dma_emit_copy_buffer - copy buffer using the sDMA engine * - * @ring: amdgpu_ring structure holding ring information + * @ib: indirect buffer to copy to * @src_offset: src GPU address * @dst_offset: dst GPU address * @byte_count: number of bytes to xfer + * @tmz: unused * * Copy GPU buffers using the DMA engine (VI). * Used by the amdgpu ttm implementation to move pages if @@ -790,7 +796,7 @@ static void si_dma_emit_copy_buffer(struct amdgpu_ib *ib, /** * si_dma_emit_fill_buffer - fill buffer using the sDMA engine * - * @ring: amdgpu_ring structure holding ring information + * @ib: indirect buffer to copy to * @src_data: value to write to buffer * @dst_offset: dst GPU address * @byte_count: number of bytes to xfer From patchwork Mon Nov 23 11:18:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330588 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907429ilh; Mon, 23 Nov 2020 03:19:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUF4fEx5gwJQ3qvKp856/vo55LfciVJVqeLiToFixUYJ3KABCf2awXsm/HrETtc6rR1sPl X-Received: by 2002:a17:90a:4dc8:: with SMTP id r8mr23461695pjl.1.1606130396064; Mon, 23 Nov 2020 03:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130396; cv=none; d=google.com; s=arc-20160816; b=lXlY1y2C/fJUwHgLWQTsdinYTafKi82Hs5IcXG23iYnuHiv8miKKR/VSc2U9F2E114 zHPfaJmaTyJXXJfSQaPi3WJTEekL9NJJg35xIEONn4BskcEXih5kPmp5FcfPPKdMAz0D aouSR+1DwFrNHrzFX9slU95b/CHvOaPOvSSj0OiaKDOu3PM87i+la1KF+CNHrdbuaw/C OPdK36O4Lcbi7JIo4d9B+BBTfZh7vhNgx0DdQmA/LLpUcSk79qu5D9NMYyVpoarGnixN WzxzmduJS3bRzecX7Uqs7TGPRmhfmfR2b4eQgZip5TxTMhqIxzG84tfHkjj1OZ3JydHS x4rQ== 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=0xA4GsgAMxO9rLWYgLHc068/gkMnYZ83OJSZJdWUwyw=; b=h2tAMhHnwMWEnilR1WcSQZVLav3gIoiqFah4oBLal4q0yJMFNrm9g+V9XqqoM0k312 Of42+52DhilX3pRB5kci81w250czh4QuDp0wTGmpotPnzeJACFUCeiRh/SSxlBS7IrmZ YKpndK6TAfA/tF1UyJW9otqQDCyl9pnodiyev3BsxryFs04ScKJrwYr21rN8U/jZ8Oif sWqPBl9unGdaaCUKYT8YrbqGB2idWOWAvvtD0NP81/LeGRwKoL/3iHM1Bk7cYH5gEQhm ANuzcfH6JCdvNpIx8o1ctcTXSOzftLp9c0TL4D8fzgmMZWNH0M5c02OhXh64QtkCFErD NZag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pMKJZWqn; 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 w24si10313521plp.377.2020.11.23.03.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:56 -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=pMKJZWqn; 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 B609E89D73; Mon, 23 Nov 2020 11:19:51 +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 BDD0189AA7 for ; Mon, 23 Nov 2020 11:19:45 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id h21so16859788wmb.2 for ; Mon, 23 Nov 2020 03:19:45 -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=L1fDlpcchEE8sJt9jBofLY6dgEAvbjxCo2YFiogOR0A=; b=pMKJZWqnGQ4EOGsM3m2PkBJTgPkL3qByu1IMOQ0X/arVLPTbGxxWRx1SJeEo/Ph48O vVN2QUHMHY9L5b9Rv/C5Ba4yptENb7hnEe1I/jE4i4Cq6aS4NeC8QCpdTbtz9RAC1WPz s8FUUBFETfQI9vuV51nSZ69uOd3k1WSU4j338+SMe1Exv4mLTQRtZDisLhXlftvz9ELl 3nH/hb2pcU/WElO4+fX5n6PwzZP3Tsf+a68dcWx2p5DY+CHRkWvpfRNEOgXXhXCd7UPy 1UOO0uiqnYk4FYrHawRONEioF2QOYeJpBxWk5AE3zznY6mfgbWWNvjt2+xPWlJ3Tp7Xx XEeQ== 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=L1fDlpcchEE8sJt9jBofLY6dgEAvbjxCo2YFiogOR0A=; b=YAIqyypakcBc2JL7OE6885Njgc2tg5wJAS2wFiFs88VZ8hJfIGFa7YOBkuMGfAPuTE 7Bz1pPupSQiJDrursdxbY1w44ZUvG/vFDudGCC35PsBTpPeo2/s2VdPXINpQo+qHJS8k EuRCJ509rnpmz6Ioyy0dZ0+JFbVwiVGvMFimHq6bYZq39nwFhNvXDBeGwEQwaCIlejxw T1ZwY86OTU4klIx0JKI2qblDE09vgUh8Oj1gexVfS2W6ceumo3m9t+dmBXgl9UH2Mnxd SsnWDNI1V5I2OBhVyNlQD58OCsS+IwQ69Pyuhoc73RdI3xNZ2k+pJ8pI8jXq2FSFxSsh 68bg== X-Gm-Message-State: AOAM532fr1QHVgulhB7dhNIw/toMD+MKK5yqQj6/C8NzrC7uGXdPw9JC 9kpTIx58WuKkDnpym585AIZoTQ== X-Received: by 2002:a1c:1c3:: with SMTP id 186mr23088850wmb.39.1606130384390; Mon, 23 Nov 2020 03:19:44 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/amd/amdgpu/gfx_v6_0: Supply description for 'gfx_v6_0_ring_test_ib()'s 'timeout' param Date: Mon, 23 Nov 2020 11:18:56 +0000 Message-Id: <20201123111919.233376-18-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/gfx_v6_0.c:1903: warning: Function parameter or member 'timeout' not described in 'gfx_v6_0_ring_test_ib' 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/gfx_v6_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 671c46ebeced9..ca74638dec9b7 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c @@ -1894,6 +1894,7 @@ static void gfx_v6_0_ring_emit_ib(struct amdgpu_ring *ring, * gfx_v6_0_ring_test_ib - basic ring IB test * * @ring: amdgpu_ring structure holding ring information + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Allocate an IB and execute it on the gfx ring (SI). * Provides a basic gfx ring test to verify that IBs are working. From patchwork Mon Nov 23 11:18:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330593 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907638ilh; Mon, 23 Nov 2020 03:20:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxhMtPkzyrkFGB09KQMSVmSB6HZflDwekm0GCzfHPEgfluT1lAR9cvjhM0IU7fLuLYGTsr X-Received: by 2002:a17:90a:f815:: with SMTP id ij21mr6637840pjb.96.1606130416375; Mon, 23 Nov 2020 03:20:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130416; cv=none; d=google.com; s=arc-20160816; b=H0svhZ3qciCGQjZ0pKTSHgdWRkcp04GnjGUsZWGewYcMxHWR4n3JdpQKZ5kM55Briy c7rd5fR6fmPelPhMl/JUjXDyaf1FW/UhCWAGvWj19/sBMUqTnkWpzLVQGwJF1Z1ByPpA GC1Rdx1btz6FIRlCJdFk6qp4RsBqkmU6ifkGNkvmANW3I7+bWMJCVqgPex8lIjvZVos1 +V7gX9SkRyBuAiowaQbpT2oK4OhMsy7hJyzeCwRQk+VZXBMXTLOhA6UNaMGcqwG6X1il pTk8cJShSGZbXOqRARFwK9x1qT13dzY8fCFV83SF9GxOZFtDfWCQUC+xXLms7cEJhwTU 0iTA== 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=Bt72+XcqeQV+Dq7r1qxMxr/Ed2gpdGMg+TJq/l0IIks=; b=sLx9G2dHFZSP1a7r0ktjA60CKLZtv3IHdZ4VTG4R3RQMOyituQjqVYvBl5E4g7kjBc 1ypZMR1R+vF1XLIZzE/+FQYlVMsfsKX6ncCNhIS8ecEHBXkayNcJQF26uNL7tSXcvH7k wt+dNt03Q+Nzos+n90ATqjvhDFj4yFs7R6pdt6G88PZci5MF/by2JJrDDxw1pYEBSdV9 Ga4Pf9egmjkzu+fKedKsoTgqfOo4k+c20DOpnNyc0N4lrd020zLrTLYbBGwvHZiN9oTY 9njB0VZ5lFMvWwxCDFDeJ/KoSXnRTNaVQmRIaWEcW4OthIZN6QmTq0SNAt6CN7fj7jSO c4BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VbVyI7Iw; 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 az20si10471981pjb.21.2020.11.23.03.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:16 -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=VbVyI7Iw; 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 D925D89F01; Mon, 23 Nov 2020 11:20:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 765CB89AAD for ; Mon, 23 Nov 2020 11:19:50 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id p22so17512035wmg.3 for ; Mon, 23 Nov 2020 03:19:50 -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=32SVJ8mdRe/T7//SaLi21jO2sGQbGaZReyRM63Vrq+I=; b=VbVyI7IwpSnGVD6+CoCln9D/YR1WicPAg51iH21SRVTcs6T3np9/gKs/xquUFHxAO3 QoWpNWkbIDo1GGgDdoUL2Ouhv1j/RwYN3ip3FCNoUak8Vvch4k5k52ucqtLnlablo/6u SNgLtssab4dr7Xe3CduS5bFpNEzUabWliu1oFptjht18hpg9LcgHBDARGc6bpbkGB2wx c3XVbpXolFeBxe576y3M9GKEslcK1dvNt+51/4ecuqHsc38M4oAAjILB13cUUnihUZ/8 xwpn4rcW6qYpfM+41YoeWtnhFdkileNG1g8UA8oLqOUrQ0H2wwQC/mG2vl0eIIySNpzS TCdA== 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=32SVJ8mdRe/T7//SaLi21jO2sGQbGaZReyRM63Vrq+I=; b=ce3i9mLq3jTTNou3Lpqzh2UbOr9ZO+nSueTMtLE3BibVIvtavDgesNOLnm0aZnK52P IIZhkxiBCPHNtQb1VqbiNktuuBO5uIGWZ5jqVBK7oR6AfM9JymVIceEA6Kh9ol6cLfYt 3NKCZBTHgFkJR4UQilSsm/hT6RNBDcJLMWSU17hL7YeAB5SGvy64XvBGeTGVVX5+2Fak Gk49ZjNiSX0femgVYY9GHlaw+UY0YheGzdDoxz+sQAIZogBWuYMHvBDkh/TUzu6lB9Dq LXv+d13eYdGlsB5lZLrcKpboT7pNvbzYkx+K6qCN5eVT5d2WAPPKSAKN28kCLmJHZ9O9 Wdjw== X-Gm-Message-State: AOAM533RpJs3j6ZYB6335kJqqKFMBtIHDhdhewxNsMid4T2mn1fpeIOY Hp/SDuNCLSSebWDqcIEKl2Y8tg== X-Received: by 2002:a1c:6a16:: with SMTP id f22mr15232172wmc.86.1606130385644; Mon, 23 Nov 2020 03:19:45 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/msm/disp/dpu1/dpu_encoder: Fix a few parameter/member formatting issues Date: Mon, 23 Nov 2020 11:18:57 +0000 Message-Id: <20201123111919.233376-19-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:207: warning: Function parameter or member 'cur_slave' not described in 'dpu_encoder_virt' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:207: warning: Function parameter or member 'hw_pp' not described in 'dpu_encoder_virt' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:207: warning: Function parameter or member 'intfs_swapped' not described in 'dpu_encoder_virt' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1445: warning: Function parameter or member 'drm_enc' not described in '_dpu_encoder_trigger_flush' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1445: warning: Function parameter or member 'phys' not described in '_dpu_encoder_trigger_flush' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1445: warning: Function parameter or member 'extra_flush_bits' not described in '_dpu_encoder_trigger_flush' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1481: warning: Function parameter or member 'phys' not described in '_dpu_encoder_trigger_start' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1564: warning: Function parameter or member 'dpu_enc' not described in '_dpu_encoder_kickoff_phys' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 289bfb6f1861c..288e95ee8e1d5 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -132,9 +132,10 @@ enum dpu_enc_rc_states { * @phys_encs: Container of physical encoders managed. * @cur_master: Pointer to the current master in this mode. Optimization * Only valid after enable. Cleared as disable. - * @hw_pp Handle to the pingpong blocks used for the display. No. + * @cur_slave: As above but for the slave encoder. + * @hw_pp: Handle to the pingpong blocks used for the display. No. * pingpong blocks can be different than num_phys_encs. - * @intfs_swapped Whether or not the phys_enc interfaces have been swapped + * @intfs_swapped: Whether or not the phys_enc interfaces have been swapped * for partial update right-only cases, such as pingpong * split where virtual pingpong does not generate IRQs * @crtc: Pointer to the currently assigned crtc. Normally you @@ -1436,9 +1437,9 @@ static void dpu_encoder_off_work(struct work_struct *work) /** * _dpu_encoder_trigger_flush - trigger flush for a physical encoder - * drm_enc: Pointer to drm encoder structure - * phys: Pointer to physical encoder structure - * extra_flush_bits: Additional bit mask to include in flush trigger + * @drm_enc: Pointer to drm encoder structure + * @phys: Pointer to physical encoder structure + * @extra_flush_bits: Additional bit mask to include in flush trigger */ static void _dpu_encoder_trigger_flush(struct drm_encoder *drm_enc, struct dpu_encoder_phys *phys, uint32_t extra_flush_bits) @@ -1475,7 +1476,7 @@ static void _dpu_encoder_trigger_flush(struct drm_encoder *drm_enc, /** * _dpu_encoder_trigger_start - trigger start for a physical encoder - * phys: Pointer to physical encoder structure + * @phys: Pointer to physical encoder structure */ static void _dpu_encoder_trigger_start(struct dpu_encoder_phys *phys) { @@ -1558,7 +1559,7 @@ static void dpu_encoder_helper_hw_reset(struct dpu_encoder_phys *phys_enc) * encoder rather than the individual physical ones in order to handle * use cases that require visibility into multiple physical encoders at * a time. - * dpu_enc: Pointer to virtual encoder structure + * @dpu_enc: Pointer to virtual encoder structure */ static void _dpu_encoder_kickoff_phys(struct dpu_encoder_virt *dpu_enc) { From patchwork Mon Nov 23 11:18:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330591 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907591ilh; Mon, 23 Nov 2020 03:20:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+fUFOtUZnCCkXYyEGTI4ZJ2o16eyoPPWV21pzPa6kOrhNNYXrkZw8Z4tCDJM46ORveIsZ X-Received: by 2002:a17:90b:e87:: with SMTP id fv7mr24193356pjb.207.1606130410434; Mon, 23 Nov 2020 03:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130410; cv=none; d=google.com; s=arc-20160816; b=AzNPhkgsUAEbUPXYGPcjjFf5PpxYIqHYVPuL6hGkCuxlAj5QjVHZe/v7XFFW2siSGb XcX09jzVCYyNTnVvACPSbkQKGrZjVtxbSVdV0qswqNB5CbFAeY1PfprUBKBtUMAbEdUi xcWzFgYxzyJiLEl0+CO3dey+8qncc2EHNse1y11uWWF2BhUhkepzT401feIRQ0CZiFOJ fKgj/3/d5rJ7jaMHELIPABTxYjmE7P/SzgaBJMZX9RJOmg3DhSmRTpObCl8i71ztYWV4 vv9BiTlHxsH+sEb73yk8KL7qdPtx60SCz6LlrfckLgKHq7LvCiS8NNOI/W1cn9Pv83mj YqPA== 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=xKG6AGKOA3YiUZbQAnIXBXXMBgKkiDSeJcPOKOqDTJQ=; b=IEG8Puei8LCIG5S6NAoky1LZb4DdgLi0Hz03D+KdgNMSEOBA+nLlq0DiG7OHPosL/i o3VVsumoAZsxOLfleG9TgkOgFp2nYMZirB3hh6zE5/7ocAhaqsWZl2S5fUkOBruqTle9 S9UBB/oNnQDOCi0OIY/F5pZL4KXZUn5Ectupuwo6NckpWT+CTll8SqKsEFCZzgdF1wNO 4CNWFikRfKzZtbIkTcdK5cN238AcsAsmblvtoVGUajg75eyfspL5jRoz5P09WG6L9oVw Q/1p5ZCxC+6hdfg4r09j4U/89RkAsAB34IaK4lzJYxsop57c6VcWbvcbc9m1f/xC33RZ 9Ajw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OuMa9UaW; 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 r10si11501050pgn.439.2020.11.23.03.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:10 -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=OuMa9UaW; 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 3F04289EA6; Mon, 23 Nov 2020 11:20:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7672C89D4F for ; Mon, 23 Nov 2020 11:19:51 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id k2so18248181wrx.2 for ; Mon, 23 Nov 2020 03:19:51 -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=5/zamWA9w0pOX2DctOX3yJEbpsZvbeKEF08oXx4R0JI=; b=OuMa9UaWIFPj86BbHXSs73Xo1Pusn+Lxmxt+3cAZmcGB5PQm7gFVsRy18MW3/CEdGv iiA7WZtPwOLtaRQDjnprrZephkR0OYEKOS7XhRvpvIUztFc15DlQ/HmBW27rHUvUGZ84 xhQ13Jr83ctPTHNSZ2le8pTffof04hJ1dSgQKDsytfWNIgDhfi0BPTGwBEzBStmbG3Ia R0VKK2mdmfJ8jgYuljfIm3fX7cqTJkCg99LNM7I+2GAi5zHL7r+58DG3PHKZAxzEz//C TbiL/JlgCJ172UmD3iTorkzYwpyYtsN6u5GIdRGXQsxUYjYAfQjetzPTotyFYsdi71hQ 9tww== 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=5/zamWA9w0pOX2DctOX3yJEbpsZvbeKEF08oXx4R0JI=; b=iVqF6fIYtuDfJTJlNzSNHVqqnSFolpQiFSxaERuICQc0atAkVsf0HHhAeScqPXMGBF utUBiZupnjlsI8VNZh1oK2MuydEUMa3oAYUCeCnsjA2hLki77zI2Dn1OguSJzhqkB+/A I/ZWFjiI0KYfh6H7ALL5UW4iPIH4xL0rekKq4dbLFComfhG24r2lvrfkCQ7IIMz8B44S q6id9Kg1S7080SqX4arf5v4Dgdrs/s6I5DONp7uXWOa5uf28fFBlz+DYwCTUdb8ghAul 1Mp5CQRfX3dgUmfVlJtGmAmIr/6ksHWgYjPeWCDOu8SZ9RYzucAYmRfGsH2iT1C7UGl+ LWeA== X-Gm-Message-State: AOAM533eNkeCakznRE0CP2caDpLPiHAOOdAMGS3iMHW1xT6Ee2NC5anB dQ+WDhhfIUyno6rrKf6/9VSI/A== X-Received: by 2002:adf:fec6:: with SMTP id q6mr30804236wrs.168.1606130386916; Mon, 23 Nov 2020 03:19:46 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/40] drm/msm/disp/dpu1/dpu_hw_lm: Fix misnaming of parameter 'ctx' Date: Mon, 23 Nov 2020 11:18:58 +0000 Message-Id: <20201123111919.233376-20-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c:55: warning: Function parameter or member 'ctx' not described in '_stage_offset' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c:55: warning: Excess function parameter 'c' description in '_stage_offset' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c index 4b8baf71423f2..6ac0b5a0e0573 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c @@ -48,7 +48,7 @@ static const struct dpu_lm_cfg *_lm_offset(enum dpu_lm mixer, /** * _stage_offset(): returns the relative offset of the blend registers * for the stage to be setup - * @c: mixer ctx contains the mixer to be programmed + * @ctx: mixer ctx contains the mixer to be programmed * @stage: stage index to setup */ static inline int _stage_offset(struct dpu_hw_mixer *ctx, enum dpu_stage stage) From patchwork Mon Nov 23 11:18:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330615 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414979ejb; Mon, 23 Nov 2020 03:22:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhy7dQsAjY1FfGiiG8SlQzWLzp2Z8baqTubCdehJNmzXwoFxeFwPBQyHtel4B/e4TUPpta X-Received: by 2002:a62:8685:0:b029:197:f766:b135 with SMTP id x127-20020a6286850000b0290197f766b135mr7118392pfd.0.1606130433557; Mon, 23 Nov 2020 03:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130433; cv=none; d=google.com; s=arc-20160816; b=tETAmts3rImUZGVHGBWKQuMg91EvKUw3JVrj1AuQQCm/HeWPkG9UczGsyJSLl/kc8v GGzApZP4meZi8uYfFQtMy/jJrOmSEQcTITL1YkXiM5TJmGhAMMoW3AaB4aOPue0mdP0a pgY/f844/zmCyCj6ps5t6+SoaWWQ9o2DUM3vbOTZjBHHz3RHN7aSpNdcd8tn3+T4UBFO BIMDZ3m+SDz6nQehQ9q5tbNUQ292F9qbMyLaSw6a88jY/t7IxbDHb1Z1Gy9S8cIZQhn+ hdyg1GT1CzsZxekpFVI4uU137PnQnSxIEwgcGBJ7hmG9M4rEVa6AJZjp5CBYZ97nq81X U0Lg== 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=xnmjs5MaKfSFMJ4D2QW+rWC0CAJeJjcaqrj23WKiDa4=; b=eeySmtUC4e8O5qQyGSbbMsEKUddeiAXB0kotzojWViwzOh5NyD89uic3zQkFWP7OAO v0Q5PoN55u4lIE0pXKC3YnvlpBshXh2ThRHqGMfLcSb6iPHI6SXFvtGnuK8qf699oZyZ Yde5h3yH7jwfCFm7CnhvVn3fpkYrYOp6svE6UMl4PAzzBgJM4/nADzaWzieCuDMrBJmL MCHqiOnvdpnRXudhSRbg+13aNr4wvzKzh9hBi5DaPfPAxTiPKSFnOaepd76HCX+0Hkj1 qmLZLvXCOrpETtueguBjc7dY/Cvf5UA4aJICcw6TI4UOkYUgGoAb35XEDerI/DwSbkY9 qtkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CCyxnCMq; 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 ei23si9688387pjb.124.2020.11.23.03.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:33 -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=CCyxnCMq; 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 9CDE189FDD; Mon, 23 Nov 2020 11:20:10 +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 61B5D89D77 for ; Mon, 23 Nov 2020 11:19:49 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id p22so17511979wmg.3 for ; Mon, 23 Nov 2020 03:19:49 -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=gKoITWdb0NAA2TK8pxTD/cxHUBVgW9vDIRLy1VQg+s8=; b=CCyxnCMqaD6iY/pHwlqr9sW8pQD8avE8KqZDp/baOaadch63BqfnmFUxC2u2xSnwXi JdKYp2wkcbJrzPIfpMoT6gtkHiai7DA2fnb3Ws2X24klPs4fyBX4jEyX8ZxxPfqHxDG+ Vr1ZKgJ15buJstTI+jCKRRnmDMwLjmqcWMNXvRDm4BreDc2ty++tMdtvs82ZJINBUEyi /v+3eNY7PEWmWw5QzyOxBTpZ++zFTFv8a4GFEiy9xHCHE5PwKDw74pGHOziGcFNx47bV 7AjL24ldFFtcp5lNCyqo/6Y0Rf44GruO/z3TIyADZ2Tn8lmp7g9LNdt96ZB5rZUly6Ld Im/g== 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=gKoITWdb0NAA2TK8pxTD/cxHUBVgW9vDIRLy1VQg+s8=; b=Gi7F4K61BpxB43FglnaI73eNydXaVzbF5UswR79oufMcxsZYRgRGOWHu3JOMoxYFn7 F6Beh2SisoFPrcHsSpljNVT//3pmhVdTOTv3HN6DeQzhk0bSrt7EATegKFWO9FXtV14W PNfVi25rEi6pixppsbNhI+wLjS/QogzRYyVMP85thlAWyB23YPe7x2SDfnc+26xGmT28 7r6ThTV91AaKmN9JePo9SOYtoM1JwFpzfTuRFbPPLqIq0xZiDuuwzvN2Q8mS9D36d+am v1gKowHTutMGZnoYh5AWYVb8G7Yft5zwfJhy28wKoDdYZ8SamTnMi4O6VdabRDQkJ8lC mkRQ== X-Gm-Message-State: AOAM532asY6vJKAtMZdCEMFk2zD1hJN5KFRWrEU3+109JwzrDqG11hhZ t8qz2so0wdl9ndGUoQfcnb2RLFmc+22uHbdG X-Received: by 2002:a1c:1bcb:: with SMTP id b194mr23539889wmb.139.1606130388099; Mon, 23 Nov 2020 03:19:48 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/40] drm/msm/disp/dpu1/dpu_hw_sspp: Fix kernel-doc formatting abuse Date: Mon, 23 Nov 2020 11:18:59 +0000 Message-Id: <20201123111919.233376-21-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: freedreno@lists.freedesktop.org, Jonathan Marek , David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:240: warning: Function parameter or member 'ctx' not described in 'dpu_hw_sspp_setup_format' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:240: warning: Function parameter or member 'fmt' not described in 'dpu_hw_sspp_setup_format' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:240: warning: Function parameter or member 'flags' not described in 'dpu_hw_sspp_setup_format' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:240: warning: Function parameter or member 'rect_mode' not described in 'dpu_hw_sspp_setup_format' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:446: warning: Function parameter or member 'ctx' not described in 'dpu_hw_sspp_setup_rects' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:446: warning: Function parameter or member 'cfg' not described in 'dpu_hw_sspp_setup_rects' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c:446: warning: Function parameter or member 'rect_index' not described in 'dpu_hw_sspp_setup_rects' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Jonathan Marek Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c index c940b69435e16..2c2ca5335aa8c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c @@ -231,7 +231,7 @@ static void _sspp_setup_csc10_opmode(struct dpu_hw_pipe *ctx, DPU_REG_WRITE(&ctx->hw, SSPP_VIG_CSC_10_OP_MODE + idx, opmode); } -/** +/* * Setup source pixel format, flip, */ static void dpu_hw_sspp_setup_format(struct dpu_hw_pipe *ctx, @@ -437,7 +437,7 @@ static u32 _dpu_hw_sspp_get_scaler3_ver(struct dpu_hw_pipe *ctx) return dpu_hw_get_scaler3_ver(&ctx->hw, idx); } -/** +/* * dpu_hw_sspp_setup_rects() */ static void dpu_hw_sspp_setup_rects(struct dpu_hw_pipe *ctx, From patchwork Mon Nov 23 11:19:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330598 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907732ilh; Mon, 23 Nov 2020 03:20:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmu5xWyXLctJOIelj7vIU1KoJuTb5kOZj8gaPtC4DkVWpDC/sRllnLGR9kStRE3fHsOAJ7 X-Received: by 2002:a17:90a:62c8:: with SMTP id k8mr24069880pjs.33.1606130424566; Mon, 23 Nov 2020 03:20:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130424; cv=none; d=google.com; s=arc-20160816; b=XYQ2r67EIKWO5Yaaahx7pyZ/oXBhbq5+MUubdZ6LCmCg3YAGgaKaFlNMI8Q+lgAyaG ryD3qT5NR9SFaKhvImLaTU73w1BcnqS025PnSd8RMXUjyQGR969aLhfoK/kllJWqja6p zUTbGQRxkDxkXCVGsLxICnUiLcQ6Tw2vlAABv3isUzrSj/vB1WUuWrQIizj2wg0lxlOO s/c5TghgCnXGlN/oS4mWDGwbmIfWdwczYHSj3zcQr46eQzz2DEVC0kDd/60B+Mucqnly XoJEdM3WpoI/SLzdTZ8NCiBLR3obNZcrOplcpgD651GG13tXf4Ur/kW0P6BztOnbobHs 9O/w== 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=aJVp+MESPEcLen8/JninKcw62p4g7P5XQT7e/74QEck=; b=yf4xo6wz8eczihMkLKMJKo1vPglG7KYWJc3BMn0HtEUyqfh6gnPfDYuQckFRpfGYX1 NhS92WkjMNhhQyIG03V2DJFXwIRcRivzj8rU5QaEC+eTfM5CjWVt3/PeDDlSqOq7/myi q8yCnRddywGwKgkUXCWDuDZabmGpeW2962DF4kS3FqRPIGdH5UR0qjwGPvJV/oc9+RkH KVu2TFSUyDd9Py/Y3PETdC1rTQZAXS3zaz1UowNqFiQccZHDiddzHXZrNJDMnJq932At oZKWA0F/c8Cl+hPTD0F1jp/r/PWAWd+Rfr9u4J/rYP3zA0XKhp7I/5y30SvSbp6wCbwh bFQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j2lpQSm4; 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 ms17si10472782pjb.155.2020.11.23.03.20.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:24 -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=j2lpQSm4; 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 581DE89F6D; Mon, 23 Nov 2020 11:20:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8607889D73 for ; Mon, 23 Nov 2020 11:19:50 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id g14so2998193wrm.13 for ; Mon, 23 Nov 2020 03:19:50 -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=wldsqjpaFVDFoYgF4DYJ7wI1w74XU6uKcd1AqstflIg=; b=j2lpQSm4QAruRHwdMh9MeGZIC4kPQ82NerLc4fhX1Bf7ALSDHI5+t4h/QNS+ETUlkP Oc0ibH/V0O5O1c3FC3j5OXzmPUqRr9hDN829yi5pqtPFDwVbfrnW3SnegJl6K/xqflq/ 7cv3kQf3peWq0HBjW8kRrH1PMz7wRm+kNtLf1Q5A8IDR3OuihiLFyjl2GN7VJraUbohg c7Kn0VF2HguehowbndbNIUhMlyJv1A9XAVuBA3ozsUiqXFLfq6qlZr2eFDpFmChxIatw WlIJQhIOb2zFNvbP+nwZOsSV6Km0QodzzixeR1P/WvdhBx1dFeoaIIN6HIgM2+vD+p8k H+xw== 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=wldsqjpaFVDFoYgF4DYJ7wI1w74XU6uKcd1AqstflIg=; b=VDFXJtZRY3gv9nOOjt+PLgOY6dKZgT54Ju0lGKjLImErXRg1EE2gSilxWwtLzN9JhX SOmXGoTdci8k2kiTVOydSSA7LAdjqtIWnLiA6hTOVSPdhm0V8a5+pg3JMUU3VGe4aBhq mke+YVW5bU1H1+F07IlimqLPbEwI9+ovZ3Ts57DpVfAQbKFkOjmwEqBmUua8x0ms7FxT pGTpQ5ch7JBdfqPZDqs+wxv0kVHUlulbH6v5sYtCLGQTA3nzfH0Z5HtvVOFzP2BBrGRx g9itTy/8QL93dgWQxHqUSlzg1X3xy5WgfJnAMRjgXOh+w+eWCDixybgLVV+AlLpLjodV EiRw== X-Gm-Message-State: AOAM533phx/3KL3GxkjmxKkbGyHKvixSmojcKVIsg2gGq0pVEhYX5SnB 0UcfXXIlA+3uux1BGYE5HB6CVg== X-Received: by 2002:a5d:4d92:: with SMTP id b18mr9164383wru.260.1606130389281; Mon, 23 Nov 2020 03:19:49 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/40] drm/amd/amdgpu/uvd_v3_1: Fix-up some documentation issues Date: Mon, 23 Nov 2020 11:19:00 +0000 Message-Id: <20201123111919.233376-22-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, Sonny Jiang , 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/uvd_v3_1.c:91: warning: Function parameter or member 'job' not described in 'uvd_v3_1_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:91: warning: Function parameter or member 'flags' not described in 'uvd_v3_1_ring_emit_ib' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter or member 'addr' not described in 'uvd_v3_1_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter or member 'seq' not described in 'uvd_v3_1_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Function parameter or member 'flags' not described in 'uvd_v3_1_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:108: warning: Excess function parameter 'fence' description in 'uvd_v3_1_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:625: warning: Function parameter or member 'handle' not described in 'uvd_v3_1_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:625: warning: Excess function parameter 'adev' description in 'uvd_v3_1_hw_init' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:692: warning: Function parameter or member 'handle' not described in 'uvd_v3_1_hw_fini' drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c:692: warning: Excess function parameter 'adev' description in 'uvd_v3_1_hw_fini' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sonny Jiang Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c b/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c index 7cf4b11a65c5c..143ba7a41f41f 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c @@ -80,7 +80,9 @@ static void uvd_v3_1_ring_set_wptr(struct amdgpu_ring *ring) * uvd_v3_1_ring_emit_ib - execute indirect buffer * * @ring: amdgpu_ring pointer + * @job: unused * @ib: indirect buffer to execute + * @flags: unused * * Write ring commands to execute the indirect buffer */ @@ -99,7 +101,9 @@ static void uvd_v3_1_ring_emit_ib(struct amdgpu_ring *ring, * uvd_v3_1_ring_emit_fence - emit an fence & trap command * * @ring: amdgpu_ring pointer - * @fence: fence to emit + * @addr: address + * @seq: sequence number + * @flags: fence related flags * * Write a fence and a trap command to the ring. */ @@ -617,7 +621,7 @@ static void uvd_v3_1_enable_mgcg(struct amdgpu_device *adev, /** * uvd_v3_1_hw_init - start and test UVD block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Initialize the hardware, boot up the VCPU and do some testing */ @@ -684,7 +688,7 @@ static int uvd_v3_1_hw_init(void *handle) /** * uvd_v3_1_hw_fini - stop the hardware block * - * @adev: amdgpu_device pointer + * @handle: handle used to pass amdgpu_device pointer * * Stop the UVD block, mark ring as not ready any more */ From patchwork Mon Nov 23 11:19:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330597 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907713ilh; Mon, 23 Nov 2020 03:20:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdc9fyr5rxH2FL1nQOmI59xqItGJxKoCzbVrHLQXUGWnBwy53UR8VnX+WuyB1GO6dNmc0K X-Received: by 2002:a63:1601:: with SMTP id w1mr5547581pgl.40.1606130423260; Mon, 23 Nov 2020 03:20:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130423; cv=none; d=google.com; s=arc-20160816; b=0SVy8I707SOyA7x0Q/vtJaCjYqfnKjXhbXiQdA61rjJLHEpcSf/IEFPCHr6ECdqVbp KOkqJGtpzHOmQgIWPoBEIQrD4PjoGUZ8k2d8VikKE+PJckuv/0xXis9Ayf1UycS1TwTY bZDFZQdv7i+gmo/8XtItJVTGBYO1JmZHtfrmztxrakghaBpY04ITPgNo7ZZBI+8gDpbf 3HOwn/Ufi4AupHInX/sQnbWo4BuKX1iSbun4O1jnho0NMii32vB0XrUqQ+js6An923E7 HI8F+GXUUCGug0ODs+C+M7CKcMT0K9zUIDaiFqCFwLeFKrkk3E8YpfgZFPxpUEb9oIuT 6z6Q== 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=6CxruB16Qt2UQ9tlw9MiOyqGJgDcphKJOFOtx1IPocw=; b=jND60Vs+lOMB5XuKS7SFs8O2zJjU8xYVfy5PTgs09y21jRlGPIcY3FfqNM3H5Hpl/s 6qZlo29OsJZ82Hgl4L0x4ZsAxHKYft/V1zGhV63006a9JXtxmlKcB0lmI1c28IDYNZaU Xx9e1h/VvRQVq8pQw+ms+Fl9JH1mIPkOtDKYYgrPNru5fdA3Qtvi70T2Cv4fHXTS3TVi V6EA8jv5oS+KwoClHddBgBq9v/fC6t4ZvChWj+i/BQ26ry2PUSWBpJEC8o555DKSusHr CIsEpl570lpg9Lz7mAT4zpdomiT6DHXIC9IT8lvOdXgOdIGTJOEHaxRk86Yi7l4o15Ko TXMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vVtLw5uT; 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 7si10575713pgf.3.2020.11.23.03.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:23 -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=vVtLw5uT; 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 62A9D89F4F; Mon, 23 Nov 2020 11:20:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id E11BB89D8A for ; Mon, 23 Nov 2020 11:19:51 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id 10so17530570wml.2 for ; Mon, 23 Nov 2020 03:19:51 -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=T4FjG6f9bymrh4PjmAcFpuoCus4SJcn+AyFqjEZrv1I=; b=vVtLw5uT6obzsw8cMoY4xbKNUucmADpVYib8Njfe0EEVJAIs0FfMXC1oaf4fr2ouBA uBpCJ+IgKilFI5lPWPI2Rtmasmj1eHvBiS02GeGassoW1xZq+fzzvhgvM2jOlBtIm8QD hNxNVPUBFiqe7UXOzN34Knlk7OeyVnKRxJqpMbKIUF79T0Gg9rEedupu/GGa8mPcVcUH LJ5jfGxGyY/jaoqgQ1F31B48lWeWBek6XwBzueCp4Meg/RjV8gmLcgO5ZD5GlG+Uw4sp d5PlZxY/WVYFRUk8ZT2RP8PfIwaO1mv/OxhEqG51oexe0MCWWB65fGWFWPRkVJP7aiNS VFtw== 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=T4FjG6f9bymrh4PjmAcFpuoCus4SJcn+AyFqjEZrv1I=; b=TiXBtTyhZ+SVXsjWPARNz8m7wuFYiAY5Q8HFvwgimxqmLWubgIgz4wQoR7OC1PoAfq n996Lft69pzw8KqFk5BCm3iHixhPKm4v83WDnoLPO8kfNjaaea8oKVNG9W9ZBIqw8hNa gOXIElZMQSuv0xeDTE7yl/J9isp0ldqfFz77iSNwO0ZfpURQcAzJkPVb91gL4fMN/NWe bc9gphE5ZV9sMi7sXOJ2HXR40FZ7upYerwx1T1LRQ46mZkDnBn4S0kUgxjSiydMtHdYU QGKob0IXW5bOZ6S5jeCS/ZTca3sC11+phBn+D/xF0wlsMFNBLbu+hrOQuW+lKguMo8i+ 4igA== X-Gm-Message-State: AOAM531x2eCqUu2K9gHH0J8BXfhvUqqk3NCQ40hHYn/kMMzldaQTRNMr OhatbOjTlHo78xgzowoId4AdM2U7iB8cIxbz X-Received: by 2002:a05:600c:22d5:: with SMTP id 21mr22035408wmg.33.1606130390647; Mon, 23 Nov 2020 03:19:50 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/amd/amdgpu/dce_v6_0: Fix formatting and missing parameter description issues Date: Mon, 23 Nov 2020 11:19:01 +0000 Message-Id: <20201123111919.233376-23-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, Luben Tuikov , 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/dce_v6_0.c:192: warning: Function parameter or member 'async' not described in 'dce_v6_0_page_flip' drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:1050: warning: Cannot understand * Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c index 9439763493464..83a88385b7620 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c @@ -180,6 +180,7 @@ static void dce_v6_0_pageflip_interrupt_fini(struct amdgpu_device *adev) * @adev: amdgpu_device pointer * @crtc_id: crtc to cleanup pageflip on * @crtc_base: new address of the crtc (GPU MC address) + * @async: asynchronous flip * * Does the actual pageflip (evergreen+). * During vblank we take the crtc lock and wait for the update_pending @@ -1047,7 +1048,6 @@ static u32 dce_v6_0_line_buffer_adjust(struct amdgpu_device *adev, /** - * * dce_v6_0_bandwidth_update - program display watermarks * * @adev: amdgpu_device pointer From patchwork Mon Nov 23 11:19:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330594 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907650ilh; Mon, 23 Nov 2020 03:20:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyByMYnC2PfFYQ7Wilwb4667dPOSeiU1ef4EfpBzsC1jtuWFLjAOqZLzITUfAqT1N7Krylq X-Received: by 2002:a17:90a:5d93:: with SMTP id t19mr23415980pji.220.1606130417783; Mon, 23 Nov 2020 03:20:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130417; cv=none; d=google.com; s=arc-20160816; b=LNhPPpuAYucjGUH9bHaG9OtaQ88Zxin0ztV22vFpo9Ydu80HVQ9s22ICQBKHVXisVA 7OPYD05Wf27gdMGMSGliHCIeJ0fEZDrBpzpHD3ipsUpvd3BaIx7JHXqtJa005vqgl08v cHU4M1Gc2Tdv2CWVXFfJoXi01hNCxwKDFHoQA/7gMG1fbu118nP/QuU6IWVYCe548Nvt mX0WqmY7+6UuUNfKBtkM7LSQjgANDf8YNmLKGyY2KT6gxpgiWyFMsGZ/kTmgbcCgPzk2 gFKEE4AOaPVSVdzFlJvf6JWS4ZA083purgLteQaJ3iCzvX4ib6pL550qTiSgxZjfVmso 2dgw== 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=luCuH/8uX9CMSEzK56QdN2LcqfR2MI+oJlrhXg6e978=; b=X07dW2AK0f9717OD2pTnf7I/TdKtYAXC0E6uIzdTz4WHG3c/J5qKzSFpCeT140hS0s dlS5jlblni7ejVeKqSofOpM9P5AHYoj8qS9MePxVWPYEQS1XIuO8iTLkVLo/GXVYHRMh uu5UyHojYhnaRv8/b7YdQ7sxqQ1aw8MjCPPrbZW4DqXHptke3fU6s03P/xqsc66zob2+ sx5swM8eq3R6yH5pjF08Y5EgQSROY+TfAtgm//+njckY5jh/M2nODY0RoDsm0ry7Kfte DW+3LdFJxCFda0q4OtAEiC4DdMvmIitE4ku4waCsuFOlndLMrGXNpKRZyiWgG8IPYrdF yGDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pGRSDl6Z; 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 j12si11010029pfr.38.2020.11.23.03.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:17 -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=pGRSDl6Z; 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 3A86F89F41; Mon, 23 Nov 2020 11:20:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1BE3589DC1 for ; Mon, 23 Nov 2020 11:19:53 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id s13so16853565wmh.4 for ; Mon, 23 Nov 2020 03:19:52 -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=+mJp/ZJF2fFOdQnMH+2RLRCl5LAsiRJ8lK5Mp9M3IrA=; b=pGRSDl6ZZ6iHS5KUMMUVMTZNqFR7SFiatCJxWyjgYvflweYqP5nen0rwMFWz3zWAUP F9vD3BXT96by7P/QzeyM+zO1ABElGZng++/2COnRLJpPOo85dbY8EMGmtVXcElg8CA9T BcAcJfYFvZTsDq8wEh6RLmGsyKcCngpWt/oaOQhCeD1GwlY++9cTPjKGF+z63ceefWDa OiXnGDIjLZ1YbjSACRPQhuW/gcKkHhXmVucUmc2b/J9bECm5myRUcHiOh1WtcLGMqxxV r2lQ6ssplWP6uF8VZfZScTZ7urI2Hozk/TR1Lbszu529iDtfIhE0/YTmlkhv7T3cnYTQ Zjug== 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=+mJp/ZJF2fFOdQnMH+2RLRCl5LAsiRJ8lK5Mp9M3IrA=; b=Gl03+AEaHtsyhqxGThIOSbfTuZrGOqg1XZqqqPqwnO4jliRgvk+iwbiOtGbbS2vEz1 tNhmX2ikN3l9BYTDFk8BZSx4C0CqFq89cWI3hqa9iobsjBpPzU8ui4ZhMe/Wts56ot64 S+xJNNSdirb0d6Nqe+CURCikFCE1gUQU2BHRbLgipdy7XCr36epFFXOGrsnpVRuS4H6p JicyWebL7elkUcns4iUwdvmhqfAbzkFVzqpUHTV2e8Imqp7eSns4uJnx3zBJskQkpMgr czJg4QOQRBLwwlU6HOFOafCzVrEbV1xz5Fg3OvEwuEHmtlw4i/Cacu8MkD4vgj2hMn9f 9vaw== X-Gm-Message-State: AOAM5312tYdhmDLtnStc8MMWIyJiSc1Tu+Bwgwy5tt8Jnqtv7JAht70x uY41y/F66GYU9e67F2kA6i78/Q== X-Received: by 2002:a1c:98cd:: with SMTP id a196mr23581122wme.42.1606130391783; Mon, 23 Nov 2020 03:19:51 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:51 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/amd/include/vega20_ip_offset: Mark top-level IP_BASE definition as __maybe_unused Date: Mon, 23 Nov 2020 11:19:02 +0000 Message-Id: <20201123111919.233376-24-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, 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" In file included from drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/vega20_ip_offset.h:154:29: warning: ‘XDMA_BASE’ defined but not used [-Wunused-const-variable= 154 | static const struct IP_BASE XDMA_BASE ={ { { { 0x00003400, 0, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vega20_ip_offset.h:63:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] 63 | static const struct IP_BASE FUSE_BASE ={ { { { 0x00017400, 0, 0, 0, 0, 0 } }, | ^~~~~~~~~ Fixes the following W=1 kernel build warning(s): 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/include/vega20_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/vega20_ip_offset.h b/drivers/gpu/drm/amd/include/vega20_ip_offset.h index 2a2a9cc8bedb6..1deb68f3d3341 100644 --- a/drivers/gpu/drm/amd/include/vega20_ip_offset.h +++ b/drivers/gpu/drm/amd/include/vega20_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C20, 0, 0, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330600 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907756ilh; Mon, 23 Nov 2020 03:20:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7DgiNc/DeyBGizthdtFR5N8vkxppWkM8DCUhYZxVcAT2j1tDEMNcM/kwykHhvon0hDfKI X-Received: by 2002:a63:c251:: with SMTP id l17mr1934790pgg.160.1606130426072; Mon, 23 Nov 2020 03:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130426; cv=none; d=google.com; s=arc-20160816; b=H0cyFX+iyJqko7qXqF2GSZGFBQsmThiyxlVxFJXlnzoMp9prmqnOvUFCiJqdMcRkjz kZ/8bvrhfwRdi1Hh40VDww9pbMDURWFHi780vmN3yqcCzuGS4JHZChnpOf0X6VCmGYjW NGd/IJcIQ+QK6aWafWR7WSuy+rgPz9T9HAQLy5qb7GvMsuXCgJzlfd1M6Qk4Lsswf5nD 7iQQuUHFuf19qROfle0lcwXbRkVlhyeDpzLoL9Qr1MT6JKaO05wISyjhcvjP1uITDby4 j7QKOU0f7VADzg1JryHfKRxdRLDkFa1JI+bS/Wjx/cPdt9L3EvxwV3mnedT9CsLZGqE5 KnBA== 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=GBcMOATVdw8u1ehZiDbkuYx0kOVIXMrtPlnLUnWcVBE=; b=jm97yQ+EanmQGIJ4Pv/m1My4IBfTmjS/z/+1MIGKtDl8JGwMfbHg0svR1NsWa0E09J UU+gn7zi5LyLz9wHok1vC/M+6bsLOYzi8AM58HbSu7hiwd1q4IdIcpGxRbkXJFtJ5KTw bI7WbHgXjeY69LduFa1OYObzxOUClh49XVeQGZ6nvknlHkho8N6S2tKTi1DuYzJpPMgy 42UVcFJ3qcS9kBTwBBKDeEysBhFc7qtR+tCWWr3uNftwfRu15vUKjvtc2g6XGobSWsau HYgcXbYcfA3SAMOy899GcBAN4TFxk8xfLr42y2b8AU0ru+ge/RWdGyjYFSbcMZeCwW6L lzBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=x43XL5Sj; 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 lx10si10479945pjb.109.2020.11.23.03.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:26 -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=x43XL5Sj; 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 CB84489ECB; Mon, 23 Nov 2020 11:20:04 +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 3A66789DC1 for ; Mon, 23 Nov 2020 11:19:54 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id l1so18173160wrb.9 for ; Mon, 23 Nov 2020 03:19:54 -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=GNPMH7+BshXFtHvJRFR/Pz67utL4+c2zXgvOMeOYi1w=; b=x43XL5SjSI8fFhB+JucQYDS6mMeFgr//tbZ0jm1MCQ9P0QBt6aEmfPzxG6yD50eqQd NMHzrMMk4AgiHPrCgw9MpvOFhdCWMwZYGoD0lFKSesvOzp88G8aRRsbScKsdMbf9Q3p8 QYi8NcCu1k5AzonhQ1VCH6zCT+3+AkNgrwjHiMtXMveewofVxbNK/makoLjx6W/mvQb5 w2WODjf+b+8MZRkQF7lxK3wFyP4wZiynPH2YI42EtGDXT+d75ltrHmB4OZkczxlduGLQ MvIfrBqudWXGr7o2EHHoLMrgkL8mpc96BMWOhnOSnyiegEQ7PlOG2hlcT5EjOxDI35z4 ZjsA== 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=GNPMH7+BshXFtHvJRFR/Pz67utL4+c2zXgvOMeOYi1w=; b=KPb4N0TpO4yMnoDHYvW/lxvf/9ZcGw3b7lYbRgXzn9WEREB+4My7AVTmAPn8dFRbqL ojqPYiQVHC8eoEw51bHS9xrGjD2ekzCIuysMrFv7qzpB1IBXf59G2KeV6n+Ta58axMz7 4koaa6yAao0pZsh8d676sMMRkdBAKmfuW4f3515yz8XUj5tzI+RA1hCZ7Cusr8VKKtzQ fI5rPcMzldxj/1ByqAoiowdW9u27pVImIkANjxmG1ELO5E8kmuH1lSxFpyZfF+7GARUn QcxKL/8om480bwem+BScHbrmoKsaDxW1x2wu121X3ucAgUhZm0N5wNmAaf+VdYQI55Or NcCQ== X-Gm-Message-State: AOAM531RHEgbbM3S44J25XOmMRWWqrkoxcoeM8/wpbk76S/+GKOYWFKl npJeSSBEqSqzbnT6G4etnS0SKg== X-Received: by 2002:adf:dec3:: with SMTP id i3mr931833wrn.263.1606130392924; Mon, 23 Nov 2020 03:19:52 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:52 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/40] drm/amd/include/navi10_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:03 +0000 Message-Id: <20201123111919.233376-25-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, 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): In file included from drivers/gpu/drm/amd/amdgpu/navi10_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/navi10_ip_offset.h:127:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 127 | static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi10_ip_offset.h:109:29: warning: ‘RSMU_BASE’ defined but not used [-Wunused-const-variable=] 109 | static const struct IP_BASE RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi10_ip_offset.h:61:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] 61 | static const struct IP_BASE FUSE_BASE ={ { { { 0x00017400, 0, 0, 0, 0, 0 } }, | ^~~~~~~~~ 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/include/navi10_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/navi10_ip_offset.h b/drivers/gpu/drm/amd/include/navi10_ip_offset.h index d4a9ddc7782ff..d6824bb6139db 100644 --- a/drivers/gpu/drm/amd/include/navi10_ip_offset.h +++ b/drivers/gpu/drm/amd/include/navi10_ip_offset.h @@ -31,7 +31,7 @@ struct IP_BASE_INSTANCE { struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C00, 0, 0, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330603 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907798ilh; Mon, 23 Nov 2020 03:20:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsPLPNx99A3PJZeUC4WJlTp2QW0ideew9VoUya+417irrsJ/OPV4F/CPIzoWpn/WuUiv2k X-Received: by 2002:a17:90a:e2c8:: with SMTP id fr8mr12073015pjb.98.1606130430693; Mon, 23 Nov 2020 03:20:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130430; cv=none; d=google.com; s=arc-20160816; b=jmjaaTbtd9QgNKgg3XQUAneOb87Q67bw+X3g5uwiiF90tomAp/JT122CQopko/1Ab5 iofZOaVc14ehQFLAikCacMdbRHfNWrKQzYd3rADn/RppulOxJDmWJwuUz2qEHp0cOQFS GzY6qb0kmlHVsXUtGbz984bZKM6ZR0z+VrWMnow2Sk9kcBm92ffgl6LqAm6nxT27s1rR QOQJm7IVW2TPOhncKO54JIma8NXHxzUUmGHACOJGiyv9lh2PQYFTz5FlnRJEjNrF1U1h ufWuaobplwUcvkIIgbbO6EoLbe0CZSb7kD5C+F3nj7GFmYGvtYxwR64pW6Y6RnZHRfk2 63uA== 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=vQSagMg6Wo9PDNkNwpZa6vTkhESbHIcAPnGuv+RBJEc=; b=E/vUarte2ah9P/J/YtPP6DGvqPCHeTSXdeZ0iBBue7F8IzWaiCC1kAjGgDLXmf34jk u+YCYiCqV4SOh/svPfq7rBwjHythvSLOmDLh0leDi4Y2Cn6mKfh6yNLsQ605QhzRRvvH iKTZxXz5iGvvRMVlGqW831eW+MFTZ3V/NNa40EusVL2iEzxXMWw0+FE2UGQwskKkIkkY OBBMDN8Zk1SbLmTLoU8wFDamd5UWRW2pxbptwwWFykGSujieHEU5sqeIWtGWi3XPZvu4 /VSQglrlijNAL1rl2F76qNg7eWVaNPzg3+jju7ORIbqTQx09uf9ZvglC/TgaDXkq1qsL yiCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A7aG4NUk; 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 ay21si10264655pjb.137.2020.11.23.03.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:30 -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=A7aG4NUk; 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 6531389FF9; Mon, 23 Nov 2020 11:20:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 56A3189D4F for ; Mon, 23 Nov 2020 11:19:55 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id 1so16863221wme.3 for ; Mon, 23 Nov 2020 03:19:55 -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=Dt3qGeaR7mDkGDOtCiBYSSJ0FSX/4GBqlT4FsqhW3aU=; b=A7aG4NUk01QTYOgfaJYXiLRsQmxZSN2RZbte2BKCTWb7GV74h+fgN95VPh8F+EWuHa ZwehXJ9Gp9hSTDJO0D6lO5a1PodY3r/JCC30/5lOfGZBR47e6USHjp4tlQ5FPr3WXGeq JIyXY0TKeYAtUVV5rTxyT/XUhbnbWDN2sVGU9IZ36KXptQ75GggISLQEwO/Ai/GpDXlC 8QwJICGLpEy/GYJomAU2bCtyEqLPVpIh+LAstN5RbeKJg4yXPLuC+gYD1EYhlkJbexPE Zg5/3luMgUlZMF0HEVjFxIa3rQvyNcIsXwEikhJINH3R+7McVWPCMDJ0FBI8h4gCcRin tocQ== 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=Dt3qGeaR7mDkGDOtCiBYSSJ0FSX/4GBqlT4FsqhW3aU=; b=W0PKuw+0UvhLVYBFZXEmmZA59Tlul0/UDshhf7ghJXb8yFgGYFYNkdE8krjlp/8hmV rwpad+/oziV4VseVXA60AZygy2qGTzdOd8bmcc59IAqCWjTQAT/htvff8+wA96+Frhv8 lUJrdNyWenvQxoHd1yeh96qbTzW8qqnqQwuI7C1t4WjLzkMiRizfrdTqjMJ1+u+B87vg CkUTGwufCk1Nco2LVqllmZGye37uD+X1cWFSHnb6oPhBX/PkliwKbMfB7cR2/PznTLCR A4lsoXedZBKjHDIxaH4ScWZ9KzEuoemAFGIy3QJXMUaM5Hobew7DRCQRx1kvx8gnOcRH 6n5A== X-Gm-Message-State: AOAM530Zqt3y5YBZcSEnrVChXVsedkBILaaVixQu3FkeV+2j7GVtW4KU waZKS+ePZuHWoGXsuntXsdYYGg== X-Received: by 2002:a1c:2384:: with SMTP id j126mr23896282wmj.116.1606130394092; Mon, 23 Nov 2020 03:19:54 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:53 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/40] drm/amd/include/arct_ip_offset: Mark top-level IP_BASE definition as __maybe_unused Date: Mon, 23 Nov 2020 11:19:04 +0000 Message-Id: <20201123111919.233376-26-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, 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): In file included from drivers/gpu/drm/amd/amdgpu/arct_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/arct_ip_offset.h:227:29: warning: ‘DBGU_IO_BASE’ defined but not used [-Wunused-const-variable=] 227 | static const struct IP_BASE DBGU_IO_BASE ={ { { { 0x000001E0, 0x000125A0, 0x0040B400, 0, 0, 0 } }, | ^~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/arct_ip_offset.h:127:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=] 127 | static const struct IP_BASE PCIE0_BASE ={ { { { 0x000128C0, 0x00411800, 0x04440000, 0, 0, 0 } }, | ^~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/arct_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/arct_ip_offset.h:63:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] 63 | static const struct IP_BASE FUSE_BASE ={ { { { 0x000120A0, 0x00017400, 0x00401400, 0, 0, 0 } }, | ^~~~~~~~~ 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/include/arct_ip_offset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/include/arct_ip_offset.h b/drivers/gpu/drm/amd/include/arct_ip_offset.h index a7791a9e1f905..af1c46991429b 100644 --- a/drivers/gpu/drm/amd/include/arct_ip_offset.h +++ b/drivers/gpu/drm/amd/include/arct_ip_offset.h @@ -28,12 +28,12 @@ struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; -}; +} __maybe_unused; struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C20, 0x00012460, 0x00408C00, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330602 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907780ilh; Mon, 23 Nov 2020 03:20:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2B3UkrWCpTj7xhJxF4ssSmSa5cdvuBrw4tXuYBUKWL+Ra9zcgSa58XoXhWlYlAgbrnnA8 X-Received: by 2002:aa7:8a97:0:b029:160:c0b:671a with SMTP id a23-20020aa78a970000b02901600c0b671amr24444980pfc.16.1606130429086; Mon, 23 Nov 2020 03:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130429; cv=none; d=google.com; s=arc-20160816; b=lIcuBc/rEpEm3tA+TZGUD2XJ3VDC/wacKgIV3JdVPIZiyLDSg8LeSe3cy4nek76sRh pX+KXuw2O+q4jWWlVmOwNNHan17jI9tCZjXSdxNVmR1+PhBoBOtooB9yvVu+2cvd20un MPPS7xXy1VrUHR0XfdRUm/5vEnql/tFM3tlf6GgaOgXacHJqQhN+T6FlxlNmGEZhp6Wd X0eEB+VCLJz53jLgD9OdPziN1MasWqolmgH8Tql7Ee6/c66Y0lSObx4CeWKvDqsqTvxQ 0PiA/C9jIlyAbOzNYriQ1lNOj2Q/OvEBzvWzKXprJZFcFXLTl6auJYZc0tVDSwRAmSyo dvjw== 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=k7+bRe0hrFU5WAP0tPUbr6burfi+4izzwbGlexyhmB0=; b=fI3NZzM9eJWCdB2Hb5A2JVI3W2gpIFYFAZ1Cl1ad3Bvx2EiCSmH3ZKoz06b/abvJVx D6rImr84NVzlYxzSXm5FoCi/12m8+Ote7d5+agnnEdfpGiGzcZIIg5f8VdpEJJBf8YXR C73izQhpfcziKpmPDj0fv/e8oyGs/UTDM3LBTe5vbaXppCXcmH0F29F8btVlwcG8B1WW nfyuUfrAVuupf2rn+TABRzN7oZX6EFCRDMlRxNY/6JRZfqYz87ZpH8RtA7xRiyYb6ndv BBoRtXw/NrKsNXoQELvwb7Q4KpiEJDkmKYcGjTpmlibWxoM5IwZLoddi+Bbjiv2Iic7P GIhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ccDG24NQ; 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 j141si5117233pfd.284.2020.11.23.03.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:29 -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=ccDG24NQ; 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 B587E89FE8; Mon, 23 Nov 2020 11:20:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B7CE89DA4 for ; Mon, 23 Nov 2020 11:19:56 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id k2so18248418wrx.2 for ; Mon, 23 Nov 2020 03:19:56 -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=rspc5DyHTiyjnt/zI3mhKCdrn/a3BO0urzTMZbliFpc=; b=ccDG24NQJV0M9KJ61WwazAEpBTPdZvVnUdJfyhTRyScfWGmVgacHz/60yz8QINN5xV MHc2Q5kRSuZ0EkpeuuLPxslbzc0RQluMm9BfqRo8+48ba3QnOlzMo/gwONBYO7BhoX0y NpB+d1tfjRGT6aFGGvnKMh3ZKCpwtgYGvYKDsQCXTKqGm8uziiuSsiHeGZ3Nl8GR1DDx de8bYMXazjeAI2NbukBgfZz2yGFSmJF9rKIIoGs8NlKUZcaJ84TCTYmZby5xAblXi0Jj 5GuPVXW9KTz7UU24M8bR2DeFOhn1Dh5/IqKeaymMW3XGdzJWS1e2lOuvZYRYmDNWSh0M FNhQ== 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=rspc5DyHTiyjnt/zI3mhKCdrn/a3BO0urzTMZbliFpc=; b=XYokQjZfHz2eqrh8ke9bP8FwqfnapIy4kIodwgkWEdSyGn6+GKXtC3gGZPIV3wJ73E Y4xA0nVlZvSEiVWaRmZfXck0Yew7X1qnc708OHFgURRv2tTav23+9hNexmxZ5plwpX8S y/Z43R0hvf6ZXEYMV53xHtWvqAATVj3yvopUKWkfK+FWO0kJj+Kf7vT4ovtjTRneoFil N8sktw1SERvOAGbPLm0yjJM6qPYJ2Jkf3FmdKlui1RKGG5jVULz2P3+cl9abYqlxVRGE KuHPacA7i7od36p7xuH4SyATKjveN9GtoUOPmrURzKvoj//SwaULb3t7Z6DbDPtXud+w jbRQ== X-Gm-Message-State: AOAM532ukI09HWhM2SYuaDNEo+nBaESUro6atUayAk8XPikfQ/pq7WI6 uY5aMYEDCGIBbVjbdY+ujqJfSw== X-Received: by 2002:a5d:690a:: with SMTP id t10mr11961847wru.203.1606130395314; Mon, 23 Nov 2020 03:19:55 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/40] drm/amd/include/navi14_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:05 +0000 Message-Id: <20201123111919.233376-27-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, 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): In file included from drivers/gpu/drm/amd/amdgpu/navi14_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:179:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=] 179 | static const struct IP_BASE USB0_BASE ={ { { { 0x0242A800, 0x05B00000, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:172:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 172 | static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0x02425800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi14_ip_offset.h:151:29: warning: ‘SDMA_BASE’ defined but not used [-Wunused-const-variable=] 151 | static const struct IP_BASE SDMA_BASE ={ { { { 0x00001260, 0x0000A000, 0x02402C00, 0, 0 } }, | ^~~~~~~~~ NB: Snipped a few of these 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/include/navi14_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/navi14_ip_offset.h b/drivers/gpu/drm/amd/include/navi14_ip_offset.h index ecdd9eabe0dc8..c39ef651adc6f 100644 --- a/drivers/gpu/drm/amd/include/navi14_ip_offset.h +++ b/drivers/gpu/drm/amd/include/navi14_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C00, 0x02408C00, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330601 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907767ilh; Mon, 23 Nov 2020 03:20:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwK569AMmn0iZPAbXL6J0V0yxM5E+ADuVOOCtBNFYmI5ShkLYbl2Oqtq6T6VISuEm+jXp+ X-Received: by 2002:a63:1c53:: with SMTP id c19mr25851991pgm.392.1606130427637; Mon, 23 Nov 2020 03:20:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130427; cv=none; d=google.com; s=arc-20160816; b=uJP4YA4jHTY29jzLrYC/+ZQdnrJD2ioytUxjJHLgrVy2qXCTQ13OtnO/TCnLAFpBQg OdtjIK70Zv3V0+FjY5HBeQ/tfjl3CZXLVN/h3hclm+F/Pismp8dhE/8UMEAYLUVP5FPe AcMDRk7TO9GLqSgoQhaJv6pxH4SktRkEQ7SqsVEeQfGdvDlVKoKBNIhBcoRXl0rb2Gel bi8brnaoBSgfgHNz5jA23jV8lKtuY2zTdQ7H7nHOAyVYcAnPxGX8CtyJFEjoaC8ToKmi Iy9tpqMkr30l13w7bZnxkjFeyMf5WBEPFUVcWlHbNgA9nJHVThYVrZh8qJa0C0qdxXHv Zb9g== 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=NDPlO3tijx4T0WMXzEO8AvdmOkRfeRjM4MM0hpwKPdg=; b=sVKuna40/jMrCxn3BF0De8a8LLiAw35MdEyrMoilfiPq5yOM+jVsg91NOiHKzrs+me 1O3jh6BA2YjSg6YyzR8JjJV6Cvgeg0Gp3/ka2kIA7aDgzTzKmTdoM+cGYWjfnpdVOrzJ mlJMZDcuDLFmgIfaD4tfmtteZkb4tN0R101Qdz89YOUtLdeDBDtXrLdUyAWeCt9nlUKP Y1QJGO6EVKn4pY3pDldnkigpBLuFTc4GQ6Qebway3V6zNe7k9uQOyj0DaMtGkvEkXDeG 7HXwDvQDjwr3p1Xy/XoPemIyqBwgxMChbW0iBGqI0yPOb9sC38mywHS27Lbu2dTTa5hF insg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=kq+yTUs0; 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 s21si10370776plp.223.2020.11.23.03.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:27 -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=kq+yTUs0; 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 41BD06E030; Mon, 23 Nov 2020 11:20:12 +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 F071489DC1 for ; Mon, 23 Nov 2020 11:19:57 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id s13so16853821wmh.4 for ; Mon, 23 Nov 2020 03:19:57 -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=+BSX8iGmFlpNBkCwyYHsXehrutNO54wnnUYTt1a8UO4=; b=kq+yTUs0Z36Ahw7u+PzIXO7sgObe2HM66BxwQRS4z8siLlP0bqTJ1E4ekPh8ZzB2xV KrPXoI5LzXiWCUU6gv/h+Ac5AkvBrXCtGIdXzqiD3E6fzjlaykwmpnp0ncc9mpMPXwpF 7ZO7x5sszZgxTW0UZBhGM+nZPJNMfDadL033J9dDknwd0n71CmxAJxEfiOSfp9ZWRYzT VjWz7KhkCFs8qGvbkbLv6YhVXaOHIHxX+gga4D1/GLSvPxglfwfHNhszl9lcqHMNlukf 3bU5zyK0fgnAlzHDZ9nRCXu6URdAznRm6+l/O3LsPeBn+y817mC4us+NHZemgltRJsTy MAFw== 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=+BSX8iGmFlpNBkCwyYHsXehrutNO54wnnUYTt1a8UO4=; b=o3y3PYS2Fw1MRtWZibexf9AtfMqPsYxBLo3XtmH1aa5GLb7rxDhX7Gd+HR8DW1TSa6 LIzNjnW66lYkWtQvXCF1M2+3BWAhaaUex+0tITBWjke8mIiHr6iHhOebA41Tg7jHrB2b dGjmhHarxKd9bKsOBRfkbIbkE2cYcK99DeSwhJ74x6Jxv99fT45/cfn1/xh3Nw8m0aG/ 1L/7Va1aqIQpUB/6nn1X1C7fjgzJr3dwLGX2bW2FkE2eIYXDR5cehgHdlkOFq7FlO7qI wZKs/OgityWj8tv0RX0jBHsBiZ5+aGEn6mCsye/uYRiy+Z/CuhelHIWsuCbMvIHKjpD6 uzFQ== X-Gm-Message-State: AOAM530JTJeBXMoRWsrw/Rdc5rl5Acpfyvu5KzzSJoAgWy7u1AUN0Y5y 00QKKWK2gmKMBgft1i7hZUoNzA== X-Received: by 2002:a1c:a185:: with SMTP id k127mr22882338wme.23.1606130396662; Mon, 23 Nov 2020 03:19:56 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:56 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/amd/include/navi12_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:06 +0000 Message-Id: <20201123111919.233376-28-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, 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): In file included from drivers/gpu/drm/amd/amdgpu/navi12_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:179:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=] 179 | static const struct IP_BASE USB0_BASE ={ { { { 0x0242A800, 0x05B00000, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:172:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 172 | static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0x02425800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:151:29: warning: ‘SDMA_BASE’ defined but not used [-Wunused-const-variable=] 151 | static const struct IP_BASE SDMA_BASE ={ { { { 0x00001260, 0x0000A000, 0x02402C00, 0, 0 } }, | ^~~~~~~~~ NB: Snipped a few of these 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/include/navi12_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/navi12_ip_offset.h b/drivers/gpu/drm/amd/include/navi12_ip_offset.h index 6c2cc6296c061..d8fc00478b6a0 100644 --- a/drivers/gpu/drm/amd/include/navi12_ip_offset.h +++ b/drivers/gpu/drm/amd/include/navi12_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C00, 0x02408C00, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330616 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3415154ejb; Mon, 23 Nov 2020 03:22:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxi3uAsqgdWzM9u9VzLdUUsjG7tPTFX/FyDUE3ZJZXjR61CpvFpr9vpGcehCYGqkk3aiYxx X-Received: by 2002:a62:cd85:0:b029:18b:36c7:382d with SMTP id o127-20020a62cd850000b029018b36c7382dmr25448414pfg.14.1606130446147; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=XiPwwbUCvyDn7U6r8e2zSSDVVI6xVPZMFpNtJtVVMrbP68QkHWm8Ge4q63Jrg/0oQ0 OpmamcjB79PWv2ap1hXR1XfmkfagRU/jI2imZMeT5uOzZ/5EaIn/oGT5tyJwQ0u6HO8u 9nBr1wLUrO0iQbxSR5LVbgx17H+sEc6VwxNJA3cccSK2DCLjCDEM75M1FSmZeR48XkvD BwbVPoSzFWsqOwMd4DIuxhC+B2D0Qp8P8C0ijeL4Mv8nys3gdCv3vghE1vDvkMCrxlth H/iDYQZFVDeTh/uVLL9Ksetn2JaFVnOQGOmRERBbN/RPrj8DzW+i5WfSPefDInVTHvfi +kxQ== 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=9UemGfEehqYrLD110F8kJH1DX9/TAi94QXT8rE3gYUw=; b=OmJNcUx26/3KiMJCKkRr3Bx0A+H4Gq4hNVAOcxXPr25ToHKbf5ZaZ637JCY6ZwFLnX DTxNRQ08hNwhTFKiJ/GAGjWV6JaWgJ4l1gmPBxhsGnYQ4b5iZZPV0sU9BDn4nto+KzQZ i1lotznkioPov6DHjFhiijh5grA2ZqXNvtfYW5+a3Nyd7Xrapr6r8VCyVpnRh9KxgYb1 P0jGY3sY2MUYZkARHDjiKz7QIAGhFJhbQn5YkX0BWyVRX42ACXuTf/CjQ+N1F5yd3i2P VKIUIXCm+BzOUhrppWFDqCWeb7ABxulIb865WimsATpTG/MEIkVr3NkXx/VcKsCnH0qz yrxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ii8qj0ah; 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 t8si10322338pfg.345.2020.11.23.03.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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=ii8qj0ah; 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 2849889FA0; 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 95CF689F97 for ; Mon, 23 Nov 2020 11:20:06 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id u12so18263357wrt.0 for ; Mon, 23 Nov 2020 03:20:06 -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=Gwlhc6VWNQpc30FQNQL/2GN/SmFNbQKQvmIwzZcrdLA=; b=ii8qj0aheF693rKVv9viDbBG3uIBD3b1E/d48+r0czABOQzGbo+zl+Inp9aHhbiI8D quQKTjsklt1ekVGzZYrPVj50Tr1V0Zm5iuosIuVA8jbF13ZPgHjnYK/R5aO8uoEYMbMg R8jdbDEsd0nTHR5e/K6gw/CAluupMzSov0+8gEcmQaIKSEB+89kapqJU5OstjXmu+PHE 6iS8H+q6YomiC4vS3QMI7bSl5kfHtYPCttEAyMyLHKZXC6m/lYCiPCOUjvKevuo2r+WQ 56F94rTw6+KuYZGBmY+nRjet4KL8v28PXyUz5LlAtFPPkmMs7Ajuw54jRum5iSxfYa7s EGwQ== 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=Gwlhc6VWNQpc30FQNQL/2GN/SmFNbQKQvmIwzZcrdLA=; b=a5Y+Ow1SBliVQzTdZm1Z8jZ78rloI3heyWX5AC4XzK56uTbao65Unar0WSfsgf5vDm rWR72wSVqq9SB6Mqd8BrYzYoGhB6yFibRLNvtt8MRTkQgfLhAVNJ8qLHJCMSUbxvIg0j CXgA8ONTuA/ATbd6hXwf9BVHjuvZRmb/cCZbMZTr/khi+CgtqTVJZ5tODk1imlACxEk0 HOEoXdKX/jPJzdp56iKpe0tpwRmb8XNmd5ODH5dYSw/qBWuJPNXpzIYavzO+aMihYV3+ 6G515D3gcGyHbDVFDXONMPIvUXf1mqJmv21ZyNFK1YuljqkdCf47tl/+BfuNIEIOrgOZ L2Pg== X-Gm-Message-State: AOAM533wqVsXQ+hmJ/fUH3eOQv2gExRIvVxlWZ73E42vy4MqzSxvrOgR 5p0cVcpnO0T2isU9CG2bDiIu/A== X-Received: by 2002:a5d:4d92:: with SMTP id b18mr9165183wru.260.1606130399449; Mon, 23 Nov 2020 03:19:59 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/40] drm/amd/include/sienna_cichlid_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:07 +0000 Message-Id: <20201123111919.233376-29-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, dri-devel@lists.freedesktop.org, Alex Deucher , Likun Gao , =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/sienna_cichlid_reg_init.c:28: drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:186:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=] 186 | static const struct IP_BASE USB0_BASE = { { { { 0x0242A800, 0x05B00000, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:179:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 179 | static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0x02425800, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:158:29: warning: ‘SDMA1_BASE’ defined but not used [-Wunused-const-variable=] 158 | static const struct IP_BASE SDMA1_BASE = { { { { 0x00001260, 0x0000A000, 0x0001C000, 0x02402C00, 0 } }, | ^~~~~~~~~~ NB: Snipped lots of these Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: Likun Gao Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h b/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h index 06800c6fa0495..b07bc2dd895dc 100644 --- a/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h +++ b/drivers/gpu/drm/amd/include/sienna_cichlid_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE = { { { { 0x00000C00, 0x02408C00, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330596 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907866ilh; Mon, 23 Nov 2020 03:20:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzf8MOalV+F1N6HVsR9j49kDfCe1PJM6TqfZkkx1ey3e5+thyHv40IyKejmVSpaOth/VS4y X-Received: by 2002:a63:cd0f:: with SMTP id i15mr27438787pgg.46.1606130436337; Mon, 23 Nov 2020 03:20:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130436; cv=none; d=google.com; s=arc-20160816; b=vXclr+7Q+YYAM4NYilqZIf3jFhXnytHH884Q645xi9cZTcemzOWe1NXjX2LR9iBOxv 8nAutqQDTxufu9h1r/DcGdeCR8Qs6fGQQDpA9pWBaa42PytUb1R/4bmqG+CSF4NA50i3 QxB3WKqdUt3IRK/7C0sB4snqgS7xtM5p1mhWNx3EErJOfYvBGtGNfJGCAHWYDRwOybej ZFEXa1h+XkF75u+ezgOM9WuOmbYOedEzKZxxt77AzBfCDtmYhvOf2fDD9UgQURj0JnHI Mea6WS6wdv2v9trj7S+cH11uIf8rD4gaEpP4ZN8Q3jxZvZxGaFY5tW05gpxmbw55mUlN h/5w== 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=r0gUYtBhl+kyscN6MMHUFESp6LW0bMMsJEd28YEteoI=; b=tzZJPiMfgMmHtzGjo7BoqC713Ciiym+VpDF5z05shM7TI7XLBQ4bdjD4PYEjPRlOnB SQuUvMXhtyoFk42nRWPn4GF6oNmiXVu7VRJcUQovgjiGyfY7qA4W19ypNLhuppa79gIM pNOdcBggGE0qO4fqGmTR7jBZGuT3kH6uavfgkdNak2EQMNyix0XNZoG6tO2wJMB9W64j eDhvcTUxOvx9RWQRcPBHOfG7dzgWBk+qbBU1f54Qso6CetuHYYKi9ibR6yyyCrkNy0BC LoONFQOqko/oBFrYuQnoQ2rIBPXjuaC2FfsRQkRBGAca8d4IRpGnBYRwIh6uiBNqQc07 MZYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zzCeS97E; 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 v2si464718pjs.124.2020.11.23.03.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:36 -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=zzCeS97E; 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 23A536E029; Mon, 23 Nov 2020 11:20:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id A365789F5F for ; Mon, 23 Nov 2020 11:20:05 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c9so17534355wml.5 for ; Mon, 23 Nov 2020 03:20:05 -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=qHfHJykVaqUxn8L02JDHmsfIL28LId8QRd31LMjrFmg=; b=zzCeS97E1b2WK6Wk02PoTbIMKdaOnWgwalJAZYW6kwBbUSHZfi4uctzruRAlBrBi01 s1g0HUaTRY5GThIHL7s13m0kRF6AJUh51MBDnO1qSJ7R/Wjzz/1nZTgq3gQzdgtND3FG NxT7vDDk6oQpm2vYXtu0NykiMUQIPq+CtF9c2Q2iknriAg/d2LVw3UCzJOznFEIHj1Cc D1kKx99KdYvIn+VtlknG6LvZS8vcg1IpQeN2QXBQdQzGMf+KOxB39PXcZwiiOA6JxxH3 jrdCSO6PhSuIiXZ4xJL+9JROKhcgw1XIO3QB2KkHHsqLYKHYLFJf0sK5jjGG5m3Ey1RQ Ws2Q== 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=qHfHJykVaqUxn8L02JDHmsfIL28LId8QRd31LMjrFmg=; b=iXYn9fjbrFL3urJOTcPlpbS5FIEoc+p9BY8vpEV3rFvMLoojZfprljpnjDLfCDsPtW qXMGcvVe0VrVKu87jIoNUkkGmogegTldpBWVCMLvfs7z//OjYC2hRKp+cqeQtZPIfeDQ z/W7qVS09Dq1bzf9r8aVxRkgvsXpcKIxptzZqKCi5uT3n8hfXWwhEbTkdhXVU2UZi8Tv D0oo+oyOCGFmDUygDABMGjU/cLY7YvYJbYATcyN1wIVMRR8dIwlQPXpDU1AURERZDbAO jXvFB72Myq/jh9LT5IQirLu9nWKKdBsA90E2qfsR6VwI1uPxLjzO5sBw6JSXAqJ/tipi svZg== X-Gm-Message-State: AOAM530OrzvpXT3UnQq2rCtmThLEJ4X7zt2ET9Hu1NkBIhxn6krEzXR5 jJWLb9zq2f2yn3GDklBFEtFL4Q== X-Received: by 2002:a7b:c94d:: with SMTP id i13mr23152695wml.130.1606130404056; Mon, 23 Nov 2020 03:20:04 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/40] drm/amd/include/vangogh_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:08 +0000 Message-Id: <20201123111919.233376-30-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, Huang Rui , 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): In file included from drivers/gpu/drm/amd/amdgpu/vangogh_reg_init.c:28: drivers/gpu/drm/amd/amdgpu/../include/vangogh_ip_offset.h:210:29: warning: ‘USB_BASE’ defined but not used [-Wunused-const-variable=] 210 | static const struct IP_BASE USB_BASE = { { { { 0x0242A800, 0x05B00000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vangogh_ip_offset.h:202:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 202 | static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0x02425800, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vangogh_ip_offset.h:178:29: warning: ‘PCIE0_BASE’ defined but not used [-Wunused-const-variable=] 178 | static const struct IP_BASE PCIE0_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0x0241B000, 0x04040000 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/vangogh_ip_offset.h:154:29: warning: ‘MP2_BASE’ defined but not used [-Wunused-const-variable=] 154 | static const struct IP_BASE MP2_BASE = { { { { 0x00016400, 0x02400800, 0x00F40000, 0x00F80000, 0x00FC0000, 0 } }, | ^~~~~~~~ NB: Snipped lots of these Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Huang Rui Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/include/vangogh_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/vangogh_ip_offset.h b/drivers/gpu/drm/amd/include/vangogh_ip_offset.h index 2875574b060e6..691073ed780ec 100644 --- a/drivers/gpu/drm/amd/include/vangogh_ip_offset.h +++ b/drivers/gpu/drm/amd/include/vangogh_ip_offset.h @@ -36,7 +36,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ACP_BASE = { { { { 0x02403800, 0x00480000, 0, 0, 0, 0 } }, From patchwork Mon Nov 23 11:19:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330617 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3415166ejb; Mon, 23 Nov 2020 03:22:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPeUHXcD5/kKdkXO/4EKhCD/gDjDsZKxtup5N/ZhtqKHI9V6XSeHnhszHohDbNe49cmmGh X-Received: by 2002:a17:90a:e615:: with SMTP id j21mr19997669pjy.74.1606130446144; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=yi3lx/E+jpo3k69Pxe5RXT6+CQR1OCh5mSoTu3pkBb0N2OE9CFULwoTDTcQJKBkNM9 rEso6wzaVANKC1RME00M4DaQMKkNyXyokQxBzq/i+QKtmkAHuLhJvCZrshEFEDOkSd1p x22G2ZTtSKbPXx3cb0nzQ+IOhwbL7gjHEOY7CILY6NrIe27MGQLO9c/t/RPw4W5hROlw S2otH9t6exLw313Apra7fDPxrf/uwTPF5CoVCznEz1VWr7qYjdQXEMACcFeaZpDtDoTr kCKVi1NNBrIuHH44OXIDtF8GxyJ7gLPvO/8a7tv1+m3MHX5S9bHRLO9Cue9wAlCc3tDy T+Zg== 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=AqwkPpwYgaVs1D/El2ad2FUiHqfxM3JNs69zq1xk5TY=; b=Bdcu8fK8TDMhCccZHJ64ShM9hUyF9AKhprXv5J0Tc+rmLNM+b4BUdUeZnnQAH1s6j4 S7lkcH8o71/NWeeO5ZA4lHKvk137LwLs11FuOrA3sF3odjyLftbxkdtJtT/p8epsBTQJ lg3gn/44k65/T6q9S+mWs1h1yAhbYtIlx2Wuvm1aRROA57z2+o04pmEDlFOAG5fboBWU 4UUSNUtcKjnOW3AWcDAYp4Mc3viKqrJUzzsvgj7cItTOysqH+Td2vLKR5byb2wmYbqgo QkxAvG5knM9oRaKiWOUNzM5C3urcoWfdLKyLwaEp5P9oZOrsyQolrlWga0WttFimYsd5 Y3Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tj5vDTXo; 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 t15si10094235pfh.167.2020.11.23.03.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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=tj5vDTXo; 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 071B36E03A; Mon, 23 Nov 2020 11:20:16 +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 DA4AA89F9F for ; Mon, 23 Nov 2020 11:20:06 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so17534407wml.5 for ; Mon, 23 Nov 2020 03:20:06 -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=nVQkRWnV9jg6+Ada1H2Ew94/golbusCXMuvb/nmCqqU=; b=tj5vDTXoZ7s7BPKmO/w/NnSIr9175PGoUapOPiOyTm9MIvdIVTwGlWFPjgvv6ccVwu BPNoyYf9q/lfk+xKsUamao8DV4+aNU8DZRD/W6KSeAxQd2jm5pb/K4oOwPmyXlyutKyw 6jf5zucwL+kphS42Ud1rMc58qo/BM/kjXcGp2cOKoy+BOHyvMNfUKwWlG+uwWKogNljr J7edQrZj8GhEgIV4msgKIOWfO0B2hZkrK4NVEltL3QApq+hvQwih476iQyw08FtEyU9i rfeV1BdjA7rWMJcWEMP16O5ZnllwohZp31bhDl8WhtP6Jfkt3A70v4Pgi779K0P+UMtO IJWA== 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=nVQkRWnV9jg6+Ada1H2Ew94/golbusCXMuvb/nmCqqU=; b=rMku2+Df+N+eQxO6U6xlC0dUcRmA3RnnG7Jv8/7wqKEdWZsLq1JlNFgak0G19E0Cv3 B6IgJSisXaHpqX1cTUaRuPpdZJD61A92/02w1H3JlxWaXQ0qNCuNyp5jYDXWataFh3aj gH/5luueWYgDk6Y7exL4/yQHjtGhuFD0OZJfl0aPzUFEX88JawWMJZR3U9e2M2ZkF/yy il9v2dxVWui0k2NXaN1wADr2vhqJAWVjFhpm9d0aJ83pmuUDi7hNNO9+QKlJOQPmdNlF O5gK25EU/wccbwtj+A8Wem47/fF2QDnSZSF4wBlOTdIymXMymQvPvT8eE04pn1Vprahx v5Pw== X-Gm-Message-State: AOAM533tCMU1Z/Xj5W7bqDDrKqAAume14txaJtN/6EVEHqTZ0aE4Hp7w S2z864zikG6EdHwz8WhhBib9JA== X-Received: by 2002:a1c:2d47:: with SMTP id t68mr23427316wmt.148.1606130405294; Mon, 23 Nov 2020 03:20:05 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/40] drm/amd/include/dimgrey_cavefish_ip_offset: Mark top-level IP_BASE as __maybe_unused Date: Mon, 23 Nov 2020 11:19:09 +0000 Message-Id: <20201123111919.233376-31-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 , Tao Zhou , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Jiansong Chen , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , Hawking Zhang Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/dimgrey_cavefish_reg_init.c:28: drivers/gpu/drm/amd/amdgpu/../include/dimgrey_cavefish_ip_offset.h:151:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=] 151 | static const struct IP_BASE UMC_BASE = { { { { 0x00014000, 0x02425800, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/dimgrey_cavefish_ip_offset.h:81:29: warning: ‘FUSE_BASE’ defined but not used [-Wunused-const-variable=] 81 | static const struct IP_BASE FUSE_BASE = { { { { 0x00017400, 0x02401400, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/dimgrey_cavefish_ip_offset.h:74:29: warning: ‘DPCS_BASE’ defined but not used [-Wunused-const-variable=] 74 | static const struct IP_BASE DPCS_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0x00009000, 0x02403C00, 0 } }, | ^~~~~~~~~ NB: Snipped lots of these Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Tao Zhou Cc: Hawking Zhang Cc: Jiansong Chen Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h b/drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h index b41263de8a9b6..f84996a73de94 100644 --- a/drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h +++ b/drivers/gpu/drm/amd/include/dimgrey_cavefish_ip_offset.h @@ -33,7 +33,7 @@ struct IP_BASE_INSTANCE struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; -}; +} __maybe_unused; static const struct IP_BASE ATHUB_BASE = { { { { 0x00000C00, 0x02408C00, 0, 0, 0, 0 } }, 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)); From patchwork Mon Nov 23 11:19:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330613 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414839ejb; Mon, 23 Nov 2020 03:22:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8e/u635acz38XqjA2ZxwVYPSJm/vcI1Mdc3nwdJLm0N2aI8BURBcv/PtCmgNav9tFOb1+ X-Received: by 2002:a63:a503:: with SMTP id n3mr2755268pgf.416.1606130446152; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=bTbasOmIDk01U33kYXe3wjqI6tUUdbtKz+7/ulxDeO6PdV4ljdLy7J6xSykFHUuXo3 M/vbq/igLul50wd7EmBgM8rH3Ny+FW+0IKo0G5Af3C+kq3TNG91sesvBr3WIA1M+FMQX N/x0xgCqJ6ieLHSHqZWG1Wv/mJK5mdtfRaggsdx4iJh63YxVc1Kt/JKCbDirmLOr954R 8KWVoOEsAnpDj+1lfkOwYUqGEfQRwUv37FTy+hQkgmIuxRfaUxySNaWSAfWTtIZsHPwF kils6GFtG8CLdxtVRIr/Tj2bPVgKxS59cRtWrpU33uBQS9z3M47e62DH6LxeJjFxeJ+2 d5yg== 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=LZidm5a6vgkfRfWvWWMK2SASdu/W6+HEIalzKBfRB4I=; b=fNkf4iHAYDikSODrAdfb8QRa++4nopBkiTM47OyYMIJ9ies00pFK0DC11aPfGhKRcI n2mXCEOfd997NQSXSyeoBoC0Ew6c1cui5AZnOkpV35wbY6r0on0aqXyKqVKlU/GPpuZb 7fQu7x0i/x+DPik4a7Qls9k+8GpBDW45VfDBNaz25yaFfgSBYzy2FHAWd+YtFXdBihhy UOOBNb35Y+uSqdDDjwFR2oVuWmFE21CVnkE5c4Kl5bA0eqn4Ephaq/9K2XambAhjlLzj BdvFOUyDj+6SITEd6YCsKkZz7fNwcBNc+5+9Gp/VRS7QKXFVIbxXJXsegnrjoJUNdW3Y 3kVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="q2K/cwXY"; 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 e4si4885694pgr.263.2020.11.23.03.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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="q2K/cwXY"; 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 068996E038; Mon, 23 Nov 2020 11:20:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 953A889FA9 for ; Mon, 23 Nov 2020 11:20:11 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so18212746wrx.5 for ; Mon, 23 Nov 2020 03:20: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=++Vz68Fmu1On4IoEFcmE3A4sGOg19/cMuiuu88qyFq4=; b=q2K/cwXYQSgDLZTSTd16fYGp8epOrbJawkVeEFI3/Pfsv/JGDv5qaPXYej0iOxd2ph 48gor7LDZtGHEP5ggv34K4U71CCZv9PNpVNhUskTNwtJpMYERc9plx2o33yuqougCGaK yh+M9Fe4ynTg2rknsoZZeLyM8Li+5AUSRduvQKHd/942b6drv28cCsPj6Zau/rquxKGQ F+YRrQad5JTANuegzhgxb0GJ0o76zcEYQu+iUST9WB0x+lzVqqR3ZdSgZlreFanFYD2E Nh+s2voMHLrEHv9VGA3bJOwwKuePJECNJP1WSvjQ5MZDdOOehYGs7KqF4AdWw00B8RsW 0rng== 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=++Vz68Fmu1On4IoEFcmE3A4sGOg19/cMuiuu88qyFq4=; b=R7+EL6u5AjxPGFBk1+8+YwBTtFuUS54cMEnIa0bydsU2DVnHhtOn9XrB9J3AEiKT6G g3blqKir6i6cRr+WJIZWUwZT+nPbkTgTZ9KzvRwpcvzJQjw/EIrXpEUasn1OtoYRr3WA Ds6GxqRbjqkrj5SJa6WZ/evEbuPBWV4Avd6JcEtvj70A2p2WuoKnIb6Z3VuOn5r2kBxm QH8xQYzwOlyOE+dCIf2oNiznck2wHU1jmuovssrukRRnTinGA4/7Rj1n9nQG4xXCu5Rg DKHZ+OOgUgIQFXPElIhA7yCFEc57+dWA3NpILXjcio12uyvgaeSd/RLtBMf1i6tpNuzH TQ+g== X-Gm-Message-State: AOAM531TaFmay/nB0XD6owMQuKV8nPMEvHeMbpEJHfvtuvyMUDTGf/tr JFsfwpSZbx1iKVMWFle6IDNbwg== X-Received: by 2002:a5d:6805:: with SMTP id w5mr5885075wru.266.1606130410214; Mon, 23 Nov 2020 03:20:10 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/40] drm/amd/amdgpu/uvd_v4_2: Add one and remove another function param description Date: Mon, 23 Nov 2020 11:19:13 +0000 Message-Id: <20201123111919.233376-35-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, 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/uvd_v4_2.c:448: warning: Function parameter or member 'flags' not described in 'uvd_v4_2_ring_emit_fence' drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c:448: warning: Excess function parameter 'fence' description in 'uvd_v4_2_ring_emit_fence' 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/amdgpu/uvd_v4_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c index 2c8c35c3bca52..bf3d1c63739b8 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c @@ -439,7 +439,7 @@ static void uvd_v4_2_stop(struct amdgpu_device *adev) * @ring: amdgpu_ring pointer * @addr: address * @seq: sequence number - * @fence: fence to emit + * @flags: fence related flags * * Write a fence and a trap command to the ring. */ From patchwork Mon Nov 23 11:19:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330614 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414883ejb; Mon, 23 Nov 2020 03:22:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLj+7h/nf0NP+JcZa3d6aR/RSGTe7g/lelxTZdNZdroHGHddH6VjzD3a47s9WrkWZj5OpM X-Received: by 2002:aa7:8801:0:b029:18b:5878:30d6 with SMTP id c1-20020aa788010000b029018b587830d6mr24917572pfo.77.1606130446505; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=rW+8pEe+8JlQ3y5sH2CLHdbzF2yKhKfaTjsz9z5z9o1j3wo71+VUCKrSgvIaDy+ZkQ ugzLJEFBmNi9mwOSFzwci7oNtw4x6lKeRiaWDQygqQptYUaKgpm/dIJr7HQdPHNgOXsi Sh41ldgJ5llPPneou8XlTKkbVhFs7oPqUEuB0ZT4/2aJpfJmGUj/tkpxqtxaPTzPQA1Z 4uwQziFCEOH5OgYvDQkwQ7mY7SqUhzxpkLDfJX5zRAzOug7XQ0YlIaR1uhUP4mtc1rZk Qoc9cqr0g4Z2FrY1+nIRGOZ3+GfhByMn02QMzrpooXItQ0dfHOo9rt5X80Pa3hi2YY4Z zzuA== 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=EBGkatHI7f+jT1w8pLpBce1ejSYbOXos/xQAieklIpc=; b=EK58xGCVKVIONiU4NUcSbPMz4KQIAd9PPk9zs+Rj0WU+epqdskZlvu+XMG5uI8kcuH Lu/aHZvTP86WjOPYat3jqMO8/mc1J41GS9mbNrLWCeCWhUfr0qNZOmTJPY6sqA5GtYDz p+6aBnwsVerxFU21S/sV36XSxjFQZgnmxiSXPNyGQ030GPvhbsdf0uBeUYgYvkGAp4Jf ZHDbHpshRsLt/+Vi8nlk29SV6gytTkMpZ0k519xqBIbklUrn3OpSMiW2/pTmf7uB5Q5O I8oXkXS2Uk9zAuMI7x97R8Xj1wUc++SLHQ+4HFyH6+YWRVdz+gxC/kEreg/QQzbJs8rb XlcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uu3PFLsV; 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 d11si10288461pjw.59.2020.11.23.03.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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=Uu3PFLsV; 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 BECED89683; Mon, 23 Nov 2020 11:20:25 +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 443BA89FA9 for ; Mon, 23 Nov 2020 11:20:14 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id e7so674811wrv.6 for ; Mon, 23 Nov 2020 03:20:14 -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=HOTLquS1a42dGVr9bz1l9EZWYtJ3S+2UXgNiNnLXoLI=; b=Uu3PFLsVsi7flain8U5ubOSFOjf9aeein2CRsEPdGjFW3xzqfAueWWaYTJq2EtEAEb ENXZIBrA5guueBXUS95e0Imp78fMfwCLoliHzv8We9iHmewbcx4+02Mmpb19cHsagOvq 9C20GI9WcfOEgnYwQRT0N4yrZP9CPUMedWD0hPbemW3gojXqYe2GelPIMFq6bR4cuuNz YYAGcq4Q7bML/Q+wU9YLK2q90I2unSkJle3DIxj0T2sCwO5im/7Kr6A+1AeIYKainpNp Sa5sIe1w5PokpQKU/89WPL/Qc+oRr82P6Ma1O7W3FiJufPYDgImWxJ9tsf1VKbXZito9 2vVg== 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=HOTLquS1a42dGVr9bz1l9EZWYtJ3S+2UXgNiNnLXoLI=; b=QDceM0kn9Ni8mMBKi14M3BiAFZS+HC0xjcNi3Tus2WLHt+05ijhAKpi8hlcrG6hlLL jyQT0bppZsUN+jZu48vq6epJtc7aNN3ThIS4smVDcHSSwA/ITchZsSBxWk1iz63sshAF cm/HkRk4bWdVV5N938djRSMlMuvMT5dAgxjPRcMNHCjW2c61weM6Sc69Zu7RvHj0IAeq id0cbQ3QRt0cPnYhzIWbgSU7rGv2+tD5P3popJoFRXvkh+4znJLb8GloubMbVx+vKX58 fPo5KSoo1xOiN9mj7/uf+JZMIrbMSvtsHNHSXq6vjE9m+51XRcoGM5zz3ZXRYEz8L0r6 or8Q== X-Gm-Message-State: AOAM532EPEy7yMav3iqqviJ5Bm+RudR27I81qiqUSNhCTzHwMbkmqb3I hcirCfOYATaIEHN3K6Q9g2r3VQ== X-Received: by 2002:adf:f441:: with SMTP id f1mr30643254wrp.225.1606130412831; Mon, 23 Nov 2020 03:20:12 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 36/40] drm/amd/amdgpu/gmc_v7_0: Add some missing kernel-doc descriptions Date: Mon, 23 Nov 2020 11:19:15 +0000 Message-Id: <20201123111919.233376-37-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, 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/gmc_v7_0.c:433: warning: Function parameter or member 'flush_type' not described in 'gmc_v7_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:433: warning: Function parameter or member 'all_hub' not described in 'gmc_v7_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:471: warning: Function parameter or member 'vmhub' not described in 'gmc_v7_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:471: warning: Function parameter or member 'flush_type' not described in 'gmc_v7_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c:771: warning: Function parameter or member 'pasid' not described in 'gmc_v7_0_vm_decode_fault' 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/amdgpu/gmc_v7_0.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c index 80c146df338aa..fe71c89ecd26f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c @@ -424,6 +424,8 @@ static int gmc_v7_0_mc_init(struct amdgpu_device *adev) * * @adev: amdgpu_device pointer * @pasid: pasid to be flush + * @flush_type: unused + * @all_hub: unused * * Flush the TLB for the requested pasid. */ @@ -463,7 +465,9 @@ static int gmc_v7_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vmid: vm instance to flush - * + * @vmhub: unused + * @flush_type: unused + * * * Flush the TLB for the requested page table (CIK). */ static void gmc_v7_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, @@ -763,6 +767,7 @@ static void gmc_v7_0_gart_disable(struct amdgpu_device *adev) * @status: VM_CONTEXT1_PROTECTION_FAULT_STATUS register value * @addr: VM_CONTEXT1_PROTECTION_FAULT_ADDR register value * @mc_client: VM_CONTEXT1_PROTECTION_FAULT_MCCLIENT register value + * @pasid: debug logging only - no functional use * * Print human readable fault information (CIK). */ From patchwork Mon Nov 23 11:19:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330609 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414253ejb; Mon, 23 Nov 2020 03:21:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2ndXmWa73JE3HfHwH17jCxAL6qaZjzUSuyYblBKyVuJCQ5qpgUzA19aeRxJ/D9KI0smVL X-Received: by 2002:a17:90b:4b02:: with SMTP id lx2mr25213254pjb.49.1606130478112; Mon, 23 Nov 2020 03:21:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130478; cv=none; d=google.com; s=arc-20160816; b=Pe7HkJNDC2mFJLUZoN71BG9wz4048RCx9uXOYZxaiAlxI+9Fz57IJDmMMj7QTElxBb PutQPw9qnQeTa9jccNKysyhM/O9HO+aWQUhUklCd1dcOvIptlYJktoFORRzBubKpQszX WNreS8+kUrPR8dRhetMujfM9yBXxsYlHPLMnuN000LOWf8fKu7SFlbmrT3gruhW/Rg0w cnv/bfYGmp2AQcVf7wAZYFL1YsLa0JcvisTruJRva9C6JSo85ZHekjeLG+9ksstrXDXx Bzm+XTXx2vauEAOmXq09kGQlcMojVVrXIlIMtNPG0IzImkipItSkkHclTxqUtAHSy9YQ cX9g== 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=jqDpUJDcpAl4GUfzMRFJtrFqWooZkN13atvGd9PGifQ=; b=0pM7jaIPRY+sxk6xIgIl+zzbFbeHtjp1OgWkUCUTE7sRQUDlImAveBrA6QIie/gerB 5RqBwSTVjaSVGcL0Maj1DYIUXbNCNCEE8jeApKm+EclXed05aHXcSLOr39fYGVDrz0Jn FfBm0Dc0UuRFjDFepndBLhs8GApA9xAXNyFgNBOyikNJBLL/So1i7SFL3A/GDsyMWMjJ pW+KrMRIYsc8IJOoOUx6YwTElAHclz3xuxbZK9tEMJGG6A2jUOC6UE/sz43hC1SKQ/EW +znYb4GofeiEaH83OFYKBOZmrp70ygyugOOR2inviDpSwLW8WlEaG4UpGw7JtDWjAb3d Tu3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="CrRYYm/K"; 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 w5si9961393pgl.418.2020.11.23.03.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:18 -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="CrRYYm/K"; 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 0D75A89F97; Mon, 23 Nov 2020 11:21:17 +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 8D01389FA9 for ; Mon, 23 Nov 2020 11:20:15 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 1so16864124wme.3 for ; Mon, 23 Nov 2020 03:20:15 -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=P119mFSQ3gSCoSYB/CN9/cMQZuTwsZhoVi6LljBTVvY=; b=CrRYYm/KGRuXUUR/ONdnY49DZdCnEJu/XQdHwr44D6hafzYw0j3GaZou7bR45m/YLy w7oUaMgSveRI2wSoPDH57G3A7SdpuMQfcEU8p7qd162FJG1Z/nAzhiO7dRC2gnQbC/vm PfEmtwcw+HGqx7OB4N24SgMpomvXZtGtwEsyx4SzW6GTRVcwDBTpOLVS8SoCFa22A6sF /3gu23WFyO3SC/QrFpSPMePYUsbWOF4Vm6zfw/OUfyR02zvkB1bH7dBVhByeI0X8Hjzb 53JU2+DIwHKHSvO0tkb8bZu2RemE5bgp9AwkP/sRtts1p1ww7gYv5xbvTNFt6hTems3X mR/w== 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=P119mFSQ3gSCoSYB/CN9/cMQZuTwsZhoVi6LljBTVvY=; b=O5AAIcn5vhkRoUhYbP3MXPzeMucCTjvUMZwMpAaHQN76WbNuKGyz1NA7uBMHxSkg0R Utg+bI4bvbYxn1mpoYsGz0oKSA0coQAvJIsAxuLuC7WDpuluibCL2UrJLw8Rt2XHdnz6 gKH6shkXjZbIYss1DuYRrFGtzIry19ADDY/FNVTD04dFzGWS7lyt9xGl5r6kSiNWrkTg zDnlXBzcz+3sdCRfuE/dL9YgKdBO5GIzoeiD1CBsHnLyPw2VCxtuDAcHFP/KXIkAJBzf 8AY5nJVBLMGxN52SfX0ZV1mZcBHjPOWGm04P4t+17eqGUt5jOWbTerDAplbmzXgIfJTT fOWw== X-Gm-Message-State: AOAM533l1pIqzR12iZoI5TdOZLgW1fQHj5OWiGOo+ZoBDCP15XeBQddj /Asb8BUu1aEnBWpxErjVf1syrg== X-Received: by 2002:a1c:2384:: with SMTP id j126mr23898113wmj.116.1606130414120; Mon, 23 Nov 2020 03:20:14 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/amd/amdgpu/gmc_v8_0: Fix more issues attributed to copy/paste Date: Mon, 23 Nov 2020 11:19:16 +0000 Message-Id: <20201123111919.233376-38-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, 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/gmc_v8_0.c:618: warning: Function parameter or member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:618: warning: Function parameter or member 'all_hub' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter or member 'vmhub' not described in 'gmc_v8_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter or member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:998: warning: Function parameter or member 'pasid' not described in 'gmc_v8_0_vm_decode_fault' 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/amdgpu/gmc_v8_0.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c index 0f32a8002c3d7..41c1d8e812b88 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c @@ -609,6 +609,8 @@ static int gmc_v8_0_mc_init(struct amdgpu_device *adev) * * @adev: amdgpu_device pointer * @pasid: pasid to be flush + * @flush_type: unused + * @all_hub: unused * * Flush the TLB for the requested pasid. */ @@ -649,6 +651,8 @@ static int gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vmid: vm instance to flush + * @vmhub: unused + * @flush_type: unused * * Flush the TLB for the requested page table (VI). */ @@ -990,6 +994,7 @@ static void gmc_v8_0_gart_disable(struct amdgpu_device *adev) * @status: VM_CONTEXT1_PROTECTION_FAULT_STATUS register value * @addr: VM_CONTEXT1_PROTECTION_FAULT_ADDR register value * @mc_client: VM_CONTEXT1_PROTECTION_FAULT_MCCLIENT register value + * @pasid: debug logging only - no functional use * * Print human readable fault information (VI). */ From patchwork Mon Nov 23 11:19:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330610 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414263ejb; Mon, 23 Nov 2020 03:21:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0Nb1m+13l/i2u+6QC8E7584JAJOus9J+dsnxoWNj7952I7JM89kPt/hd5RukRj3pEaE7A X-Received: by 2002:a17:902:bc4a:b029:d6:7ef9:689c with SMTP id t10-20020a170902bc4ab02900d67ef9689cmr24024324plz.21.1606130479462; Mon, 23 Nov 2020 03:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130479; cv=none; d=google.com; s=arc-20160816; b=vyyRgEJ+Gj/YhId3+5QAs1qXel1n6psIVUjOU1gTZKOKYKbwiN1IGphZLymVAR9Kc8 9wi7GbMP1ug4mAv/iQfjGWttktLa+13Y6u8rytfjwkH3wyvSTiH6OH6vzOzLm7UySjeF NRhwmiDS1VsMJ/rQDHd+wg+qUhtsxrdrB4VcObEE+LIL9geq+2HBnHVo335S5LvEbmk9 KefljufhCV3b5OVjO7ZqZTRFf5HrRz0v33ZlikDdm7s6EqItyc6v6ouyeZCytPLAGuyz kz0QHI7hBR5vJg1yC0cdpCcCm2HeXZWy2xli+rF9R/N8/Vy5qyuSUZBbxAQ6pWvOyKXj IjOg== 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=KOlIJWaUDQlwhTG3vkbx81DksPlmRvCu6GF3qo40H+k=; b=hD1Bkdk0UJmEfgTXbaG6luWhGy/WQP92495rfiHa7AgSODRAVtsiNaQ4Scl0v86n5A RfNmumC6TS4HEWNEgj+K/UpQ+RO1woTHbuCcwL7kp1pY8XmSHwymdYYfA5DWcTYjF27l 2A4ulmvu8ANLZUrSWx1bUnrVnnpjp7unY3EZEIoYKfYi+PN9jfb2IM73ww+ILy5sS+0C rFgiIb+rrjN685scy4U+I+G2SYPPWt+Tc92b5Gy9HdoxNbSyaxUzMSb/wVirOjoGvk/i Qm3O+e7ofsaoOXAw2BvhCyY+e+6w2E5bMO+tcoBVScGAIPkdBsstSUEoy9yv3kJn0S1J ox2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ITMcw66k; 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 m190si5319616pfd.307.2020.11.23.03.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:19 -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=ITMcw66k; 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 AADA189FA5; Mon, 23 Nov 2020 11:21:17 +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 E03A76E02C for ; Mon, 23 Nov 2020 11:20:16 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id e7so674938wrv.6 for ; Mon, 23 Nov 2020 03:20:16 -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=3XQiSvdHNX/l8zTX1wnsdbanAAcRSnCZFK2InbUgz80=; b=ITMcw66kMNj6+a35t560vvLEJp9Qh3wX0OAmVSouJIPLLOsp/LcrYRXMqRiNL1IzWp N88RAF/OA4LP2xGceSDMEdHSP4NCSNn2TSIa0J52t70m0+Cd5Jd5qhoE/KLjniNY96Du CEvjpeHeTWD7XQHNXEmghRGM3nQKcrWOIa0NHPPChpU0y7QnN4rLW1ESzUI0kG2lNCsk L/FNUM/285Cq7SZpdjddlkjFfHPPQV3ZKYnfwp4fh//vsODzAD4+0ePc8TkDFkGMZaPl dpKkd1zjRHALp6PHoTEqjG2Nt7KRy4F4csBhN90NqRTLGFbhiEeIGjVPQO9wWpcoy6jh eW7A== 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=3XQiSvdHNX/l8zTX1wnsdbanAAcRSnCZFK2InbUgz80=; b=P0q8Fs8f3QBlxmL6G1TmuOcp3L35M4cxO+FU8y1zZ/tY8a+0Kf1WbvUAYzz/csKAUG rPB7gjzXe2irbi9fozqfjQ4bQJNm9wAsSHX3fOirCsRDW0j1jsnIm7/C0dWDANXVfQ+P uyKl7wCDDsVT41INUT9OHfJ4y+A+CbjBSvVDRjFwJX1eo7LD4mbOl+r1ef9nmb/vu/+q pWfPM8dXUFYYsXxs77wed52VwFooKr+GwIkYyANC7qz2U1ghO16yZFALg9X+RjAwS6pA /DQOSgsPBn/vVLbjNlKpkknhFz91mWRRy4n4558JV85n1hmMa7jGb4yV0t4u2hOo0gEk OQtw== X-Gm-Message-State: AOAM533/BQdUckOcHKLjLedSDAwSaoyNh4kvmiM+nF7DDuc0QeZedIhs v58tL8LlW1CVcv4/CV8PP2+BKw== X-Received: by 2002:adf:e80b:: with SMTP id o11mr30535225wrm.409.1606130415390; Mon, 23 Nov 2020 03:20:15 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/msm/msm_drv: Make '_msm_ioremap()' static Date: Mon, 23 Nov 2020 11:19:17 +0000 Message-Id: <20201123111919.233376-39-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/msm_drv.c:124:15: warning: no previous prototype for ‘_msm_ioremap’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/msm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 4d58668b80853..edc99e3b0eca7 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -121,8 +121,8 @@ struct clk *msm_clk_get(struct platform_device *pdev, const char *name) return clk; } -void __iomem *_msm_ioremap(struct platform_device *pdev, const char *name, - const char *dbgname, bool quiet) +static void __iomem *_msm_ioremap(struct platform_device *pdev, const char *name, + const char *dbgname, bool quiet) { struct resource *res; unsigned long size; From patchwork Mon Nov 23 11:19:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330612 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414750ejb; Mon, 23 Nov 2020 03:22:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqOdkD9SV7DHBL5hoEBNIXyz7nJFzMIfOmnfh6ncw2SEsGcqfn/m6A/8n+fFIVzftrJffC X-Received: by 2002:a17:902:b283:b029:d9:e783:717a with SMTP id u3-20020a170902b283b02900d9e783717amr12489369plr.84.1606130446145; Mon, 23 Nov 2020 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130446; cv=none; d=google.com; s=arc-20160816; b=OnPd8TKOjKRRelk6i1qG9ki5l4fYK6pj7bxYsTAGKrQx//Frd6UU11uXyl4UtbU4xd sJirgX8cYycvTRW4ij5jPJj/1qWJq1wEibRhH1NOLz86Up9eMJEqB8eJJUzUq6I709zK +dzPs3iqIRKanD2RgnKFtQ+LR0n2ICshOiyQb10MMUe1j3CgrsWarZrC2Z1Y5UMm/Z7p d3wuvxhk+ymv4i5bZHILSOekSuUdX2vLtuV4jnmmgaGpOQ69hwXuXb3tTd3/+XaxMOtQ zRoAWrkUb9xkp7STA9BGAYie9UJvnALgEqaxKy8k5g795QR44+/LaqcauqQ6cMPREHAv 5Tkg== 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=riEEkR3uCmAXbCa1Xju0JZ3EZ1mUPzqan7beOB0jazU=; b=MDtxMnxbpgGBBQLGNwjalfL6C1ccZpmigugVLo2ichft8JM2kGomaolI3G4cqPSWln jkdYJbMSpD4Q3MPV6A7QNbWsj86XSDA8CtSO/diVcFNk2Z4/Wi3KEK07S/9s1Dc0fS3D /inMOHJVDamgnFQ/SbDg47lraeL6Cg8yBPeb4E1KRI3SEyH6s7tRiEjWOiIvWexuBG9t YgFUVBXbrXkJH+S6Hf+s1/mInY09xJKNepgTP853cqyS7mvtOlmyh3qYxwSBSlLMpqzn dK0uSV52EuoPBg3aM67GBajUc4qGgvgKawoA8KA5fGI+5ZYdljptnomH3tJbUhxaLYDv fmXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Mgn5NMLh; 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 bs17si10203240pjb.20.2020.11.23.03.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:46 -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=Mgn5NMLh; 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 CD73F89AA7; Mon, 23 Nov 2020 11:20:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC4FB89683 for ; Mon, 23 Nov 2020 11:20:17 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id e7so674993wrv.6 for ; Mon, 23 Nov 2020 03:20:17 -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=dUeixF4MexcQptzRTHrmHc3KXAc8UlMXol5+btOxzyI=; b=Mgn5NMLhJpAl73mAfi6yoe9e8RtL/B1FIcdsGg2VTegVerYl9+T3G23KUJvYn0BDoF dlBP/X8WktZxc0ZCu+O1ZljebWw81+gjSvSbLG5Bdk3nGL5OBbiZzNo9YhiQIKSF1lUL gOix0w2ugmEjS9JVXUW28BxIQSvVZdpD8jZMgQi92EHVLJHcXDFnYWL43sF4I96SBH7/ D9sVx3HH7YaHGxybPEAnIA4O5QASV4xoEgRv2q93MKVZfRajp6lsW72rlLbIGxKvetL+ /YpGoq+Ty/beR9aTF2YRNUaA+MPUlWoK3EMlvY7XVLzZdA6Bc3uv+HsiBmhRl21IeO4j TSmg== 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=dUeixF4MexcQptzRTHrmHc3KXAc8UlMXol5+btOxzyI=; b=XB42uHLjYCvOasOcSgA9z2S2Cp8umLA0WZQHQenWUTQLFXk94PVP8csumRL1sH/vnY 3xjtsLU+4CCKp/eJ830kYDmLFAVnSvtZWd7PUXJWM2siCwmOVytguoOBVCgOjc7Q0iCB n4yn6I++oKD+XtaZtgQEIKg4pFIN7j4nWB1MsNu9oHJfno1icXzfm7I4OKowSN8blFP8 fA2eNGBc18UEimu9mczZMyzKGYsMk09OFkQ5b/4CMUxZ7EYXs+zrm39LZ+qE+qPStFPm YJdtZxuJfjvbnUsRpw8R1BX/I+c83eE9QBuEUp4dIQdSms8V3eE5f+uJzZgDL78aIX0m AcHQ== X-Gm-Message-State: AOAM530ev2/bNBdKvfN0h2B4HGse+lAo2SEsj2BoRV5D6SlvhS3lXxSC QTVRg0toP0AfO83oRzSE9eJdCQ== X-Received: by 2002:adf:9d49:: with SMTP id o9mr30393682wre.413.1606130416608; Mon, 23 Nov 2020 03:20:16 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 39/40] drm/amd/amdgpu/gmc_v9_0: Remove unused table 'ecc_umc_mcumc_status_addrs' Date: Mon, 23 Nov 2020 11:19:18 +0000 Message-Id: <20201123111919.233376-40-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, 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/gmc_v9_0.c:382:23: warning: ‘ecc_umc_mcumc_status_addrs’ defined but not used [-Wunused-const-variable=] 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/amdgpu/gmc_v9_0.c | 35 --------------------------- 1 file changed, 35 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 0c3421d587e87..fbee43b4ba64d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -379,41 +379,6 @@ static const uint32_t ecc_umc_mcumc_ctrl_mask_addrs[] = { (0x001d43e0 + 0x00001800), }; -static const uint32_t ecc_umc_mcumc_status_addrs[] = { - (0x000143c2 + 0x00000000), - (0x000143c2 + 0x00000800), - (0x000143c2 + 0x00001000), - (0x000143c2 + 0x00001800), - (0x000543c2 + 0x00000000), - (0x000543c2 + 0x00000800), - (0x000543c2 + 0x00001000), - (0x000543c2 + 0x00001800), - (0x000943c2 + 0x00000000), - (0x000943c2 + 0x00000800), - (0x000943c2 + 0x00001000), - (0x000943c2 + 0x00001800), - (0x000d43c2 + 0x00000000), - (0x000d43c2 + 0x00000800), - (0x000d43c2 + 0x00001000), - (0x000d43c2 + 0x00001800), - (0x001143c2 + 0x00000000), - (0x001143c2 + 0x00000800), - (0x001143c2 + 0x00001000), - (0x001143c2 + 0x00001800), - (0x001543c2 + 0x00000000), - (0x001543c2 + 0x00000800), - (0x001543c2 + 0x00001000), - (0x001543c2 + 0x00001800), - (0x001943c2 + 0x00000000), - (0x001943c2 + 0x00000800), - (0x001943c2 + 0x00001000), - (0x001943c2 + 0x00001800), - (0x001d43c2 + 0x00000000), - (0x001d43c2 + 0x00000800), - (0x001d43c2 + 0x00001000), - (0x001d43c2 + 0x00001800), -}; - static int gmc_v9_0_ecc_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, From patchwork Mon Nov 23 11:19:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330608 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414084ejb; Mon, 23 Nov 2020 03:21:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX8bVw9R/iJaGcUtReyul3jdWcws07vXyhzkgown73Yt1Ye4m9WjoilFwGUrBZlHD6mDKA X-Received: by 2002:a63:2264:: with SMTP id t36mr27265701pgm.350.1606130463677; Mon, 23 Nov 2020 03:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130463; cv=none; d=google.com; s=arc-20160816; b=Ix/MjT5SUDB/6aqFw15XjQzvGMW2WIOyw0hGbZCHBz8TZgmAOOMdNhKzBpiDpgDxib N4GEoitcKQsCytaWoGGg7qZm6YOewaKFBanXlKpGCWi9mZgUnlOcZf1bpnan5ojlFHD4 XGhBE+0bVnnDRt3uivcB/03lcXdCMueo4XgPtQsP/bkCGRnkhzTsEs135pM5bjpKk1EP AbXFtHTgi0K1MgdEi7wG485uzXXUNN9g8czzjLISCpB84MPfHpv3tpmtPsM0kGYXNQqR fZ3qoonaYAn5DJnzJqb/BK9KblIC327Gza/nkHSA5zgfyXzVxH+WS1Tiw2C2PeCWTLW9 yqxQ== 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=4L6hxkXkS5RGOPy5Ydi0EitIiuHc0A0G9Key8AITP9s=; b=O8WSghzVCuKs0JKLHiWA4rVowLYdAB9X768QqqhZpo9jMcGtXdHcww+0Jkfqz7sYvO L9Ks3JmrCir3yJ1/JfA3S5fPhZC8jVQLqLe4SNXBqRsMxpFy2B9SCtBtU3tU9SeqcNCq Xa45fRVJ54PnWlllArmEaQAs/D7POHuTof2ByXo4iGDjbXzYXn5gfVReoM8bUe0u/NbQ mkGz7lMj5s7itPWQtdhO+QvRHpjUw4CNOsJ3c1+7WUdEMrYwQe6V9limPKWKcEub6gKn FuxEYLLh40ASae13VeDLlgZUlZb1bpNnNmD8kjmpZfAcDbp1IoEOVo66sdhi/zHS4Ve4 VZxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fFIghWFE; 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 g22si10491921pfk.125.2020.11.23.03.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:03 -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=fFIghWFE; 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 9F4FD89EB7; Mon, 23 Nov 2020 11:21:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2468789FA9 for ; Mon, 23 Nov 2020 11:20:19 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id x13so7471912wmj.1 for ; Mon, 23 Nov 2020 03:20:19 -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=3XzaLPcLzyh2up8e5kwP+nCHZJEB2WNWkcaV5TphNj8=; b=fFIghWFECT8oOj8Gu6q8wWn9L5Fsp3uSgLhqf4xoYHzANzX9dnQy+cCA25K4kRYNg7 FZ2lQihD8sQIOAZh9U99hIjJKi/4DqiRzkm+KMU2/FoHpzwC82+M8bNqfnVvEmKrm8t/ lfxAuN4z4hfJNTekVocscG1M+td6PQFn1y8fWKMtOULHbg1wBKDyhAcnpBFudv5YTyzS qeG35MgmaOjGVq5q81vUOK9ppiAYrv9JfodWa7vBEJxkBEhINB+44gRA2QXEMyj81anE 0rZFFj6ta/VsXd6K2OtmQI7hbWA8UBuHofWGPJEiVBedvS74vena5C/SamFn+8lWjn9s XvXw== 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=3XzaLPcLzyh2up8e5kwP+nCHZJEB2WNWkcaV5TphNj8=; b=U6lVTwdbky8W7rZ8gmOuc8pGzbArFWbK00uBlQSu6e8zHi+fgzw2a6n5WhlBqQwsrV Fg7M7UQf1Oo93A88YB4nQFvK4OP1CWQbrv6WzXZxFJzMcewpAeTIPNbGSTeJKSbBu7Ku w0Ppx18XbdAkOuYPGg2gMD7pANfEger1gj7x2J3d5mXNi9tnxsJJijY6lowpiC/0qyv/ bM3DMdA0vDJCLohaI434JzFqlizesO1uV2tQNA+Rc0MiaexBdxgY5rm4xSkqVNhkL9yb XkGDOV43TEtWkkEU0/4zlBzlo1dyGE/cMz3JMWg5QEPJSGPXnX1Y2azvnyJ/aItlJDdX ot0Q== X-Gm-Message-State: AOAM531nogsOiZjqLkRi5YJeb1j+g6xidfuDiT5ZTheGpEJoOp+YPKY9 FyraiQUufy6HCF8poQrEeIDe5w== X-Received: by 2002:a1c:a185:: with SMTP id k127mr22884154wme.23.1606130417818; Mon, 23 Nov 2020 03:20:17 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/amdgpu/gmc_v9_0: Suppy some missing function doc descriptions Date: Mon, 23 Nov 2020 11:19:19 +0000 Message-Id: <20201123111919.233376-41-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, 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/gmc_v9_0.c:382:23: warning: ‘ecc_umc_mcumc_status_addrs’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:720: warning: Function parameter or member 'vmhub' not described in 'gmc_v9_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:836: warning: Function parameter or member 'flush_type' not described in 'gmc_v9_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:836: warning: Function parameter or member 'all_hub' not described in 'gmc_v9_0_flush_gpu_tlb_pasid' 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/amdgpu/gmc_v9_0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index fbee43b4ba64d..a83743ab3e8bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -675,6 +675,7 @@ static bool gmc_v9_0_get_atc_vmid_pasid_mapping_info(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vmid: vm instance to flush + * @vmhub: vmhub type * @flush_type: the flush type * * Flush the TLB for the requested page table using certain type. @@ -791,6 +792,8 @@ static void gmc_v9_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, * * @adev: amdgpu_device pointer * @pasid: pasid to be flush + * @flush_type: the flush type + * @all_hub: Used with PACKET3_INVALIDATE_TLBS_ALL_HUB() * * Flush the TLB for the requested pasid. */