From patchwork Fri Nov 13 13:49:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324302 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212949ils; Fri, 13 Nov 2020 05:50:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJznmfHo41G5KZDu5TA0X/9crzyab+iAYwQDLbbAqv7mDu6HI9oAqpJ740VbVmpeIoCefyx8 X-Received: by 2002:a17:90a:d246:: with SMTP id o6mr3081952pjw.14.1605275425465; Fri, 13 Nov 2020 05:50:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275425; cv=none; d=google.com; s=arc-20160816; b=sTRkjwSCrE0LRNwHIjtzvQZoItzTvrUnClHc1YkJ+qbvhYZ1hKVP9qYlD1LDqCcG9F 6nLUhaMZYxtzjKKxUNmA+TIq/6uHGt9ZqWE0AxRNEOCVMKRz6IwllwOQv4zvF/FnLRiy mMxABrtOvcbuk6rB3ApkIcPv3VfyLtm08AYHhEVJIXAeEwWbPe+GZQXCOWJs+lAVaScF IGc6lNffbjdMaLzrmz3RkaS90Wts1pKGyYtusylz8lY8sKEVNEHcqufoMPErGnUZCU1n QGKNj/5Q9dK6YJdEQVcvoJtEc2ykRzX5/mcYOq8AimBwAsbOIVkhEkukERYT58AMWBc7 yD3g== 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=ym5cY9x+VYAsc+z462vtJ+5VbrhRU0mFQXjgjdE7VEQ=; b=jEYHqwCWAWiMyb/lJGv9ryrNFxM38lmCaNpXtcSLbKOdb4IJqDEWVR5JHL/2Jqucks lkj0FkcKf2S2djMgZkC6mH8mP+BKz5eN7pFOrEU5A3jMtPhT82SkG8JbpRbhoi7I9i6g VlJ19tnO2R/VUy1KFbPPD/nmx8RYeQprPUnAiLGBzDRNS/RrVoGx5E2q2n16PNcDgRuy t8i3c/I7Ztoe9OkClqoWL10So5H05XD0Q9rAz8SBXqXkpFwv+fLrO1fi7qlG/QsqFEQM /cPIbhZfgc/e7eALMG4y7nQovdXvyn+F1o/QShQnlNJn8XO4GEYjIrdUe6aWXu9K1DmT BLHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWB7Rb3u; 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 go17si1567907pjb.26.2020.11.13.05.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:25 -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=QWB7Rb3u; 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 1A3DA6E4EC; Fri, 13 Nov 2020 13:50:16 +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 B79AA6E4EA for ; Fri, 13 Nov 2020 13:50:12 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id a65so8577822wme.1 for ; Fri, 13 Nov 2020 05:50:12 -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=WGHBLLfArp3MHXb6jRmdWLcwUbJpj6uRO7upfU2OHuw=; b=QWB7Rb3uSLXYnQQ2cEAuBHkFwyMP09ZejFdY7z3yP4RvHuVLM8LVdxKcPQGfkX0TKa SVSi+znYIGs/2/tYZ/ZM7cf4ByhJpxXQ1r84QAhba/dAqu7NVoXFlaxI4/C8eZR1/+hG RIPQmHWl95mquQI5VjH7Var1GM0bDOgfEcy8Dk1k3CVLUlDdsDYrkKv85BsjY/OKbJUh JHKjCn8N4k+Se9bxCU06GpXUD0K37g+NsFV4+PVAHjDUROTTE+NPOCiZOYZqcT/8EWoM 8VeZhX3TU86f3ojfoRTtOqaJN5quuiNEOpOHsuJdVbvH+o2SM9aDX4dtxdn5EQiojVNx k1Gg== 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=WGHBLLfArp3MHXb6jRmdWLcwUbJpj6uRO7upfU2OHuw=; b=pJNjVO95O0kEAu2+OxUAu/6Uy0DxUr0/YVBXt0ixjFhaIoq+pjf3ZjqEqI/yB6zNLw ncsczQOhjwLYtFgMzIxTJz091KEmc31BUlhbR8LmKHWZkqDZaWiF+U9ADPjunK8/9rOe qKPJXAF/tpC6HKniENyi4lwY3wxTneLUBztMmJuTg9G9Wkb4XCdR4xgezIrZt/ba4uTy 0wC6aLv6TKHHZA0StRR9dAtZoItEWx4bR5OvmmjPu93R1J8Y3+Tn8LQCtIYkagI2g6A1 WCvhjf1QGrYUc0TPrZrV5CPsPTMsejL67lq9dAd2VJ8XZO57bwOTk2p3I8R0zraQ1AYp 0r7g== X-Gm-Message-State: AOAM530Jj79LshQic69wVA9Th/JbOlOvTVgeOnYx/4jM71McOpyShRMW OB4LoOPYP0mn2yoxzE55IkEYdA== X-Received: by 2002:a1c:2583:: with SMTP id l125mr2655884wml.50.1605275411325; Fri, 13 Nov 2020 05:50:11 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/40] drm/amd/amdgpu/amdgpu_ids: Supply missing docs for 'id' and 'vmhub' Date: Fri, 13 Nov 2020 13:49:22 +0000 Message-Id: <20201113134938.4004947-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Felix Kuehling , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?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_ids.c:271: warning: Function parameter or member 'id' not described in 'amdgpu_vmid_grab_reserved' drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:523: warning: Function parameter or member 'vmhub' not described in 'amdgpu_vmid_reset' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Felix Kuehling 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_ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index 6e9a9e5dbea07..61a1331f482c5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -259,6 +259,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, * @sync: sync object where we add dependencies * @fence: fence protecting ID from reuse * @job: job who wants to use the VMID + * @id: resulting VMID * * Try to assign a reserved VMID. */ @@ -514,6 +515,7 @@ void amdgpu_vmid_free_reserved(struct amdgpu_device *adev, * amdgpu_vmid_reset - reset VMID to zero * * @adev: amdgpu device structure + * @vmhub: vmhub type * @vmid: vmid number to use * * Reset saved GDW, GWS and OA to force switch on next flush.