iris: Fix the prototype for iris_bo_alloc_tiled
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Dec 2018 07:05:14 +0000 (23:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
This now matches the actual function in iris_bufmgr.c, as well as the
equivalent brw_bufmgr.c function...

src/gallium/drivers/iris/iris_bufmgr.h

index 92c755c91f65120e57296277291893c2d5b4d5b4..c8fd6af7216337261a5cd0d6f4f09e3415b3bc50 100644 (file)
@@ -218,10 +218,10 @@ struct iris_bo *iris_bo_alloc(struct iris_bufmgr *bufmgr,
 struct iris_bo *iris_bo_alloc_tiled(struct iris_bufmgr *bufmgr,
                                     const char *name,
                                     uint64_t size,
+                                    enum iris_memory_zone memzone,
                                     uint32_t tiling_mode,
                                     uint32_t pitch,
-                                    unsigned flags,
-                                    enum iris_memory_zone memzone);
+                                    unsigned flags);
 
 struct iris_bo *
 iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name,