Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1547272

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

From "Du, Changbin" <changbin.du@intel.com>
Newsgroups linux.kernel
Subject RE: [Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty before using its content
Date 2016-12-26 08:50 +0100
Message-ID <sSycF-1KC-9@gated-at.bofh.it> (permalink)
References <sRqTT-2Or-7@gated-at.bofh.it> <sRsVH-41t-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> On Fri, Dec 23, 2016 at 01:46:36PM +0800, changbin.du@intel.com wrote:
> > From: "Du, Changbin" <changbin.du@intel.com>
> >
> > 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.
> 
> No. The root cause is whatever got you into the illegal condition in the
> first place.
> -Chris
> 
Thanks, I will restudy the code after process my current job. Since this happen
on gvt guest, so this may related to gvt emulation.

> --
> Chris Wilson, Intel Open Source Technology Centre

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drm/i915: check if execlist_port is empty before using its content changbin.du@intel.com - 2016-12-23 06:50 +0100
  Re: [PATCH] drm/i915: check if execlist_port is empty before using its content Jani Nikula <jani.nikula@linux.intel.com> - 2016-12-23 08:10 +0100
  Re: [Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty  before using its content Chris Wilson <chris@chris-wilson.co.uk> - 2016-12-23 09:00 +0100
    RE: [Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty  before using its content "Du, Changbin" <changbin.du@intel.com> - 2016-12-26 08:50 +0100

csiph-web