Re: [Intel-gfx] [RFC PATCH 3/4] drm/i915: add api to pin/unpin context state

2014-11-12 Thread Bragg, Robert
On Wed, Nov 12, 2014 at 9:37 AM, Daniel Vetter wrote: > On Mon, Nov 10, 2014 at 02:56:50PM +, Robert Bragg wrote: > > This adds i915_gem_context_pin/unpin_state functions so that code > > outside i915_gem_context.c can pin/unpin a context without duplicating > > knowledge about the alignment

Re: [Intel-gfx] [RFC PATCH 3/4] drm/i915: add api to pin/unpin context state

2014-11-12 Thread Daniel Vetter
On Mon, Nov 10, 2014 at 02:56:50PM +, Robert Bragg wrote: > This adds i915_gem_context_pin/unpin_state functions so that code > outside i915_gem_context.c can pin/unpin a context without duplicating > knowledge about the alignment constraints. > > Signed-off-by: Robert Bragg At first I've th

[Intel-gfx] [RFC PATCH 3/4] drm/i915: add api to pin/unpin context state

2014-11-10 Thread Robert Bragg
This adds i915_gem_context_pin/unpin_state functions so that code outside i915_gem_context.c can pin/unpin a context without duplicating knowledge about the alignment constraints. Signed-off-by: Robert Bragg --- drivers/gpu/drm/i915/i915_drv.h | 4 drivers/gpu/drm/i915/i915_gem_con