diff options
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h index 147e4b23b9b..c2edf4f46dc 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h @@ -42,6 +42,10 @@ struct amdgpu_cs; struct amdgpu_winsys { struct pipe_reference reference; + + /* File descriptor which was passed to amdgpu_device_initialize */ + int fd; + struct pb_cache bo_cache; /* Each slab buffer can only contain suballocations of equal sizes, so we |