mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
winsys/radeon: use os_wait_until_zero in radeon_bo_set_tiling
This commit is contained in:
parent
f1be3d8cdd
commit
fc2726e4af
1 changed files with 1 additions and 3 deletions
|
|
@ -778,9 +778,7 @@ static void radeon_bo_set_tiling(struct pb_buffer *_buf,
|
|||
cs->flush_cs(cs->flush_data, 0, NULL);
|
||||
}
|
||||
|
||||
while (p_atomic_read(&bo->num_active_ioctls)) {
|
||||
sched_yield();
|
||||
}
|
||||
os_wait_until_zero(&bo->num_active_ioctls, PIPE_TIMEOUT_INFINITE);
|
||||
|
||||
if (microtiled == RADEON_LAYOUT_TILED)
|
||||
args.tiling_flags |= RADEON_TILING_MICRO;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue