From patchwork Fri Nov 13 13:49:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324318 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214198ils; Fri, 13 Nov 2020 05:52:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9DWcvqYk9KoEgywC4nwJbuizJiM/gLJ1D+dscCif1KYx39nN+yU0Ne51dCS8IUU13bRdi X-Received: by 2002:a17:90b:b06:: with SMTP id bf6mr2782425pjb.11.1605275441471; Fri, 13 Nov 2020 05:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275441; cv=none; d=google.com; s=arc-20160816; b=p4hGp5F2s/ia+y6mBmH4G7/n4EkV5AMfZLFkJ/OuAxZtgvTkJYwzV4WUEIrF5ZBt/G uAZWtNumNKhVW86gbwAh5/OT53Mh3HhJLok6EVDSf3S6/Dd9xVYLlpiDdZEH5SYvw9lY HVtxK40XQV3OLK3ayTSpJmTHd9JqES+WiFVM2dr+QmZ2FKpgAuyQhLipdeX0A1Ye6rgT OnVqe3xvCk96KdqN7Vvg70a6pUyGGXyv3k/xMCxCA9ytRvXziKQYM1G4dTMenuzSlrKj 7dVV3YDQYQ+Tl4MXNDzaIcdz5ySUGHHurhTGSnJUJdz5Q7HfCZzZFEaT+HiPLs0dF1kO 2f2g== 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=ghqZ6ExwI4WSkhfsWmI/u4j9nNQcVUk+pj47FTIa5Z8=; b=v/H26A5wCzAsqYNKbGOFA12+ydtom72u8nknjiUB4SKnxwoBGQTVZNtfeNG6g/N6U7 vXwei1aCkQneCAeoM4jhofU6rIKTZLqrbK1FmDyMV1vy6+TxNzR1y7gUOop2TUO9BEFD bQ5PigN6U4P1w++JBKmtpT0ji5claRut4Z2MxnuLRcl/U1VCg9lXAvbobCqaWIUe5tw7 ETMZFCo5kqPk33pAZ1Czf0rEt6wB6+qY9sj4hs1Xdu1TUXAmsD8UjdwtSFn8JsGUuu/m Bn7g+d1kjlgD6CnfyNwMvcoZ0MHEgXwVr5IAr6dSPK0owPzeAlIm+5kHhAyCBRB2hjD5 PxgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L05jL7z2; 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 o73si8091130pfg.92.2020.11.13.05.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:41 -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=L05jL7z2; 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 492C56E54C; Fri, 13 Nov 2020 13:50:35 +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 4D11C6E513 for ; Fri, 13 Nov 2020 13:50:20 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 23so9966144wrc.8 for ; Fri, 13 Nov 2020 05:50:20 -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=a52ICVH+xE+6XFb27F1p5fPxl4mBgRlINo5mYgFGiGQ=; b=L05jL7z2ETjWI9KIsm7A5p4VGI9RsHiDec6sbmMFg65N8W/3J2fLj8Gize4e3TKmij HbeGEC+Jkb6BGQy9k6jMszJ5Q2Yv6A/poxxZ+HidxYyMzMaJkyj8FnFRzfP6acpRrLHs +lsvbVezKoAwn4Yc5OmFzXaVssxUlV/nlF/Lz9hJn2Ii2njVhZGF17dwmDo+jxrHzeGY sHe317SIWSifDtomdptySzHypaTbMJCwGEiP7Oork0h5OlGWH5SJS7aef0HgK+9xKWYX /JufKCuIU5fSvai1z4mdUsGZ+Yer6KWirS9w0tDtnpFWcMq0DvfiRETtkERwB6wqBr+L rW4A== 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=a52ICVH+xE+6XFb27F1p5fPxl4mBgRlINo5mYgFGiGQ=; b=UV0iMdwGoxdE76IcZeKsAPD/MlWgHWJMuuUkKbs3CUUPK/daO/LHgOsJOeBkvsqB8+ RegPACR0gTCSQ0ZqsTkYslw9hUwXJqfSSlTNxpLnr7AQgdOgoJISdz4gUftQbqCqHwx+ S5l2UApVvjVYQYQF3R7D4IJY9B3Nn4qLPZ3nuSG3GbR0ksDkJD+D8z8iJQcv2w9lWgMd Ahv+fyzVtuL9pf9URbtZ2mGOscggNSq+a6QRdtmdX8Joe1kH8jpkIomS5CJK/eUNtBX6 8KxGa5/enbMPKWBzCvfIbHJ9mceawVkX46a+3CsGP8C6R2G3oaNDPVWy0+I/suwC1qMy b9yQ== X-Gm-Message-State: AOAM532T4D7Vdvqi/XOztUqWQ0khHsEwLAY0blSfYREtNrpRvFsh/PBB vxyXp+fpy6IH34QrW/OzrP94KA== X-Received: by 2002:adf:e983:: with SMTP id h3mr3474235wrm.382.1605275418913; Fri, 13 Nov 2020 05:50:18 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/40] drm/amd/amdgpu/amdgpu_vm_cpu: Fix 'amdgpu_vm_cpu_prepare()'s doc-rot Date: Fri, 13 Nov 2020 13:49:28 +0000 Message-Id: <20201113134938.4004947-31-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_vm_cpu.c:50: warning: Function parameter or member 'resv' not described in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Function parameter or member 'sync_mode' not described in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'owner' description in 'amdgpu_vm_cpu_prepare' drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'exclusive' description in 'amdgpu_vm_cpu_prepare' 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_vm_cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c index 0786e7555554b..ac45d9c7a4e94 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c @@ -38,8 +38,8 @@ static int amdgpu_vm_cpu_map_table(struct amdgpu_bo *table) * amdgpu_vm_cpu_prepare - prepare page table update with the CPU * * @p: see amdgpu_vm_update_params definition - * @owner: owner we need to sync to - * @exclusive: exclusive move fence we need to sync to + * @resv: reservation object with embedded fence + * @sync_mode: synchronization mode * * Returns: * Negativ errno, 0 for success.