Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp589596pxb; Thu, 12 Nov 2020 11:04:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk75ORWyqMtWt+I+C8v3f45eUlN6TakpDDuJg2GJ0PKs2kTpkL+0nATK0Gkc1Cn1nF5siQ X-Received: by 2002:a17:906:1c8f:: with SMTP id g15mr726564ejh.179.1605207891825; Thu, 12 Nov 2020 11:04:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207891; cv=none; d=google.com; s=arc-20160816; b=cWri5DnkqDkHCSqHmGTHINxKrki9TS3VRTfEZAaJ514NVe79nK8J9lo3GsnV613+Ok 2BIYld3Tepe+STqUCEyRnIeYHxwJ8oxIKYWZ0bjAnU2z6VxCu8KgM4HoTopAXxS3yhUn 4BevSxdFEd+eKXnqgXW54uAjWiNQocKCBIvNfpK0LCUWi9Rtw6tiEPyV1XLQErH9LTJU pzz4zuhQOHxqvlwFXQrMmzSjNlHYlqell+DrbgupjUfrqqjvImFD/9fP1mkbaa2bKpx2 3ktdYwuct2y2lniuay+12uRr/R5ejEiG9ZWO4lVEDMmdXQwrED7T7JPydi1JGemyI2pN ZA6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xZd7d6xqls8jDl+M8ybA/csJQ/XOet7ACTV4JHLbfR4=; b=fRIzRU0b2L+YLlIT7WRd+pym30RvRJoa1AHmG8j5OajofttvKpVeWAs3flGXlkopeL jOA7eY+E6IKCkh1PYTvGAmenSIC5lrZwYu8XIeeWwZE7rPGxU9HQ8cUL6PFioGzomsbu BhLBtvCGdkT8otsRc8NHOvDqsgtNrBRqc3A3FzKV+nUuGEdyzoEWE1tbM0tt3+/vaOk/ 5mOz2xLOsv4/MVPWY1640zJsIYXjrNpHhy2oij3OSL9EeN4aFSQOlJ8FrQdh40kj7E1g TIJOCYE27u7VC+WAiJ2U5q9pqyGQ41xz519eU+6c6CDqk6EMwEIj1mOVBrO8Mfkyhb+S v4vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JKv9Y9oU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si4512033eje.314.2020.11.12.11.04.28; Thu, 12 Nov 2020 11:04:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JKv9Y9oU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727003AbgKLTCS (ORCPT + 99 others); Thu, 12 Nov 2020 14:02:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgKLTBt (ORCPT ); Thu, 12 Nov 2020 14:01:49 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D5C5C0613D1 for ; Thu, 12 Nov 2020 11:01:49 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id d142so6188276wmd.4 for ; Thu, 12 Nov 2020 11:01: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=xZd7d6xqls8jDl+M8ybA/csJQ/XOet7ACTV4JHLbfR4=; b=JKv9Y9oU0JhE2143HXtvB0mFtf5ERN77Q+DLf+PeSGB5sCN2dC7AZILVbxIh31xHSc 8k1pm/1KJOEo3/ArxZJ8DKvzExo09zMPG4iXTqFFGnj8nrSFCh7c7sq4z79vWFjaCUhF cu4fJW1K//nCA7e7k0RRLxi0M51e5DxMihSLptphtScOCeHe/hfDg4S0voMBktpD+0/i JZEIwYVDd4b7qpIp1CcSn8FE9VB/WPm1Sm4sIHFjeDyxvJKAuMC+KMKBxCwuGgwTwt+K hE4wStSmmI2U1HpMNaEeHCn09SRh/SW0rrv3fFBLfXRzIfDor1UtNowtcSPSrC1A1GO8 Lplw== 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=xZd7d6xqls8jDl+M8ybA/csJQ/XOet7ACTV4JHLbfR4=; b=b51xsyZUVbnMaFlwDnFa5JyxyeNZhpokfmphrKLHauNi8ej2IkqY/ffhIOOagUh28Y h9/3RpqnY1SzNFwn4DAxHSOjclUxl6QrjJl7F4n4YMvu8PgyhW2WaH1BhEHD4a1+57eD ieiqYYIlkXb+Gn5M0+3dgN1N7BM7snpD0XVKe1Ej43Pp3W6JHrBv3fZxK1HdnBkXTXwl ep1yem6EKRDEocJGN8ybBvsILOGPHUP/KeF6CNOwwN9Dt93GGCu/hhtk6WrJBp5lhPdi F5Av4s3Eyt8DlMQdfbaDvW113kDg7ssarGHLLwFJn3KpgNu28sfL9imchUDI2dCJzXKQ PkJg== X-Gm-Message-State: AOAM5339EJOYI5ZlILvVNIb11caMcBRHHjJiOHDva6Uno+zACMb08i2i WX+0EcS6A1b4wu09HqHLEGo/fw== X-Received: by 2002:a1c:dd06:: with SMTP id u6mr1084482wmg.155.1605207684974; Thu, 12 Nov 2020 11:01:24 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , Jerome Glisse , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 19/30] drm/amd/amdgpu/amdgpu_cs: Add a couple of missing function param descriptions Date: Thu, 12 Nov 2020 19:00:28 +0000 Message-Id: <20201112190039.2785914-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:685: warning: Function parameter or member 'backoff' not described in 'amdgpu_cs_parser_fini' drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1655: warning: Function parameter or member 'map' not described in 'amdgpu_cs_find_mapping' 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_cs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 8d2878e950dab..594a0108e90fa 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -676,6 +676,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p) * cs_parser_fini() - clean parser states * @parser: parser structure holding parsing context. * @error: error number + * @backoff: indicator to backoff the reservation * * If error is set than unvalidate buffer, otherwise just free memory * used by parsing context. @@ -1644,6 +1645,7 @@ int amdgpu_cs_wait_fences_ioctl(struct drm_device *dev, void *data, * @parser: command submission parser context * @addr: VM address * @bo: resulting BO of the mapping found + * @map: Placeholder to return found BO mapping * * Search the buffer objects in the command submission context for a certain * virtual memory address. Returns allocation structure when found, NULL -- 2.25.1