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 john.c.harri...@intel.com The i915_gem_record_rings() code was unconditionally querying and saving state for the batch_obj of a

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

2014-06-26 Thread John . C . Harrison
From: John Harrison john.c.harri...@intel.com 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