[PATCH] drm: use correct name in comment

2023-10-24 Thread Kenjiro Nakayama
As drm_vma_node_is_allowed() searches @tag in the list, this patch corrects the comment. Signed-off-by: Kenjiro Nakayama --- drivers/gpu/drm/drm_vma_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_vma_manager.c b/drivers/gpu/drm

[PATCH] drm/ttm: Remove comment about kfree for bo->destroy

2023-10-24 Thread Kenjiro Nakayama
Since the kfree handling was removed[1], this patch removes the instruction comment. [1] 3507932390bb drm/ttm: move default BO destructor into VMWGFX v2 Signed-off-by: Kenjiro Nakayama --- drivers/gpu/drm/ttm/ttm_bo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH] drm/ttm: Fix comment about return value of ttm_tt_init

2023-10-24 Thread Kenjiro Nakayama
ttm_tt_init returns -ENOMEM when out of memory. Signed-off-by: Kenjiro Nakayama --- include/drm/ttm/ttm_tt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h index a4eff85b1f44..243232be87b8 100644 --- a/include/drm/ttm