From: Rob Clark <robin.clark@oss.qualcomm.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org,
Connor Abbott <cwabbott0@gmail.com>,
Antonino Maniscalco <antomani103@gmail.com>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Danilo Krummrich <dakr@kernel.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v7 01/42] drm/gpuvm: Fix doc comments
Date: Wed, 25 Jun 2025 11:46:54 -0700 [thread overview]
Message-ID: <20250625184918.124608-2-robin.clark@oss.qualcomm.com> (raw)
In-Reply-To: <20250625184918.124608-1-robin.clark@oss.qualcomm.com>
Correctly summerize drm_gpuvm_sm_map/unmap, and fix the parameter order
and names. Just something I noticed in passing.
v2: Don't rename the arg names in prototypes to match function
declarations [Danilo]
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
---
drivers/gpu/drm/drm_gpuvm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index f9eb56f24bef..0ca717130541 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -2299,13 +2299,13 @@ __drm_gpuvm_sm_unmap(struct drm_gpuvm *gpuvm,
}
/**
- * drm_gpuvm_sm_map() - creates the &drm_gpuva_op split/merge steps
+ * drm_gpuvm_sm_map() - calls the &drm_gpuva_op split/merge steps
* @gpuvm: the &drm_gpuvm representing the GPU VA space
+ * @priv: pointer to a driver private data structure
* @req_addr: the start address of the new mapping
* @req_range: the range of the new mapping
* @req_obj: the &drm_gem_object to map
* @req_offset: the offset within the &drm_gem_object
- * @priv: pointer to a driver private data structure
*
* This function iterates the given range of the GPU VA space. It utilizes the
* &drm_gpuvm_ops to call back into the driver providing the split and merge
@@ -2349,7 +2349,7 @@ drm_gpuvm_sm_map(struct drm_gpuvm *gpuvm, void *priv,
EXPORT_SYMBOL_GPL(drm_gpuvm_sm_map);
/**
- * drm_gpuvm_sm_unmap() - creates the &drm_gpuva_ops to split on unmap
+ * drm_gpuvm_sm_unmap() - calls the &drm_gpuva_ops to split on unmap
* @gpuvm: the &drm_gpuvm representing the GPU VA space
* @priv: pointer to a driver private data structure
* @req_addr: the start address of the range to unmap
--
2.49.0
next prev parent reply other threads:[~2025-06-25 18:58 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 18:46 [PATCH v7 00/42] drm/msm: sparse / "VM_BIND" support Rob Clark
2025-06-25 18:46 ` Rob Clark [this message]
2025-06-25 18:46 ` [PATCH v7 02/42] drm/gpuvm: Add locking helpers Rob Clark
2025-06-25 18:46 ` [PATCH v7 03/42] drm/gem: Add ww_acquire_ctx support to drm_gem_lru_scan() Rob Clark
2025-06-25 18:46 ` [PATCH v7 04/42] drm/msm: Rename msm_file_private -> msm_context Rob Clark
2025-06-25 18:46 ` [PATCH v7 05/42] drm/msm: Improve msm_context comments Rob Clark
2025-06-25 18:46 ` [PATCH v7 06/42] drm/msm: Rename msm_gem_address_space -> msm_gem_vm Rob Clark
2025-06-25 18:47 ` [PATCH v7 07/42] drm/msm: Remove vram carveout support Rob Clark
2025-06-25 18:47 ` [PATCH v7 08/42] drm/msm: Collapse vma allocation and initialization Rob Clark
2025-06-25 18:47 ` [PATCH v7 09/42] drm/msm: Collapse vma close and delete Rob Clark
2025-06-25 18:47 ` [PATCH v7 10/42] drm/msm: Don't close VMAs on purge Rob Clark
2025-06-25 18:47 ` [PATCH v7 11/42] drm/msm: Stop passing vm to msm_framebuffer Rob Clark
2025-06-25 18:47 ` [PATCH v7 12/42] drm/msm: Refcount framebuffer pins Rob Clark
2025-06-25 18:47 ` [PATCH v7 13/42] drm/msm: drm_gpuvm conversion Rob Clark
2025-06-25 18:47 ` [PATCH v7 14/42] drm/msm: Convert vm locking Rob Clark
2025-06-25 18:47 ` [PATCH v7 15/42] drm/msm: Use drm_gpuvm types more Rob Clark
2025-06-25 18:47 ` [PATCH v7 16/42] drm/msm: Split out helper to get iommu prot flags Rob Clark
2025-06-25 18:47 ` [PATCH v7 17/42] drm/msm: Add mmu support for non-zero offset Rob Clark
2025-06-25 18:47 ` [PATCH v7 18/42] drm/msm: Add PRR support Rob Clark
2025-06-25 18:47 ` [PATCH v7 19/42] drm/msm: Rename msm_gem_vma_purge() -> _unmap() Rob Clark
2025-06-25 18:47 ` [PATCH v7 20/42] drm/msm: Drop queued submits on lastclose() Rob Clark
2025-06-25 18:47 ` [PATCH v7 21/42] drm/msm: Lazily create context VM Rob Clark
2025-06-25 18:47 ` [PATCH v7 22/42] drm/msm: Add opt-in for VM_BIND Rob Clark
2025-06-25 18:47 ` [PATCH v7 23/42] drm/msm: Mark VM as unusable on GPU hangs Rob Clark
2025-06-25 18:47 ` [PATCH v7 24/42] drm/msm: Add _NO_SHARE flag Rob Clark
2025-06-25 18:47 ` [PATCH v7 25/42] drm/msm: Crashdump prep for sparse mappings Rob Clark
2025-06-25 18:47 ` [PATCH v7 26/42] drm/msm: rd dumping " Rob Clark
2025-06-25 18:47 ` [PATCH v7 27/42] drm/msm: Crashdump support for sparse Rob Clark
2025-06-25 18:47 ` [PATCH v7 28/42] drm/msm: rd dumping " Rob Clark
2025-06-25 18:47 ` [PATCH v7 29/42] drm/msm: Extract out syncobj helpers Rob Clark
2025-06-25 18:47 ` [PATCH v7 30/42] drm/msm: Use DMA_RESV_USAGE_BOOKKEEP/KERNEL Rob Clark
2025-06-25 18:47 ` [PATCH v7 31/42] drm/msm: Add VM_BIND submitqueue Rob Clark
2025-06-25 18:47 ` [PATCH v7 32/42] drm/msm: Support IO_PGTABLE_QUIRK_NO_WARN_ON Rob Clark
2025-06-25 18:47 ` [PATCH v7 33/42] drm/msm: Support pgtable preallocation Rob Clark
2025-06-25 18:47 ` [PATCH v7 34/42] drm/msm: Split out map/unmap ops Rob Clark
2025-06-25 18:47 ` [PATCH v7 35/42] drm/msm: Add VM_BIND ioctl Rob Clark
2025-06-25 18:47 ` [PATCH v7 36/42] drm/msm: Add VM logging for VM_BIND updates Rob Clark
2025-06-25 18:47 ` [PATCH v7 37/42] drm/msm: Add VMA unmap reason Rob Clark
2025-06-25 18:47 ` [PATCH v7 38/42] drm/msm: Add mmu prealloc tracepoint Rob Clark
2025-06-25 18:47 ` [PATCH v7 39/42] drm/msm: use trylock for debugfs Rob Clark
2025-06-25 18:47 ` [PATCH v7 40/42] drm/msm: Bump UAPI version Rob Clark
2025-06-25 18:47 ` [PATCH v7 41/42] drm/msm: Defer VMA unmap for fb unpins Rob Clark
2025-06-25 18:47 ` [PATCH v7 42/42] drm/msm: Add VM_BIND throttling Rob Clark
2025-06-28 13:32 ` [PATCH v7 00/42] drm/msm: sparse / "VM_BIND" support Antonino Maniscalco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250625184918.124608-2-robin.clark@oss.qualcomm.com \
--to=robin.clark@oss.qualcomm.com \
--cc=airlied@gmail.com \
--cc=antomani103@gmail.com \
--cc=cwabbott0@gmail.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®