Shared semaphores for amdgpu

zhoucm1 david1.zhou at amd.com
Thu Mar 9 07:00:22 UTC 2017


Hi Dave,

We have already completed implementation as the attached for both kernel 
and libdrm. We discuss it on top of this.


Thanks,
David Zhou

On 2017年03月09日 12:24, Dave Airlie wrote:
> 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-drm-amdgpu-add-new-semaphore-object-in-kernel-side-V.patch
Type: text/x-patch
Size: 21077 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170309/6e456083/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-amdgpu-add-new-semaphore-support-v2.patch
Type: text/x-patch
Size: 9290 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170309/6e456083/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-test-case-for-export-import-sem.patch
Type: text/x-patch
Size: 7205 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170309/6e456083/attachment-0005.bin>


More information about the amd-gfx mailing list