On Thu, Oct 21, 2021 at 09:44:45AM +0200, Maksym Wezdecki wrote: > From: mwezdeck <maksym.wezde...@collabora.co.uk> > > The idea behind the commit: > 1. when resource is created, let user space decide > if resource should be pinned or not > 2. transfer_*_host needs pinned memory. If it is not > pinned, then pin it. > 3. during execbuffer, decide which bo handles should > be pinned based on the list provided by user space
When you never need cpu access to your gpu object there is no need to create a resource in the first place. take care, Gerd