making a COW mapping on the fly from existing vma

2016-04-18 Thread Jerome Glisse
On Sat, Apr 16, 2016 at 06:18:38AM +1000, Dave Airlie wrote: > This was just a random thought process I was having last night, and > wondered if it was possible. > > We have a scenario with OpenGL where certain APIs hand large amounts > of data from the user to the API and when you return from the

making a COW mapping on the fly from existing vma

2016-04-16 Thread Dave Airlie
This was just a random thought process I was having last night, and wondered if it was possible. We have a scenario with OpenGL where certain APIs hand large amounts of data from the user to the API and when you return from the API call the user can then free/overwrite/do whatever they want with t