[Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-26 Thread Du, Changbin
> On Fri, Dec 23, 2016 at 01:46:36PM +0800, changbin.du at intel.com wrote: > > From: "Du, Changbin" > > > > This patch fix a crash in function reset_common_ring. In this case, > > the port[0].request is null when reset the render ring, so a null > > dereference exception is raised. We need to che

[PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-23 Thread changbin...@intel.com
From: "Du, Changbin" This patch fix a crash in function reset_common_ring. In this case, the port[0].request is null when reset the render ring, so a null dereference exception is raised. We need to check execlist_port status first. [ 35.748034] BUG: unable to handle kernel NULL pointer derefe

[PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-23 Thread Jani Nikula
On Fri, 23 Dec 2016, changbin.du at intel.com wrote: > From: "Du, Changbin" > > This patch fix a crash in function reset_common_ring. In this case, > the port[0].request is null when reset the render ring, so a null > dereference exception is raised. We need to check execlist_port status > first.

[Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-23 Thread Chris Wilson
On Fri, Dec 23, 2016 at 01:46:36PM +0800, changbin.du at intel.com wrote: > From: "Du, Changbin" > > This patch fix a crash in function reset_common_ring. In this case, > the port[0].request is null when reset the render ring, so a null > dereference exception is raised. We need to check execlist