[PATCH v2] drm/amdgpu: Reserve shared fence slot in amdgpu_vm_update_directories

Zhang, Jerry (Junwei) Jerry.Zhang at amd.com
Tue Jul 3 08:37:21 UTC 2018


On 07/03/2018 04:28 PM, Michel Dänzer wrote:
> On 2018-07-03 10:12 AM, Zhang, Jerry (Junwei) wrote:
>>
>> BTW, reservation_object_reserve_shared() will extend the max num as 2
>> times if it's not enough.
>> (default value is 4)
>
> That's an implementation detail and depends on the circumstances. The
> only guarantee is that there's space for at least one fence after
> calling reservation_object_reserve_shared, until
> reservation_object_add_shared_fence is called.

yes, it's a bit more detail discussion about that.
Anyway, it should reserve at least one for shared reservation.
Let's back to the upper level discussion.

Jerry

>
>


More information about the amd-gfx mailing list