Searched refs:wait_idle (Results 1 – 2 of 2) sorted by relevance
688 union drm_amdgpu_gem_wait_idle wait_idle = { { 0 } }; in amdgpu_bo_invalidate() local693 wait_idle.in.handle = bo->handles[0].u32; in amdgpu_bo_invalidate()694 wait_idle.in.timeout = AMDGPU_TIMEOUT_INFINITE; in amdgpu_bo_invalidate()696 ret = drmCommandWriteRead(bo->drv->fd, DRM_AMDGPU_GEM_WAIT_IDLE, &wait_idle, in amdgpu_bo_invalidate()697 sizeof(wait_idle)); in amdgpu_bo_invalidate()704 if (ret == 0 && wait_idle.out.status) in amdgpu_bo_invalidate()
685 void wait_idle () in wait_idle() function in workq3011 scanq.wait_idle(); // don't start a new traversal while scanners haven't finished the job in thread_main_fts_source_paths()3177 scanq.wait_idle(); // PR25394: block scanners during grooming! in thread_main_groom()