[PATCH] drm/xe: update outdated reference to xe_pt_commit_bind()

Kexin Sun posted 1 patch 1 week, 6 days ago
drivers/gpu/drm/xe/xe_pt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] drm/xe: update outdated reference to xe_pt_commit_bind()
Posted by Kexin Sun 1 week, 6 days ago
The function xe_pt_commit_bind() was split into
xe_pt_commit_prepare_bind(), xe_pt_commit(), and
xe_pt_abort_bind() by commit a708f6501c69 ("drm/xe: Update
PT layer with better error handling").  Update the stale
reference in xe_pt_stage_bind() to list the two functions
that now perform the cpu-side page-table connection.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
 drivers/gpu/drm/xe/xe_pt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c
index 13b355fadd58..8f00e6454721 100644
--- a/drivers/gpu/drm/xe/xe_pt.c
+++ b/drivers/gpu/drm/xe/xe_pt.c
@@ -686,7 +686,8 @@ static bool xe_atomic_for_system(struct xe_vm *vm, struct xe_vma *vma)
  *
  * This function builds a disconnected page-table tree for a given address
  * range. The tree is connected to the main vm tree for the gpu using
- * xe_migrate_update_pgtables() and for the cpu using xe_pt_commit_bind().
+ * xe_migrate_update_pgtables() and for the cpu using
+ * xe_pt_commit_prepare_bind() and xe_pt_commit().
  * The function builds xe_vm_pgtable_update structures for already existing
  * shared page-tables, and non-existing shared and non-shared page-tables
  * are built and populated directly.
-- 
2.25.1