Testing i915kms/Haswell on Intel 4th generation grpahics

Michael Gmelin freebsd at grem.de
Wed Jan 7 10:59:07 UTC 2015


On Wed, 7 Jan 2015 11:37:57 +0100
Gary Jennejohn <gljennjohn at gmail.com> wrote:

> On Wed, 7 Jan 2015 09:54:43 +0100
> Michael Gmelin <freebsd at grem.de> wrote:
> 
> > On Wed, 7 Jan 2015 08:05:16 +0400
> > Andrey Fesenko <f0andrey at gmail.com> wrote:
> > 
> > > On Tue, Jan 6, 2015 at 6:41 AM, Michael Gmelin <freebsd at grem.de>
> > > 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 at 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.
> 

patch -p1 -R ;)

-- 
Michael Gmelin


More information about the freebsd-x11 mailing list