On Thu, Oct 21, 2021 at 09:44:45AM +0200, Maksym Wezdecki wrote:
From: mwezdeck maksym.wezdecki@collabora.co.uk
The idea behind the commit:
- when resource is created, let user space decide if resource should be pinned or not
- transfer_*_host needs pinned memory. If it is not pinned, then pin it.
- 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