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

Michel Dänzer michel at daenzer.net
Tue Jul 3 08:28:16 UTC 2018


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.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list