From owner-freebsd-x11@FreeBSD.ORG Wed Jan 7 10:38:02 2015 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C23468E for ; Wed, 7 Jan 2015 10:38:02 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CFFF6671E for ; Wed, 7 Jan 2015 10:38:01 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so915786wgh.3 for ; Wed, 07 Jan 2015 02:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=7zhCkc4Bg0PWj2Hw+wiOn3TbjF9AoYwOmTum57NuNy4=; b=FBmKMLGc46638CLJhu3fIXNaaBvIaVxZAYGqlHs358L5SZItEe6luTiwhSi8vJPsBy DzDfaOvG6SJlaIRriBNSlTG1wDvhsugoUT4Htz088njTB47Et+PGApOEaoDNwz4qILv/ oVv72jzOWmlFsxax37L3WpcsAsW4pZjvErpYxx8neNFMDatSTsWNDgnZmea7+4/XWHBK HVVS5GzuAb2kBrT5PpFEpTPU/xy+/tOP8UDGUxYH8LXDXWIl/vlKC3JVVdNxc4LY2+oN 9sIaMzqpBMi4bfOuuha2/pV7JnIEC9DZ2xt9nGCdMsjesXlerf8tbdrfMX7gaqh4KQqO makQ== X-Received: by 10.194.84.240 with SMTP id c16mr3677748wjz.74.1420627080021; Wed, 07 Jan 2015 02:38:00 -0800 (PST) Received: from ernst.home (p4FC0FF93.dip0.t-ipconnect.de. [79.192.255.147]) by mx.google.com with ESMTPSA id hl1sm1614873wjc.18.2015.01.07.02.37.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jan 2015 02:37:59 -0800 (PST) Date: Wed, 7 Jan 2015 11:37:57 +0100 From: Gary Jennejohn To: Michael Gmelin Subject: Re: Testing i915kms/Haswell on Intel 4th generation grpahics Message-ID: <20150107113757.0a58b35d@ernst.home> In-Reply-To: <20150107095443.2ac900e4@bsd64.grem.de> References: <20150106044154.50171e38@bsd64.grem.de> <20150107095443.2ac900e4@bsd64.grem.de> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 10:38:02 -0000 On Wed, 7 Jan 2015 09:54:43 +0100 Michael Gmelin wrote: > On Wed, 7 Jan 2015 08:05:16 +0400 > Andrey Fesenko wrote: > > > On Tue, Jan 6, 2015 at 6:41 AM, Michael Gmelin > > wrote: > > > Hi, > > > > > > I took kib's patches from https://www.kib.kiev.ua/kib/drm/ and > > > merged them into CURRENT (a couple of changes in vm). I also added > > > my chipset id to pciids, i915 and agp. > > > > > > The merged/updated patch can be found here: > > > > > > http://blog.grem.de/bits/haswellgfx_20150106.patch > > > > > > > You patch not contain i915_gem_stolen.c, intel_ddi.c, intel_pm.c and > > not build, this files exist > > https://www.kib.kiev.ua/kib/drm/i915.8.patch > > > > I'm have i5-4570 > > pciconf > > vgapci0@pci0:0:2:0: class=0x030000 card=0xd0001458 chip=0x04128086 > > rev=0x06 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Haswell Integrated Graphics Controller' > > class = display > > subclass = VGA > > bar [10] = type Memory, range 64, base 0xf0000000, size > > 4194304, enabled bar [18] = type Prefetchable Memory, range 64, > > base 0xe0000000, size 268435456, enabled > > bar [20] = type I/O Port, range 32, base 0xf000, size 64, > > enabled cap 05[90] = MSI supports 1 message > > cap 01[d0] = powerspec 2 supports D0 D3 current D0 > > cap 13[a4] = PCI Advanced Features: FLR TP > > > > If after rebuild kernel and restart, set drm.debug=2 and kldload > > i915kms system crushed. > > Thank you for pointing this out, I corrected the patch to contain > these files as well. Style aside, it basically results in the same code > as kib's patch, so it's redundant now. The only differences are PCI Ids > for chipsets that are not supported yet (that's what I was testing), I > attached a patch for those. > Reversed patch. -- Gary Jennejohn