I've attached two patches for RFC at the moment, I haven't finished the userspace for these yet, but just wanted to get some ideas/feedback. Dave. On 9 March 2017 at 13:52, Dave Airlie <airlied at gmail.com> wrote: > On 28 February 2017 at 11:46, zhoucm1 <david1.zhou at amd.com> wrote: >> Hi Dave, >> >> The attached is our semaphore implementation, amdgpu_cs.c is drm file, the >> others are kernel file. >> Any suggestion? > Thanks, > > I've built a tree with all these in it, and started looking into the interface. > > I do wonder if we need the separate sem signal/wait interface, I think > we should just add > semaphore chunks to the CS interface. > > I'm just playing around with this now. > > Dave. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-amdgpu-cs-split-out-fence-dependency-checking.patch Type: text/x-patch Size: 3309 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170309/ac668807/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-RFC-drm-amdgpu-add-shared-semaphores-support.patch Type: text/x-patch Size: 20535 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170309/ac668807/attachment-0003.bin>