public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: John Harrison <John.C.Harrison@Intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Intel-GFX@Lists.FreeDesktop.Org
Subject: Re: [PATCH 01/51] drm/i915: Rename 'flags' to 'dispatch_flags' for better code reading
Date: Fri, 27 Feb 2015 12:14:06 +0000	[thread overview]
Message-ID: <54F05F8E.9080202@Intel.com> (raw)
In-Reply-To: <20150225213433.GB24485@phenom.ffwll.local>

On 25/02/2015 21:34, Daniel Vetter wrote:
> On Fri, Feb 13, 2015 at 11:48:10AM +0000, John.C.Harrison@Intel.com wrote:
>> From: John Harrison <John.C.Harrison@Intel.com>
>>
>> There is a flags word that is passed through the execbuffer code path all the
>> way from initial decoding of the user parameters down to the very final dispatch
>> buffer call. It is simply called 'flags'. Unfortuantely, there are many other
>> flags words floating around in the same blocks of code. Even more once the GPU
>> scheduler arrives.
>>
>> This patch makes it more obvious exactly which flags word is which by renaming
>> 'flags' to 'dispatch_flags'. Note that the bit definitions for this flags word
>> already have an 'I915_DISPATCH_' prefix on them and so are not quite so
>> ambiguous.
>>
>> For: VIZ-1587
> I've thought we've decided that the tag is OTC-Jira or similar. For:
> certainly looks a bit too generic, and a prefix helps in namespacing if
> you want to scan with automated tools for this.

The wiki page about GMIN tagging (which comes from the OTC) very clearly 
says to use 'For:' in the case of multi-patch series or 'Issue:' for 
single patches and talks about automated tools using these tags to 
update and/or close bugs. It also says the tags should be used for linux 
kernel upstreaming as well.


