[igt-dev] [PATCH i-g-t 1/9] lib/intel_allocator: Fix argument names in declarations
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Fri Aug 13 07:46:55 UTC 2021
From: Andrzej Turko <andrzej.turko at linux.intel.com>
Unify the argument names to avoid confusion.
Signed-off-by: Andrzej Turko <andrzej.turko at linux.intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
lib/intel_allocator.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/intel_allocator.h b/lib/intel_allocator.h
index f6511ffbf..e8d807f9a 100644
--- a/lib/intel_allocator.h
+++ b/lib/intel_allocator.h
@@ -145,13 +145,13 @@ struct intel_allocator {
uint64_t size, uint64_t alignment,
enum allocator_strategy strategy);
bool (*is_allocated)(struct intel_allocator *ial, uint32_t handle,
- uint64_t size, uint64_t alignment);
+ uint64_t size, uint64_t offset);
bool (*reserve)(struct intel_allocator *ial,
- uint32_t handle, uint64_t start, uint64_t size);
+ uint32_t handle, uint64_t start, uint64_t end);
bool (*unreserve)(struct intel_allocator *ial,
- uint32_t handle, uint64_t start, uint64_t size);
+ uint32_t handle, uint64_t start, uint64_t end);
bool (*is_reserved)(struct intel_allocator *ial,
- uint64_t start, uint64_t size);
+ uint64_t start, uint64_t end);
bool (*free)(struct intel_allocator *ial, uint32_t handle);
void (*destroy)(struct intel_allocator *ial);
--
2.26.0
More information about the igt-dev
mailing list