But how to handle the semaphore wait in the vkQueuePresentkHR? Thanks. Best Regards, David -----Original Message----- From: Dave Airlie [mailto:airlied@xxxxxxxxx] Sent: Wednesday, April 12, 2017 10:44 AM To: Mao, David <David.Mao at amd.com> Cc: amd-gfx at lists.freedesktop.org; dri-devel at lists.freedesktop.org Subject: Re: [PATCH 8/8] amdgpu: use sync file for shared semaphores (v2.1) On 12 April 2017 at 12:36, Mao, David <David.Mao at amd.com> wrote: > Does it means we have to submit command to trigger the semaphore wait/signal? Yes, but I think that should be fine, we need to submit a job to the scheduler to get the waits to happen or to have a fence to fill into the signals. Dave.