The function acquire_packet_buffer() was renamed
kq_acquire_packet_buffer() by commit a5a4d68c9326 ("drm/amdkfd:
Eliminate unnecessary kernel queue function pointers").  Update
the comment accordingly.

Signed-off-by: Julia Lawall <[email protected]>

---
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c 
b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
index fb3129883a4c..ee8e1216c526 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
@@ -256,7 +256,7 @@ int kq_acquire_packet_buffer(struct kernel_queue *kq,
        if (packet_size_in_dwords > available_size) {
                /*
                 * make sure calling functions know
-                * acquire_packet_buffer() failed
+                * kq_acquire_packet_buffer() failed
                 */
                goto err_no_space;
        }

Reply via email to