Re: [Intel-gfx] [RFC 04/44] drm/i915: Fix null pointer dereference in error capture

2014-07-07 Thread Daniel Vetter
On Tue, Jul 01, 2014 at 08:12:11AM +0100, Chris Wilson wrote: > On Mon, Jun 30, 2014 at 02:40:05PM -0700, Jesse Barnes wrote: > > On Thu, 26 Jun 2014 18:23:55 +0100 > > john.c.harri...@intel.com wrote: > > > > > From: John Harrison > > > > > > The i915_gem_record_rings() code was unconditionally

Re: [Intel-gfx] [RFC 04/44] drm/i915: Fix null pointer dereference in error capture

2014-07-01 Thread Chris Wilson
On Mon, Jun 30, 2014 at 02:40:05PM -0700, Jesse Barnes wrote: > On Thu, 26 Jun 2014 18:23:55 +0100 > john.c.harri...@intel.com wrote: > > > From: John Harrison > > > > The i915_gem_record_rings() code was unconditionally querying and saving > > state > > for the batch_obj of a request structure

Re: [Intel-gfx] [RFC 04/44] drm/i915: Fix null pointer dereference in error capture

2014-06-30 Thread Jesse Barnes
On Thu, 26 Jun 2014 18:23:55 +0100 john.c.harri...@intel.com wrote: > From: John Harrison > > The i915_gem_record_rings() code was unconditionally querying and saving state > for the batch_obj of a request structure. This is not necessarily set. Thus a > null pointer dereference can occur. > ---

[Intel-gfx] [RFC 04/44] drm/i915: Fix null pointer dereference in error capture

2014-06-26 Thread John . C . Harrison
From: John Harrison The i915_gem_record_rings() code was unconditionally querying and saving state for the batch_obj of a request structure. This is not necessarily set. Thus a null pointer dereference can occur. --- drivers/gpu/drm/i915/i915_gpu_error.c | 13 +++-- 1 file changed, 7 i