From: Chris Wilson
If we run out of stolen memory when trying to allocate an object, see if
we can reap enough purgeable objects to free up enough contiguous free
space for the allocation. This is in principle very much like evicting
objects to free up enough contiguous space in the vma when bind
On Mon, 2014-04-07 at 20:01 +, Rodrigo Vivi wrote:
> From: Chris Wilson
>
> If we run out of stolen memory when trying to allocate an object, see if
> we can reap enough purgeable objects to free up enough contiguous free
> space for the allocation. This is in principle very much like evictin
On Tue, Apr 08, 2014 at 04:32:02AM +, Gupta, Sourab wrote:
> Hi Rodrigo,
> In this patch, while freeing the purgeable stolen object, the memory
> node also has to be freed, so as to make space for new object. We need
> to call drm_mm_remove_node while freeing obj.
>
> The below modification pa
On Tue, 2014-04-08 at 06:45 +, Chris Wilson wrote:
> On Tue, Apr 08, 2014 at 04:32:02AM +, Gupta, Sourab wrote:
> > Hi Rodrigo,
> > In this patch, while freeing the purgeable stolen object, the memory
> > node also has to be freed, so as to make space for new object. We need
> > to call drm
On Tue, Apr 08, 2014 at 06:53:03AM +, Gupta, Sourab wrote:
> On Tue, 2014-04-08 at 06:45 +, Chris Wilson wrote:
> > On Tue, Apr 08, 2014 at 04:32:02AM +, Gupta, Sourab wrote:
> > > Hi Rodrigo,
> > > In this patch, while freeing the purgeable stolen object, the memory
> > > node also has
On Wed, 2014-04-09 at 13:06 +, Daniel Vetter wrote:
> On Tue, Apr 08, 2014 at 06:53:03AM +, Gupta, Sourab wrote:
> > On Tue, 2014-04-08 at 06:45 +, Chris Wilson wrote:
> > > On Tue, Apr 08, 2014 at 04:32:02AM +, Gupta, Sourab wrote:
> > > > Hi Rodrigo,
> > > > In this patch, while f
On Thu, Apr 10, 2014 at 10:12:39AM +, Gupta, Sourab wrote:
> On Wed, 2014-04-09 at 13:06 +, Daniel Vetter wrote:
> > On Tue, Apr 08, 2014 at 06:53:03AM +, Gupta, Sourab wrote:
> > > On Tue, 2014-04-08 at 06:45 +, Chris Wilson wrote:
> > > > On Tue, Apr 08, 2014 at 04:32:02AM +,
On Fri, 2014-04-11 at 08:55 +, Daniel Vetter wrote:
> On Thu, Apr 10, 2014 at 10:12:39AM +, Gupta, Sourab wrote:
> > On Wed, 2014-04-09 at 13:06 +, Daniel Vetter wrote:
> > > On Tue, Apr 08, 2014 at 06:53:03AM +, Gupta, Sourab wrote:
> > > > On Tue, 2014-04-08 at 06:45 +, Chris