Re: [Intel-gfx] [PATCH] drm/i915: Fix obj->map_and_fenceable across tiling changes

2014-11-07 Thread Jani Nikula
On Fri, 07 Nov 2014, Chris Wilson wrote: > On Fri, Nov 07, 2014 at 11:05:05AM +0100, Daniel Vetter wrote: >> On Thu, Nov 06, 2014 at 08:40:35AM +, Chris Wilson wrote: >> > As obj->map_and_fenceable computation has changed to only be set when >> > the object is bound inside the global GTT (and

Re: [Intel-gfx] [PATCH] drm/i915: Fix obj->map_and_fenceable across tiling changes

2014-11-07 Thread Chris Wilson
On Fri, Nov 07, 2014 at 11:05:05AM +0100, Daniel Vetter wrote: > On Thu, Nov 06, 2014 at 08:40:35AM +, Chris Wilson wrote: > > As obj->map_and_fenceable computation has changed to only be set when > > the object is bound inside the global GTT (and is suitable aligned to a > > fence region) we n

Re: [Intel-gfx] [PATCH] drm/i915: Fix obj->map_and_fenceable across tiling changes

2014-11-07 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 08:40:35AM +, Chris Wilson wrote: > As obj->map_and_fenceable computation has changed to only be set when > the object is bound inside the global GTT (and is suitable aligned to a > fence region) we need to accommodate those changes when the tiling is > adjusted. The eas

[Intel-gfx] [PATCH] drm/i915: Fix obj->map_and_fenceable across tiling changes

2014-11-06 Thread Chris Wilson
As obj->map_and_fenceable computation has changed to only be set when the object is bound inside the global GTT (and is suitable aligned to a fence region) we need to accommodate those changes when the tiling is adjusted. The easiest solution is to unbind from the global GTT if we are currently fen