mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
radv/winsys: remove radv_amdgpu_winsys_bo::is_shared
This has never been used. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14287>
This commit is contained in:
parent
847048fa24
commit
030daf80b5
2 changed files with 0 additions and 4 deletions
|
|
@ -498,7 +498,6 @@ radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws, uint64_t size, unsigned
|
|||
bo->bo = buf_handle;
|
||||
bo->base.initial_domain = initial_domain;
|
||||
bo->base.use_global_list = bo->base.is_local;
|
||||
bo->is_shared = false;
|
||||
bo->priority = priority;
|
||||
|
||||
r = amdgpu_bo_export(buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
|
||||
|
|
@ -721,7 +720,6 @@ radv_amdgpu_winsys_bo_from_fd(struct radeon_winsys *_ws, int fd, unsigned priori
|
|||
bo->base.initial_domain = initial;
|
||||
bo->base.use_global_list = false;
|
||||
bo->size = result.alloc_size;
|
||||
bo->is_shared = true;
|
||||
bo->priority = priority;
|
||||
|
||||
r = amdgpu_bo_export(result.buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
|
||||
|
|
@ -761,7 +759,6 @@ radv_amdgpu_winsys_get_fd(struct radeon_winsys *_ws, struct radeon_winsys_bo *_b
|
|||
return false;
|
||||
|
||||
*fd = (int)handle;
|
||||
bo->is_shared = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ struct radv_amdgpu_winsys_bo {
|
|||
/* physical bo */
|
||||
struct {
|
||||
amdgpu_bo_handle bo;
|
||||
bool is_shared;
|
||||
uint32_t bo_handle;
|
||||
};
|
||||
/* virtual bo */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue