Message ID | 20230317081718.2650744-6-lee@kernel.org |
---|---|
State | New |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013658wrv; Tue, 21 Mar 2023 23:22:18 -0700 (PDT) X-Google-Smtp-Source: AK7set84sbzUhSHT8YAOan2MOncqyNeL7Qc4b/ToAaQDP8/l7sJWo4kB0OyrQ2tR6aFM1ZnLYxag X-Received: by 2002:ac8:7f0a:0:b0:3bf:d50b:4967 with SMTP id f10-20020ac87f0a000000b003bfd50b4967mr3870879qtk.43.1679466137987; Tue, 21 Mar 2023 23:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466137; cv=none; d=google.com; s=arc-20160816; b=t0PfmhFrlPr2y29hPyrZswuMd5y6JpPn2a1hGYKVSn6bh6420I/76ZEhsWAug0YAdF Tf6gTI/XWlXT3p9vg2ulQ2ZprJoHhIk3GajGv087z0yk0GL5HLNBzXKp5IDQBj4L7C3v 0GaOLp13LdGMN7khG4enXMX8V4T+U0F6dQ9Klau3RkGKY7r+mBCA3tW4k2UGjcFtOJgQ 5eG65qzHrfCtRR0xECrYPPUIvhNnS5h4w+JxxG3ZZjislZxRdbtnFLNBctih+WNSKAje +9vLkHn2MDcdyGLEBc7hpUDSi0DS4wtk4ErZsLw6zA7u2Gvz74dtrRCmABPy64wknrhw nb9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:list-unsubscribe:list-subscribe:list-post :list-owner:list-help:list-archive:archived-at:list-id:subject :precedence:cc:message-id-hash:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=WSJwlclaDNd6lA67VQxvvQOc4mG8DfuAOWhQlICG020=; b=fDDXHEyauHifv3Tt4c/2trBFXqDKOqdR/prExMGdJdew8DAaXGZ05fV1hdnvgNnYA+ jNWut8pkh1MHt8IJ237EjXD/TzxU2NAEKhTaoN6C1Xs5T+E6kIJiYRSFXD4uFGEfgaQQ 0jX1OwLkVjTNCkU4mSYYukHMTGAnMTEbaO1VQizYEDhfCPrGnMLjk0nCnSz0rDQ1DRzA nq/mtRzyv3Jk6pZV5+WGTdeEk5n72AuP7ykcLsbARPSZnCPKwQg/ZyU8pjMaEoRzYqTw gGs0dukDxFdxxGm5CxMFCwFpE+fxBc028/aOYQeE+3hKOxuBTOiYz1gRyk00CJXZ5wn0 xz5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=eFRtBGLR; spf=pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) smtp.mailfrom="linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [3.208.193.21]) by mx.google.com with ESMTPS id t31-20020a05622a181f00b003b6953fbb9asi9595432qtc.348.2023.03.21.23.22.17 for <patches@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) client-ip=3.208.193.21; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=eFRtBGLR; spf=pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) smtp.mailfrom="linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from lists.linaro.org (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 9A818443E2 for <patches@linaro.org>; Wed, 22 Mar 2023 06:22:17 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lists.linaro.org (Postfix) with ESMTPS id 4B2FF3F47A for <linaro-mm-sig@lists.linaro.org>; Fri, 17 Mar 2023 08:22:31 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=eFRtBGLR; spf=pass (lists.linaro.org: domain of lee@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=lee@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EB4A562226; Fri, 17 Mar 2023 08:22:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C360DC4339E; Fri, 17 Mar 2023 08:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041350; bh=8O4QuVXZ8A7FPD2U3Nkc5z3et0F4wiZvDMcIjCSnRrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eFRtBGLRKjUcF/Fmcq6iLIf9PZnd5LDpEdzQ9XUtmPUJ6sRagbrGGRXpHaG3imHGH Bq3kM6SuDzu3PbLQKYsvXgQ9ZJBXzvILzNflaVdYCFPjyb8eSaZC8pxiVXApiPx0g4 McOn9BZAEk+AUF2P5lJvaWoLBUqz1ssWQ5etAFp2Wwz/ADI/wifmPBDzTXscksQkQ/ yFjpejbFkT/DFTau934rCipSLC8TGVDmvUnPK6fVA8+qNQ3AUJdPd3tZNwQf/zgbrk U84/OY2UlThW72APAY69ocE46xCcN/HptNhEl0IySSBcRxOliPNW79TLQtGTfA/zA5 gjipHLcERZYyw== From: Lee Jones <lee@kernel.org> To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:46 +0000 Message-Id: <20230317081718.2650744-6-lee@kernel.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230317081718.2650744-1-lee@kernel.org> References: <20230317081718.2650744-1-lee@kernel.org> MIME-Version: 1.0 X-Rspamd-Action: no action X-Rspamd-Server: lists.linaro.org X-Rspamd-Queue-Id: 4B2FF3F47A X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[kernel.org,none]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[kernel.org:s=k20201202]; R_SPF_ALLOW(-0.20)[+a:dfw.source.kernel.org:c]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:54825, ipnet:139.178.80.0/21, country:US]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_HAM(-0.00)[-0.991]; RCPT_COUNT_SEVEN(0.00)[10]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; URIBL_BLOCKED(0.00)[amd.com:email,lists.freedesktop.org:email,ffwll.ch:email,linaro.org:email,dfw.source.kernel.org:rdns,dfw.source.kernel.org:helo]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[kernel.org:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,amd.com,gmail.com,ffwll.ch,linaro.org,lists.linaro.org]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-MailFrom: lee@kernel.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: UGI5C3AVGH2IBTKTY7WTDKV3T6F5DBN2 X-Message-ID-Hash: UGI5C3AVGH2IBTKTY7WTDKV3T6F5DBN2 X-Mailman-Approved-At: Wed, 22 Mar 2023 06:21:07 +0000 CC: linux-kernel@vger.kernel.org, Christian Koenig <christian.koenig@amd.com>, Huang Rui <ray.huang@amd.com>, Daniel Vetter <daniel@ffwll.ch>, Sumit Semwal <sumit.semwal@linaro.org>, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [Linaro-mm-sig] [PATCH 05/37] drm/ttm/ttm_bo: Provide a missing 'bulk' description and correct misnaming of 'placement' List-Id: "Unified memory management interest group." <linaro-mm-sig.lists.linaro.org> Archived-At: <https://lists.linaro.org/archives/list/linaro-mm-sig@lists.linaro.org/message/UGI5C3AVGH2IBTKTY7WTDKV3T6F5DBN2/> List-Archive: <https://lists.linaro.org/archives/list/linaro-mm-sig@lists.linaro.org/> List-Help: <mailto:linaro-mm-sig-request@lists.linaro.org?subject=help> List-Owner: <mailto:linaro-mm-sig-owner@lists.linaro.org> List-Post: <mailto:linaro-mm-sig@lists.linaro.org> List-Subscribe: <mailto:linaro-mm-sig-join@lists.linaro.org> List-Unsubscribe: <mailto:linaro-mm-sig-leave@lists.linaro.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
None
|
expand
|
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 459f1b4440daa..d056d28f8758a 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -84,6 +84,7 @@ EXPORT_SYMBOL(ttm_bo_move_to_lru_tail); * ttm_bo_set_bulk_move - update BOs bulk move object * * @bo: The buffer object. + * @bulk: bulk move structure * * Update the BOs bulk move object, making sure that resources are added/removed * as well. A bulk move allows to move many resource on the LRU at once, @@ -748,7 +749,7 @@ static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo, * * @bo: Pointer to a struct ttm_buffer_object. the data of which * we want to allocate space for. - * @proposed_placement: Proposed new placement for the buffer object. + * @placement: Proposed new placement for the buffer object. * @mem: A struct ttm_resource. * @ctx: if and how to sleep, lock buffers and alloc memory *
'bulk' description taken from another in the same file. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_bo.c:98: warning: Function parameter or member 'bulk' not described in 'ttm_bo_set_bulk_move' drivers/gpu/drm/ttm/ttm_bo.c:768: warning: Function parameter or member 'placement' not described in 'ttm_bo_mem_space' drivers/gpu/drm/ttm/ttm_bo.c:768: warning: Excess function parameter 'proposed_placement' description in 'ttm_bo_mem_space' Cc: Christian Koenig <christian.koenig@amd.com> Cc: Huang Rui <ray.huang@amd.com> Cc: David Airlie <airlied@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Sumit Semwal <sumit.semwal@linaro.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 <lee@kernel.org> --- drivers/gpu/drm/ttm/ttm_bo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)