Re: [Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-28 Thread Dave Gordon
On 27/01/16 13:50, Chris Wilson wrote: On Wed, Jan 27, 2016 at 01:13:54PM +, Daniele Ceraolo Spurio wrote: On 27/01/16 09:38, Chris Wilson wrote: On Wed, Jan 27, 2016 at 08:55:40AM +, daniele.ceraolospu...@intel.com wrote: From: Daniele Ceraolo Spurio

Re: [Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-27 Thread Daniel Vetter
On Wed, Jan 27, 2016 at 01:50:17PM +, Chris Wilson wrote: > On Wed, Jan 27, 2016 at 01:13:54PM +, Daniele Ceraolo Spurio wrote: > > > > > > On 27/01/16 09:38, Chris Wilson wrote: > > >On Wed, Jan 27, 2016 at 08:55:40AM +, daniele.ceraolospu...@intel.com > > >wrote: > > >>From:

[Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-27 Thread daniele . ceraolospurio
From: Daniele Ceraolo Spurio While running some tests on the scheduler patches with rpm enabled I came across a corruption in the ringbuffer, which was root-caused to the GPU being suspended while commands were being emitted to the ringbuffer. The access to

Re: [Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-27 Thread Chris Wilson
On Wed, Jan 27, 2016 at 08:55:40AM +, daniele.ceraolospu...@intel.com wrote: > From: Daniele Ceraolo Spurio > > While running some tests on the scheduler patches with rpm enabled I > came across a corruption in the ringbuffer, which was root-caused to > the

Re: [Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-27 Thread Chris Wilson
On Wed, Jan 27, 2016 at 01:13:54PM +, Daniele Ceraolo Spurio wrote: > > > On 27/01/16 09:38, Chris Wilson wrote: > >On Wed, Jan 27, 2016 at 08:55:40AM +, daniele.ceraolospu...@intel.com > >wrote: > >>From: Daniele Ceraolo Spurio > >> > >>While running

Re: [Intel-gfx] [RFC] drm/i915: check that rpm ref is held when writing to ringbuf in stolen mem

2016-01-27 Thread Daniele Ceraolo Spurio
On 27/01/16 09:38, Chris Wilson wrote: On Wed, Jan 27, 2016 at 08:55:40AM +, daniele.ceraolospu...@intel.com wrote: From: Daniele Ceraolo Spurio While running some tests on the scheduler patches with rpm enabled I came across a corruption in the