Re: [Intel-gfx] [PATCH] drm/i915: Fix ordering of unbind vs unpin pages

2013-12-04 Thread Daniel Vetter
On Wed, Dec 04, 2013 at 09:59:09AM +, Chris Wilson wrote: > It is useful to assert that if the object is bound, then it must have > its pages pinned to prevent the shrinker from reaping its backing store. > This is even more useful with the introduction of real-ppgtt whereupon > we may have the

[Intel-gfx] [PATCH] drm/i915: Fix ordering of unbind vs unpin pages

2013-12-04 Thread Chris Wilson
It is useful to assert that if the object is bound, then it must have its pages pinned to prevent the shrinker from reaping its backing store. This is even more useful with the introduction of real-ppgtt whereupon we may have the object bound into several vma, with each instance pinning the backing

Re: [Intel-gfx] [PATCH] drm/i915: Fix ordering of unbind vs unpin pages

2013-12-03 Thread Ben Widawsky
On Mon, Dec 02, 2013 at 10:08:02AM +, Chris Wilson wrote: > It is useful to assert that if the object is bound, then it must have > its pages pinned to prevent the shrinker from reaping its backing store. > This is even more useful with the introduction of real-ppgtt whereupon > we may have the

[Intel-gfx] [PATCH] drm/i915: Fix ordering of unbind vs unpin pages

2013-12-02 Thread Chris Wilson
It is useful to assert that if the object is bound, then it must have its pages pinned to prevent the shrinker from reaping its backing store. This is even more useful with the introduction of real-ppgtt whereupon we may have the object bound into several vma, with each instance pinning the backing