Re: [Intel-gfx] [PATCH 1/2] drm/i915: Reorganise rules for get_fence/put_fence

2012-04-10 Thread Daniel Vetter
On Thu, Mar 22, 2012 at 03:10:00PM +, Chris Wilson wrote: > By simplifying the rules to calling get_fence when writing to the > through the GTT in a tiled manner, and calling put_fence before writing > to the object through the GTT in a linear manner, the code becomes > clearer and there is les

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Reorganise rules for get_fence/put_fence

2012-03-23 Thread Daniel Vetter
On Thu, Mar 22, 2012 at 03:10:00PM +, Chris Wilson wrote: > By simplifying the rules to calling get_fence when writing to the > through the GTT in a tiled manner, and calling put_fence before writing > to the object through the GTT in a linear manner, the code becomes > clearer and there is les

[Intel-gfx] [PATCH 1/2] drm/i915: Reorganise rules for get_fence/put_fence

2012-03-22 Thread Chris Wilson
By simplifying the rules to calling get_fence when writing to the through the GTT in a tiled manner, and calling put_fence before writing to the object through the GTT in a linear manner, the code becomes clearer and there is less chance of making a mistake. Signed-off-by: Chris Wilson --- drive