>
>> Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
> Anyway looks like a good idea, queued for -next, thanks for the patch.
> -Daniel
>> ---
>>   drivers/gpu/drm/i915/i915_gem_execbuffer.c |   25 ++++++++++----------
>>   drivers/gpu/drm/i915/intel_lrc.c           |   10 ++++----
>>   drivers/gpu/drm/i915/intel_lrc.h           |    2 +-
>>   drivers/gpu/drm/i915/intel_ringbuffer.c    |   35 ++++++++++++++++------------
>>   drivers/gpu/drm/i915/intel_ringbuffer.h    |    4 ++--
>>   5 files changed, 41 insertions(+), 35 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
>> index b773368..ec9ea45 100644
>> --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
>> +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
>> @@ -1138,7 +1138,7 @@ i915_gem_ringbuffer_submission(struct drm_device *dev, struct drm_file *file,
>>   			       struct drm_i915_gem_execbuffer2 *args,
>>   			       struct list_head *vmas,
>>   			       struct drm_i915_gem_object *batch_obj,
>> -			       u64 exec_start, u32 flags)
>> +			       u64 exec_start, u32 dispatch_flags)
>>   {
>>   	struct drm_clip_rect *cliprects = NULL;
>>   	struct drm_i915_private *dev_priv = dev->dev_private;
>> @@ -1266,19 +1266,19 @@ i915_gem_ringbuffer_submission(struct drm_device *dev, struct drm_file *file,
>>   
>>   			ret = ring->dispatch_execbuffer(ring,
>>   							exec_start, exec_len,
>> -							flags);
>> +							dispatch_flags);
>>   			if (ret)
>>   				goto error;
>>   		}
>>   	} else {
>>   		ret = ring->dispatch_execbuffer(ring,
>>   						exec_start, exec_len,
>> -						flags);
>> +						dispatch_flags);
>>   		if (ret)
>>   			return ret;
>>   	}
>>   
>> -	trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), flags);
>> +	trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), dispatch_flags);
>>   
>>   	i915_gem_execbuffer_move_to_active(vmas, ring);
>>   	i915_gem_execbuffer_retire_commands(dev, file, ring, batch_obj);
>> @@ -1353,7 +1353,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   	struct i915_address_space *vm;
>>   	const u32 ctx_id = i915_execbuffer2_get_context_id(*args);
>>   	u64 exec_start = args->batch_start_offset;
>> -	u32 flags;
>> +	u32 dispatch_flags;
>>   	int ret;
>>   	bool need_relocs;
>>   
>> @@ -1364,15 +1364,15 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   	if (ret)
>>   		return ret;
>>   
>> -	flags = 0;
>> +	dispatch_flags = 0;
>>   	if (args->flags & I915_EXEC_SECURE) {
>>   		if (!file->is_master || !capable(CAP_SYS_ADMIN))
>>   		    return -EPERM;
>>   
>> -		flags |= I915_DISPATCH_SECURE;
>> +		dispatch_flags |= I915_DISPATCH_SECURE;
>>   	}
>>   	if (args->flags & I915_EXEC_IS_PINNED)
>> -		flags |= I915_DISPATCH_PINNED;
>> +		dispatch_flags |= I915_DISPATCH_PINNED;
>>   
>>   	if ((args->flags & I915_EXEC_RING_MASK) > LAST_USER_RING) {
>>   		DRM_DEBUG("execbuf with unknown ring: %d\n",
>> @@ -1495,7 +1495,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   						      args->batch_start_offset,
>>   						      args->batch_len,
>>   						      file->is_master,
>> -						      &flags);
>> +						      &dispatch_flags);
>>   		if (IS_ERR(batch_obj)) {
>>   			ret = PTR_ERR(batch_obj);
>>   			goto err;
>> @@ -1507,7 +1507,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   	/* snb/ivb/vlv conflate the "batch in ppgtt" bit with the "non-secure
>>   	 * batch" bit. Hence we need to pin secure batches into the global gtt.
>>   	 * hsw should have this fixed, but bdw mucks it up again. */
>> -	if (flags & I915_DISPATCH_SECURE) {
>> +	if (dispatch_flags & I915_DISPATCH_SECURE) {
>>   		/*
>>   		 * So on first glance it looks freaky that we pin the batch here
>>   		 * outside of the reservation loop. But:
>> @@ -1527,7 +1527,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   		exec_start += i915_gem_obj_offset(batch_obj, vm);
>>   
>>   	ret = dev_priv->gt.do_execbuf(dev, file, ring, ctx, args,
>> -				      &eb->vmas, batch_obj, exec_start, flags);
>> +				      &eb->vmas, batch_obj, exec_start,
>> +				      dispatch_flags);
>>   
>>   	/*
>>   	 * FIXME: We crucially rely upon the active tracking for the (ppgtt)
>> @@ -1535,7 +1536,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>>   	 * needs to be adjusted to also track the ggtt batch vma properly as
>>   	 * active.
>>   	 */
>> -	if (flags & I915_DISPATCH_SECURE)
>> +	if (dispatch_flags & I915_DISPATCH_SECURE)
>>   		i915_gem_object_ggtt_unpin(batch_obj);
>>   err:
>>   	/* the request owns the ref now */
>> diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
>> index a94346f..0376285 100644
>> --- a/drivers/gpu/drm/i915/intel_lrc.c
>> +++ b/drivers/gpu/drm/i915/intel_lrc.c
>> @@ -611,7 +611,7 @@ static int execlists_move_to_gpu(struct intel_ringbuffer *ringbuf,
>>    * @vmas: list of vmas.
>>    * @batch_obj: the batchbuffer to submit.
>>    * @exec_start: batchbuffer start virtual address pointer.
>> - * @flags: translated execbuffer call flags.
>> + * @dispatch_flags: translated execbuffer call flags.
>>    *
>>    * This is the evil twin version of i915_gem_ringbuffer_submission. It abstracts
>>    * away the submission details of the execbuffer ioctl call.
>> @@ -624,7 +624,7 @@ int intel_execlists_submission(struct drm_device *dev, struct drm_file *file,
>>   			       struct drm_i915_gem_execbuffer2 *args,
>>   			       struct list_head *vmas,
>>   			       struct drm_i915_gem_object *batch_obj,
>> -			       u64 exec_start, u32 flags)
>> +			       u64 exec_start, u32 dispatch_flags)
>>   {
>>   	struct drm_i915_private *dev_priv = dev->dev_private;
>>   	struct intel_ringbuffer *ringbuf = ctx->engine[ring->id].ringbuf;
>> @@ -697,7 +697,7 @@ int intel_execlists_submission(struct drm_device *dev, struct drm_file *file,
>>   		dev_priv->relative_constants_mode = instp_mode;
>>   	}
>>   
>> -	ret = ring->emit_bb_start(ringbuf, ctx, exec_start, flags);
>> +	ret = ring->emit_bb_start(ringbuf, ctx, exec_start, dispatch_flags);
>>   	if (ret)
>>   		return ret;
>>   
>> @@ -1142,9 +1142,9 @@ static int gen8_init_render_ring(struct intel_engine_cs *ring)
>>   
>>   static int gen8_emit_bb_start(struct intel_ringbuffer *ringbuf,
>>   			      struct intel_context *ctx,
>> -			      u64 offset, unsigned flags)
>> +			      u64 offset, unsigned dispatch_flags)
>>   {
>> -	bool ppgtt = !(flags & I915_DISPATCH_SECURE);
>> +	bool ppgtt = !(dispatch_flags & I915_DISPATCH_SECURE);
>>   	int ret;
>>   
>>   	ret = intel_logical_ring_begin(ringbuf, ctx, 4);
>> diff --git a/drivers/gpu/drm/i915/intel_lrc.h b/drivers/gpu/drm/i915/intel_lrc.h
>> index 6f2d7da..3093836 100644
>> --- a/drivers/gpu/drm/i915/intel_lrc.h
>> +++ b/drivers/gpu/drm/i915/intel_lrc.h
>> @@ -86,7 +86,7 @@ int intel_execlists_submission(struct drm_device *dev, struct drm_file *file,
>>   			       struct drm_i915_gem_execbuffer2 *args,
>>   			       struct list_head *vmas,
>>   			       struct drm_i915_gem_object *batch_obj,
>> -			       u64 exec_start, u32 flags);
>> +			       u64 exec_start, u32 dispatch_flags);
>>   u32 intel_execlists_ctx_id(struct drm_i915_gem_object *ctx_obj);
>>   
>>   void intel_lrc_irq_handler(struct intel_engine_cs *ring);
>> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
>> index 0bd3976..d611608 100644
>> --- a/drivers/gpu/drm/i915/intel_ringbuffer.c
>> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
>> @@ -1611,7 +1611,7 @@ gen8_ring_put_irq(struct intel_engine_cs *ring)
>>   static int
>>   i965_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   			 u64 offset, u32 length,
>> -			 unsigned flags)
>> +			 unsigned dispatch_flags)
>>   {
>>   	int ret;
>>   
>> @@ -1622,7 +1622,8 @@ i965_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   	intel_ring_emit(ring,
>>   			MI_BATCH_BUFFER_START |
>>   			MI_BATCH_GTT |
>> -			(flags & I915_DISPATCH_SECURE ? 0 : MI_BATCH_NON_SECURE_I965));
>> +			(dispatch_flags & I915_DISPATCH_SECURE ?
>> +			 0 : MI_BATCH_NON_SECURE_I965));
>>   	intel_ring_emit(ring, offset);
>>   	intel_ring_advance(ring);
>>   
>> @@ -1635,8 +1636,8 @@ i965_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   #define I830_WA_SIZE max(I830_TLB_ENTRIES*4096, I830_BATCH_LIMIT)
>>   static int
>>   i830_dispatch_execbuffer(struct intel_engine_cs *ring,
>> -				u64 offset, u32 len,
>> -				unsigned flags)
>> +			 u64 offset, u32 len,
>> +			 unsigned dispatch_flags)
>>   {
>>   	u32 cs_offset = ring->scratch.gtt_offset;
>>   	int ret;
>> @@ -1654,7 +1655,7 @@ i830_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   	intel_ring_emit(ring, MI_NOOP);
>>   	intel_ring_advance(ring);
>>   
>> -	if ((flags & I915_DISPATCH_PINNED) == 0) {
>> +	if ((dispatch_flags & I915_DISPATCH_PINNED) == 0) {
>>   		if (len > I830_BATCH_LIMIT)
>>   			return -ENOSPC;
>>   
>> @@ -1686,7 +1687,8 @@ i830_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   		return ret;
>>   
>>   	intel_ring_emit(ring, MI_BATCH_BUFFER);
>> -	intel_ring_emit(ring, offset | (flags & I915_DISPATCH_SECURE ? 0 : MI_BATCH_NON_SECURE));
>> +	intel_ring_emit(ring, offset | (dispatch_flags & I915_DISPATCH_SECURE ?
>> +					0 : MI_BATCH_NON_SECURE));
>>   	intel_ring_emit(ring, offset + len - 8);
>>   	intel_ring_emit(ring, MI_NOOP);
>>   	intel_ring_advance(ring);
>> @@ -1697,7 +1699,7 @@ i830_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   static int
>>   i915_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   			 u64 offset, u32 len,
>> -			 unsigned flags)
>> +			 unsigned dispatch_flags)
>>   {
>>   	int ret;
>>   
>> @@ -1706,7 +1708,8 @@ i915_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   		return ret;
>>   
>>   	intel_ring_emit(ring, MI_BATCH_BUFFER_START | MI_BATCH_GTT);
>> -	intel_ring_emit(ring, offset | (flags & I915_DISPATCH_SECURE ? 0 : MI_BATCH_NON_SECURE));
>> +	intel_ring_emit(ring, offset | (dispatch_flags & I915_DISPATCH_SECURE ?
>> +					0 : MI_BATCH_NON_SECURE));
>>   	intel_ring_advance(ring);
>>   
>>   	return 0;
>> @@ -2265,9 +2268,10 @@ static int gen6_bsd_ring_flush(struct intel_engine_cs *ring,
>>   static int
>>   gen8_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   			      u64 offset, u32 len,
>> -			      unsigned flags)
>> +			      unsigned dispatch_flags)
>>   {
>> -	bool ppgtt = USES_PPGTT(ring->dev) && !(flags & I915_DISPATCH_SECURE);
>> +	bool ppgtt = USES_PPGTT(ring->dev) &&
>> +			!(dispatch_flags & I915_DISPATCH_SECURE);
>>   	int ret;
>>   
>>   	ret = intel_ring_begin(ring, 4);
>> @@ -2286,8 +2290,8 @@ gen8_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   
>>   static int
>>   hsw_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>> -			      u64 offset, u32 len,
>> -			      unsigned flags)
>> +			     u64 offset, u32 len,
>> +			     unsigned dispatch_flags)
>>   {
>>   	int ret;
>>   
>> @@ -2297,7 +2301,7 @@ hsw_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   
>>   	intel_ring_emit(ring,
>>   			MI_BATCH_BUFFER_START |
>> -			(flags & I915_DISPATCH_SECURE ?
>> +			(dispatch_flags & I915_DISPATCH_SECURE ?
>>   			 0 : MI_BATCH_PPGTT_HSW | MI_BATCH_NON_SECURE_HSW));
>>   	/* bit0-7 is the length on GEN6+ */
>>   	intel_ring_emit(ring, offset);
>> @@ -2309,7 +2313,7 @@ hsw_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   static int
>>   gen6_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   			      u64 offset, u32 len,
>> -			      unsigned flags)
>> +			      unsigned dispatch_flags)
>>   {
>>   	int ret;
>>   
>> @@ -2319,7 +2323,8 @@ gen6_ring_dispatch_execbuffer(struct intel_engine_cs *ring,
>>   
>>   	intel_ring_emit(ring,
>>   			MI_BATCH_BUFFER_START |
>> -			(flags & I915_DISPATCH_SECURE ? 0 : MI_BATCH_NON_SECURE_I965));
>> +			(dispatch_flags & I915_DISPATCH_SECURE ?
>> +			 0 : MI_BATCH_NON_SECURE_I965));
>>   	/* bit0-7 is the length on GEN6+ */
>>   	intel_ring_emit(ring, offset);
>>   	intel_ring_advance(ring);
>> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h
>> index 714f3fd..26e5774 100644
>> --- a/drivers/gpu/drm/i915/intel_ringbuffer.h
>> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h
>> @@ -164,7 +164,7 @@ struct  intel_engine_cs {
>>   				     u32 seqno);
>>   	int		(*dispatch_execbuffer)(struct intel_engine_cs *ring,
>>   					       u64 offset, u32 length,
>> -					       unsigned flags);
>> +					       unsigned dispatch_flags);
>>   #define I915_DISPATCH_SECURE 0x1
>>   #define I915_DISPATCH_PINNED 0x2
>>   	void		(*cleanup)(struct intel_engine_cs *ring);
>> @@ -242,7 +242,7 @@ struct  intel_engine_cs {
>>   				      u32 flush_domains);
>>   	int		(*emit_bb_start)(struct intel_ringbuffer *ringbuf,
>>   					 struct intel_context *ctx,
>> -					 u64 offset, unsigned flags);
>> +					 u64 offset, unsigned dispatch_flags);
>>   
>>   	/**
>>   	 * List of objects currently involved in rendering from the
>> -- 
>> 1.7.9.5
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-02-27 12:14 UTC|newest]

Thread overview: 234+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 11:48 [PATCH 00/51] Remove the outstanding_lazy_request John.C.Harrison
2015-02-13 11:48 ` [PATCH 01/51] drm/i915: Rename 'flags' to 'dispatch_flags' for better code reading John.C.Harrison
2015-02-25 21:34   ` Daniel Vetter
2015-02-27 12:14     ` John Harrison [this message]
2015-02-27 13:15       ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 02/51] drm/i915: Add missing trace point to LRC execbuff code path John.C.Harrison
2015-02-13 11:48 ` [PATCH 03/51] drm/i915: Cache ringbuf pointer in request structure John.C.Harrison
2015-02-25 21:50   ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 04/51] drm/i915: Merged the many do_execbuf() parameters into a structure John.C.Harrison
2015-02-25 21:52   ` Daniel Vetter
2015-02-27 12:22     ` John Harrison
2015-02-27 13:35       ` Daniel Vetter
2015-02-27 18:22         ` John Harrison
2015-02-27 18:43           ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 05/51] drm/i915: Add return code check to i915_gem_execbuffer_retire_commands() John.C.Harrison
2015-02-25 22:17   ` Daniel Vetter
2015-02-26  2:26     ` Daniel Vetter
2015-03-05 13:06       ` John Harrison
2015-03-05 14:44         ` Daniel Vetter
2015-03-05 15:06           ` John Harrison
2015-03-05 16:14             ` Daniel Vetter
2015-03-06 11:38               ` John Harrison
2015-03-06 15:57                 ` Daniel Vetter
2015-03-06 17:40                   ` Dave Gordon
2015-03-09  8:01                     ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 06/51] drm/i915: Wrap request allocation with a function pointer John.C.Harrison
2015-02-13 11:48 ` [PATCH 07/51] drm/i915: Early alloc request in execbuff John.C.Harrison
2015-02-25 22:22   ` Daniel Vetter
2015-02-27 12:27     ` John Harrison
2015-02-27 13:40       ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 08/51] drm/i915: Update alloc_request to return the allocated request John.C.Harrison
2015-02-13 12:21   ` Chris Wilson
2015-02-25 21:08     ` Daniel Vetter
2015-02-27 12:34       ` John Harrison
2015-02-27 13:43         ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 09/51] drm/i915: Add request to execbuf params and add explicit cleanup John.C.Harrison
2015-02-13 11:48 ` [PATCH 10/51] drm/i915: Update the dispatch tracepoint to use params->request John.C.Harrison
2015-02-13 11:48 ` [PATCH 11/51] drm/i915: Update move_to_gpu() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 12/51] drm/i915: Update execbuffer_move_to_active() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 13/51] drm/i915: Add flag to i915_add_request() to skip the cache flush John.C.Harrison
2015-02-13 11:48 ` [PATCH 14/51] drm/i915: Update pin_to_display_plane() to do explicit request management John.C.Harrison
2015-02-25 22:35   ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 15/51] drm/i915: Update i915_gem_object_sync() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 16/51] drm/i915: Update i915_gpu_idle() to manage its own request John.C.Harrison
2015-02-13 11:48 ` [PATCH 17/51] drm/i915: Split i915_ppgtt_init_hw() in half - generic and per ring John.C.Harrison
2015-02-13 11:48 ` [PATCH 18/51] drm/i915: Moved the for_each_ring loop outside of i915_gem_context_enable() John.C.Harrison
2015-02-13 11:48 ` [PATCH 19/51] drm/i915: Add explicit request management to i915_gem_init_hw() John.C.Harrison
2015-02-13 11:48 ` [PATCH 20/51] drm/i915: Update ppgtt_init_ring() & context_enable() to take requests John.C.Harrison
2015-02-13 11:48 ` [PATCH 21/51] drm/i915: Set context in request from creation even in legacy mode John.C.Harrison
2015-02-13 11:48 ` [PATCH 22/51] drm/i915: Update i915_switch_context() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 23/51] drm/i915: Update do_switch() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 24/51] drm/i915: Update deferred context creation to do explicit request management John.C.Harrison
2015-02-13 12:15   ` Chris Wilson
2015-02-18 15:27     ` John Harrison
2015-02-25 21:15       ` Daniel Vetter
2015-02-27 12:45         ` John Harrison
2015-02-27 13:50           ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 25/51] drm/i915: Update init_context() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 26/51] drm/i915: Update render_state_init() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 27/51] drm/i915: Update overlay code to do explicit request management John.C.Harrison
2015-02-13 11:48 ` [PATCH 28/51] drm/i915: Update queue_flip() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 29/51] drm/i915: Update add_request() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 30/51] drm/i915: Update [vma|object]_move_to_active() to take request structures John.C.Harrison
2015-02-13 11:48 ` [PATCH 31/51] drm/i915: Update l3_remap to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 32/51] drm/i915: Update mi_set_context() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 33/51] drm/i915: Update a bunch of execbuffer heplers to take request structures John.C.Harrison
2015-02-13 11:48 ` [PATCH 34/51] drm/i915: Update workarounds_emit() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 35/51] drm/i915: Update flush_all_caches() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 36/51] drm/i915: Update switch_mm() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 37/51] drm/i915: Update ring->flush() to take a requests structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 38/51] drm/i915: Update some flush helpers to take request structures John.C.Harrison
2015-02-13 11:48 ` [PATCH 39/51] drm/i915: Update ring->emit_flush() to take a request structure John.C.Harrison
2015-02-13 11:48 ` [PATCH 40/51] drm/i915: Update ring->add_request() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 41/51] drm/i915: Update ring->emit_request() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 42/51] drm/i915: Update ring->dispatch_execbuffer() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 43/51] drm/i915: Update ring->emit_bb_start() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 44/51] drm/i915: Update ring->sync_to() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 45/51] drm/i915: Update ring->signal() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 46/51] drm/i915: Update cacheline_align() " John.C.Harrison
2015-02-13 11:48 ` [PATCH 47/51] drm/i915: Update ironlake_enable_rc6() to do explicit request management John.C.Harrison
2015-02-13 12:19   ` Chris Wilson
2015-02-13 16:58     ` John Harrison
2015-02-13 17:03       ` Chris Wilson
2015-02-18 14:28         ` John Harrison
2015-02-25 21:31           ` Daniel Vetter
2015-02-27 12:49             ` John Harrison
2015-02-27 13:56               ` Daniel Vetter
2015-02-27 13:03             ` Ville Syrjälä
2015-02-27 13:53               ` Daniel Vetter
2015-02-13 11:48 ` [PATCH 48/51] drm/i915: Update intel_ring_begin() to take a request structure John.C.Harrison
2015-02-13 12:20   ` Chris Wilson
2015-02-18 15:37     ` John Harrison
2015-02-13 11:48 ` [PATCH 49/51] drm/i915: Update intel_logical_ring_begin() " John.C.Harrison
2015-02-13 12:17   ` Chris Wilson
2015-02-13 17:04     ` John Harrison
2015-02-13 11:48 ` [PATCH 50/51] drm/i915: Remove the now obsolete intel_ring_get_request() John.C.Harrison
2015-02-13 11:49 ` [PATCH 51/51] drm/i915: Remove the now obsolete 'outstanding_lazy_request' John.C.Harrison
2015-02-19 17:17 ` [PATCH 00/53] Remove the outstanding_lazy_request John.C.Harrison
2015-02-19 17:17   ` [PATCH 01/53] drm/i915: Rename 'flags' to 'dispatch_flags' for better code reading John.C.Harrison
2015-03-05 13:21     ` Tomas Elf
2015-03-06 12:30       ` John Harrison
2015-02-19 17:17   ` [PATCH 02/53] drm/i915: Add missing trace point to LRC execbuff code path John.C.Harrison
2015-03-05 13:26     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 03/53] drm/i915: Cache ringbuf pointer in request structure John.C.Harrison
2015-03-05 13:56     ` Tomas Elf
2015-03-06 12:28       ` John Harrison
2015-02-19 17:17   ` [PATCH 04/53] drm/i915: Merged the many do_execbuf() parameters into a structure John.C.Harrison
2015-03-05 13:37     ` John.C.Harrison
2015-03-05 14:30     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 05/53] drm/i915: Add return code check to i915_gem_execbuffer_retire_commands() John.C.Harrison
2015-03-05 14:45     ` Tomas Elf
2015-03-06 16:15       ` Daniel Vetter
2015-02-19 17:17   ` [PATCH 06/53] drm/i915: Wrap request allocation with a function pointer John.C.Harrison
2015-03-05 15:01     ` Tomas Elf
2015-03-05 16:20       ` Daniel Vetter
2015-02-19 17:17   ` [PATCH 07/53] drm/i915: Early alloc request in execbuff John.C.Harrison
2015-03-05 15:11     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 08/53] drm/i915: Update alloc_request to return the allocated request John.C.Harrison
2015-03-05 15:27     ` Tomas Elf
2015-03-05 15:46       ` John Harrison
2015-03-05 20:13         ` Tomas Elf
2015-03-06 16:18           ` Daniel Vetter
2015-03-06 17:36             ` John Harrison
2015-03-06 20:17               ` Tomas Elf
2015-02-19 17:17   ` [PATCH 09/53] drm/i915: Add request to execbuf params and add explicit cleanup John.C.Harrison
2015-03-05 15:37     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 10/53] drm/i915: Update the dispatch tracepoint to use params->request John.C.Harrison
2015-03-05 15:43     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 11/53] drm/i915: Update move_to_gpu() to take a request structure John.C.Harrison
2015-03-05 15:54     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 12/53] drm/i915: Update execbuffer_move_to_active() " John.C.Harrison
2015-03-05 16:03     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 13/53] drm/i915: Add flag to i915_add_request() to skip the cache flush John.C.Harrison
2015-02-19 17:17   ` [PATCH 14/53] drm/i915: Update pin_to_display_plane() to do explicit request management John.C.Harrison
2015-03-05 16:21     ` Tomas Elf
2015-03-05 16:22     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 15/53] drm/i915: Update i915_gem_object_sync() to take a request structure John.C.Harrison
2015-03-05 16:40     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 16/53] drm/i915: Update i915_gpu_idle() to manage its own request John.C.Harrison
2015-03-05 16:45     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 17/53] drm/i915: Split i915_ppgtt_init_hw() in half - generic and per ring John.C.Harrison
2015-02-24 13:55     ` Daniel, Thomas
2015-03-05 16:53     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 18/53] drm/i915: Moved the for_each_ring loop outside of i915_gem_context_enable() John.C.Harrison
2015-03-05 17:04     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 19/53] drm/i915: Add explicit request management to i915_gem_init_hw() John.C.Harrison
2015-03-05 17:13     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 20/53] drm/i915: Update ppgtt_init_ring() & context_enable() to take requests John.C.Harrison
2015-03-05 17:57     ` Tomas Elf
     [not found]       ` <5502DC35.6020700@Intel.com>
2015-03-13 13:35         ` Tomas Elf
2015-02-19 17:17   ` [PATCH 21/53] drm/i915: Set context in request from creation even in legacy mode John.C.Harrison
2015-03-05 13:42     ` John.C.Harrison
2015-03-05 18:02     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 22/53] drm/i915: Update i915_switch_context() to take a request structure John.C.Harrison
2015-03-05 18:08     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 23/53] drm/i915: Update do_switch() " John.C.Harrison
2015-03-05 18:11     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 24/53] drm/i915: Update deferred context creation to do explicit request management John.C.Harrison
2015-03-05 18:16     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 25/53] drm/i915: Update init_context() to take a request structure John.C.Harrison
2015-03-05 18:38     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 26/53] drm/i915: Update render_state_init() " John.C.Harrison
2015-03-05 18:43     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 27/53] drm/i915: Update overlay code to do explicit request management John.C.Harrison
2015-03-05 18:51     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 28/53] drm/i915: Update queue_flip() " John.C.Harrison
2015-03-05 19:29     ` Tomas Elf
2015-03-06 16:30       ` Daniel Vetter
2015-02-19 17:17   ` [PATCH 29/53] drm/i915: Update add_request() to take a request structure John.C.Harrison
2015-03-05 19:35     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 30/53] drm/i915: Update [vma|object]_move_to_active() to take request structures John.C.Harrison
2015-03-05 19:39     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 31/53] drm/i915: Update l3_remap to take a request structure John.C.Harrison
2015-03-05 19:44     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 32/53] drm/i915: Update mi_set_context() " John.C.Harrison
2015-03-05 19:52     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 33/53] drm/i915: Update a bunch of execbuffer heplers to take request structures John.C.Harrison
2015-03-05 19:58     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 34/53] drm/i915: Update workarounds_emit() " John.C.Harrison
2015-03-09 20:17     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 35/53] drm/i915: Update flush_all_caches() " John.C.Harrison
2015-03-09 20:23     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 36/53] drm/i915: Update switch_mm() to take a request structure John.C.Harrison
2015-03-09 20:33     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 37/53] drm/i915: Update ring->flush() to take a requests structure John.C.Harrison
2015-03-09 20:40     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 38/53] drm/i915: Update some flush helpers to take request structures John.C.Harrison
2015-03-09 20:46     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 39/53] drm/i915: Update ring->emit_flush() to take a request structure John.C.Harrison
2015-03-09 20:51     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 40/53] drm/i915: Update ring->add_request() " John.C.Harrison
2015-03-09 21:02     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 41/53] drm/i915: Update ring->emit_request() " John.C.Harrison
2015-03-09 21:07     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 42/53] drm/i915: Update ring->dispatch_execbuffer() " John.C.Harrison
2015-03-09 21:16     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 43/53] drm/i915: Update ring->emit_bb_start() " John.C.Harrison
2015-03-09 21:29     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 44/53] drm/i915: Update ring->sync_to() " John.C.Harrison
2015-03-09 21:49     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 45/53] drm/i915: Update ring->signal() " John.C.Harrison
2015-03-09 22:04     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 46/53] drm/i915: Update cacheline_align() " John.C.Harrison
2015-03-09 22:16     ` Tomas Elf
2015-02-19 17:17   ` [PATCH 47/53] drm/i915: Update ironlake_enable_rc6() to do explicit request management John.C.Harrison
2015-02-19 17:18   ` [PATCH 48/53] drm/i915: Update intel_ring_begin() to take a request structure John.C.Harrison
2015-03-09 22:39     ` Tomas Elf
2015-02-19 17:18   ` [PATCH 49/53] drm/i915: Make intel_logical_ring_begin() static John.C.Harrison
2015-03-09 23:24     ` Tomas Elf
2015-02-19 17:18   ` [PATCH 50/53] drm/i915: Update intel_logical_ring_begin() to take a request structure John.C.Harrison
2015-03-09 23:33     ` Tomas Elf
2015-02-19 17:18   ` [PATCH 51/53] drm/i915: Remove the now obsolete intel_ring_get_request() John.C.Harrison
2015-03-09 23:35     ` Tomas Elf
2015-02-19 17:18   ` [PATCH 52/53] drm/i915: Remove the now obsolete 'outstanding_lazy_request' John.C.Harrison
2015-03-09 23:51     ` Tomas Elf
2015-03-10 10:18       ` Daniel Vetter
2015-03-13 13:32         ` John Harrison
2015-03-13 17:09           ` Daniel Vetter
2015-02-19 17:18   ` [PATCH 53/53] drm/i915: Move the request/file and request/pid association to creation time John.C.Harrison
2015-03-10  0:12     ` Tomas Elf
2015-03-05 13:57   ` [PATCH 54/56] drm/i915: Rename 'do_execbuf' to 'execbuf_submit' John.C.Harrison
2015-03-05 13:57     ` [PATCH 55/56] drm/i915: Remove 'faked' request from LRC submission John.C.Harrison
2015-03-05 14:49       ` Daniel Vetter
2015-03-11 14:53         ` John Harrison
2015-03-11 16:14           ` Daniel Vetter
2015-03-11 16:44             ` Jesse Barnes
2015-03-11 20:45               ` John Harrison
2015-03-05 13:57     ` [PATCH 56/56] drm/i915: Update a bunch of LRC functions to take requests John.C.Harrison
2015-03-10 23:18     ` [PATCH 54/56] drm/i915: Rename 'do_execbuf' to 'execbuf_submit' Tomas Elf
2015-03-05 14:03   ` [PATCH 01/53] drm/i915: Remove ironlake rc6 support John.C.Harrison
2015-03-05 15:22     ` Daniel Vetter
2015-03-05 15:36       ` John Harrison
2015-03-06 16:32         ` Daniel Vetter
2015-03-10 23:02     ` Tomas Elf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F05F8E.9080202@Intel.com \
    --to=john.c.harrison@intel.com \
    --cc=Intel-GFX@Lists.FreeDesktop.Org \
    --cc=daniel@ffwll.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox