From 50097ffae046582e89ca7ae7bf8e7178cd2e65a3 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sun, 13 Nov 2022 14:17:00 +0100 Subject: [PATCH] gallium: correctly name the flags of svm_migrate Signed-off-by: Karol Herbst Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/include/pipe/p_context.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index dd4529f0251..2d50cae3bfe 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -1006,11 +1006,12 @@ struct pipe_context { * * \param to_device - true if the virtual memory is migrated to the device * false if the virtual memory is migrated to the host - * \param migrate_content - whether the content should be migrated as well + * \param content_undefined - whether the content of the migrated memory + * is undefined after migration */ void (*svm_migrate)(struct pipe_context *context, unsigned num_ptrs, const void* const* ptrs, const size_t *sizes, - bool to_device, bool migrate_content); + bool to_device, bool content_undefined); /*@}*/ /**