Testing i915kms/Haswell on Intel 4th generation grpahics

Michael Gmelin freebsd at grem.de
Wed Jan 7 09:01:34 UTC 2015


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.

- Michael

-- 
Michael Gmelin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haswell_pciids.patch
Type: text/x-patch
Size: 1741 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20150107/36cca361/attachment.bin>


More information about the freebsd-x11 mailing list