summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_bo.h')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_bo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
index 895d4fb7b5e..48bce54ec2f 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
@@ -93,9 +93,9 @@ struct amdgpu_winsys_bo {
} u;
amdgpu_bo_handle bo; /* NULL for slab entries and sparse buffers */
+ uint64_t va;
uint32_t unique_id;
- uint64_t va;
simple_mtx_t lock;
/* how many command streams, which are being emitted in a separate
@@ -103,8 +103,8 @@ struct amdgpu_winsys_bo {
volatile int num_active_ioctls;
/* Fences for buffer synchronization. */
- unsigned num_fences;
- unsigned max_fences;
+ uint16_t num_fences;
+ uint16_t max_fences;
struct pipe_fence_handle **fences;
struct pb_cache_entry cache_entry[];