[PATCH] drm/amdkfd: use vma_lookup() instead of find_vma()

2022-10-09 Thread Deming Wang
Using vma_lookup() verifies the start address is contained in the found vma. This results in easier to read the code. Signed-off-by: Deming Wang --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd

[PATCH] drm/amdkfd: use vma_lookup() instead of find_vma()

2022-10-09 Thread Deming Wang
Using vma_lookup() verifies the start address is contained in the found vma. This results in easier to read the code. Signed-off-by: Deming Wang --- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd

[PATCH] drm/amdkfd: use vma_lookup() instead of find_vma()

2022-10-20 Thread Deming Wang
Using vma_lookup() verifies the start address is contained in the found vma. This results in easier to read the code. Signed-off-by: Deming Wang --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd

[PATCH] drm/i915/gvt: fix typo in comment

2023-05-12 Thread Deming Wang
Spelling mistake (triple letters) in comment. Signed-off-by: Deming Wang --- drivers/gpu/drm/i915/gvt/gvt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index 2d65800d8e93..c933e9a1c5ad 100644 --- a/drivers

[PATCH] drm/i915/gem/i915_gem_ttm_move: Fix typo

2024-05-12 Thread Deming Wang
The mapings should be replaced by mappings. Signed-off-by: Deming Wang --- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c index