Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-06-29 Thread Dave Gordon
On 29/06/15 12:39, Jani Nikula wrote: On Wed, 06 May 2015, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Apr 30, 2015 at 01:54:41PM +0100, Dave Gordon wrote: On 29/04/15 17:10, yu@intel.com wrote: From: Alex Dai yu@intel.com This is to avoid bad IO access caused by writing NOOP to

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-06-29 Thread Jani Nikula
On Wed, 06 May 2015, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Apr 30, 2015 at 01:54:41PM +0100, Dave Gordon wrote: On 29/04/15 17:10, yu@intel.com wrote: From: Alex Dai yu@intel.com This is to avoid bad IO access caused by writing NOOP to wrap the ring buffer whilst ring is

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-06-29 Thread Jani Nikula
On Mon, 29 Jun 2015, Dave Gordon david.s.gor...@intel.com wrote: On 29/06/15 12:39, Jani Nikula wrote: On Wed, 06 May 2015, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Apr 30, 2015 at 01:54:41PM +0100, Dave Gordon wrote: On 29/04/15 17:10, yu@intel.com wrote: From: Alex Dai

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-06-29 Thread Daniel Vetter
On Mon, Jun 29, 2015 at 05:44:40PM +0300, Jani Nikula wrote: On Mon, 29 Jun 2015, Dave Gordon david.s.gor...@intel.com wrote: On 29/06/15 12:39, Jani Nikula wrote: On Wed, 06 May 2015, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Apr 30, 2015 at 01:54:41PM +0100, Dave Gordon wrote: On

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-05-06 Thread Daniel Vetter
On Thu, Apr 30, 2015 at 01:54:41PM +0100, Dave Gordon wrote: On 29/04/15 17:10, yu@intel.com wrote: From: Alex Dai yu@intel.com This is to avoid bad IO access caused by writing NOOP to wrap the ring buffer whilst ring is unpinned. Signed-off-by: Alex Dai yu@intel.com

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-04-30 Thread Dave Gordon
On 29/04/15 17:10, yu@intel.com wrote: From: Alex Dai yu@intel.com This is to avoid bad IO access caused by writing NOOP to wrap the ring buffer whilst ring is unpinned. Signed-off-by: Alex Dai yu@intel.com --- drivers/gpu/drm/i915/intel_lrc.c | 6 +++--- 1 file changed, 3

Re: [Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-04-30 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6292 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

[Intel-gfx] [PATCH] drm/i915: Preallocate request before access of the ring

2015-04-29 Thread yu . dai
From: Alex Dai yu@intel.com This is to avoid bad IO access caused by writing NOOP to wrap the ring buffer whilst ring is unpinned. Signed-off-by: Alex Dai yu@intel.com --- drivers/gpu/drm/i915/intel_lrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git