From owner-freebsd-x11@freebsd.org Tue Feb 9 08:23:21 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87CC4AA10D1 for ; Tue, 9 Feb 2016 08:23:21 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msa03a.plala.or.jp (msa03.plala.or.jp [58.93.240.3]) by mx1.freebsd.org (Postfix) with ESMTP id 16FF3DA3 for ; Tue, 9 Feb 2016 08:23:19 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc02.plala.or.jp ([172.23.12.32]) by msa03b.plala.or.jp with ESMTP id <20160209081743.LNBL14916.msa03b.plala.or.jp@msc02.plala.or.jp> for ; Tue, 9 Feb 2016 17:17:43 +0900 Received: from localhost ([121.117.64.178]) by msc02.plala.or.jp with ESMTP id <20160209081743.GBHY2966.msc02.plala.or.jp@localhost> for ; Tue, 9 Feb 2016 17:17:43 +0900 Date: Tue, 09 Feb 2016 17:17:39 +0900 (JST) Message-Id: <20160209.171739.621348517537335405.ish@amail.plala.or.jp> To: freebsd-x11@freebsd.org Subject: Re: Testing drm-i915-update-38 (c6d9af5) with patched i915_gem.c, encouraging results. From: Masachika ISHIZUKA In-Reply-To: <4cafc77ad57d53684808a0611b0305e2@kapsi.fi> References: <4cafc77ad57d53684808a0611b0305e2@kapsi.fi> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; msa03m; Tue, 9 Feb 2016 17:17:44 +0900 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 08:23:21 -0000 > I realized that previously the drm-i915-update-38 (c6d9af5) kernel > crashed because of a BUG_ON trap in i915_gem.c, not because of actual > code fault. > > Then I found the following discussion in GitHub: > https://github.com/freebsd/freebsd-base-graphics/issues/2 > > There the user myfreeweb "McGyver'd" the BUG_ON trap away by replacing > it with WARN_ON -macro. I wanted to see if the driver would work, so I > did the same. Hi, Arto Pekkanen Thank you for good information. It is nice for me, too. The kernel is never crashed after replacing BUG_ON with WARN_ON in i915_gem_object_move_to_inactive (i915_gem.c) on e948ec8. -- Masachika ISHIZUKA