* [PATCH] drm/nouveau/mmu: Fix a typo
@ 2022-06-22 1:52 Zhang Jiaming
2022-06-22 2:00 ` Joe Perches
2022-06-22 2:42 ` [PATCH v2] " Zhang Jiaming
0 siblings, 2 replies; 3+ messages in thread
From: Zhang Jiaming @ 2022-06-22 1:52 UTC (permalink / raw)
To: airlied, daniel
Cc: lyude, kherbst, bskeggs, dri-devel, nouveau, linux-kernel,
liqiong, renyu, Zhang Jiaming
There is a typo in comments. Change 'neeed' to 'need'.
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
index 8bf00b396ec1..7d26608491b1 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
@@ -280,7 +280,7 @@ nvkm_vmm_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes)
if (desc->type == SPT && (pgt->refs[0] || pgt->refs[1]))
nvkm_vmm_unref_sptes(it, pgt, desc, ptei, ptes);
- /* PT no longer neeed? Destroy it. */
+ /* PT no longer need? Destroy it. */
if (!pgt->refs[type]) {
it->lvl++;
TRA(it, "%s empty", nvkm_vmm_desc_type(desc));
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] drm/nouveau/mmu: Fix a typo
2022-06-22 1:52 [PATCH] drm/nouveau/mmu: Fix a typo Zhang Jiaming
@ 2022-06-22 2:00 ` Joe Perches
2022-06-22 2:42 ` [PATCH v2] " Zhang Jiaming
1 sibling, 0 replies; 3+ messages in thread
From: Joe Perches @ 2022-06-22 2:00 UTC (permalink / raw)
To: Zhang Jiaming, airlied, daniel
Cc: lyude, kherbst, bskeggs, dri-devel, nouveau, linux-kernel,
liqiong, renyu
On Wed, 2022-06-22 at 09:52 +0800, Zhang Jiaming wrote:
> There is a typo in comments. Change 'neeed' to 'need'.
[]
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
[]
> @@ -280,7 +280,7 @@ nvkm_vmm_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes)
> if (desc->type == SPT && (pgt->refs[0] || pgt->refs[1]))
> nvkm_vmm_unref_sptes(it, pgt, desc, ptei, ptes);
>
> - /* PT no longer neeed? Destroy it. */
> + /* PT no longer need? Destroy it. */
needed
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] drm/nouveau/mmu: Fix a typo
2022-06-22 1:52 [PATCH] drm/nouveau/mmu: Fix a typo Zhang Jiaming
2022-06-22 2:00 ` Joe Perches
@ 2022-06-22 2:42 ` Zhang Jiaming
1 sibling, 0 replies; 3+ messages in thread
From: Zhang Jiaming @ 2022-06-22 2:42 UTC (permalink / raw)
To: airlied, daniel, joe
Cc: lyude, kherbst, bskeggs, dri-devel, nouveau, linux-kernel,
liqiong, renyu, Zhang Jiaming
There is a typo in comments. Change 'neeed' to 'needed'.
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
index 8bf00b396ec1..8b11dfa0998d 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
@@ -280,7 +280,7 @@ nvkm_vmm_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes)
if (desc->type == SPT && (pgt->refs[0] || pgt->refs[1]))
nvkm_vmm_unref_sptes(it, pgt, desc, ptei, ptes);
- /* PT no longer neeed? Destroy it. */
+ /* PT no longer needed? Destroy it. */
if (!pgt->refs[type]) {
it->lvl++;
TRA(it, "%s empty", nvkm_vmm_desc_type(desc));
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-22 2:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-22 1:52 [PATCH] drm/nouveau/mmu: Fix a typo Zhang Jiaming
2022-06-22 2:00 ` Joe Perches
2022-06-22 2:42 ` [PATCH v2] " Zhang Jiaming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox