Trying to run Broadwell

Bertram Scharpf lists at bertram-scharpf.de
Mon Dec 7 13:34:15 UTC 2015


Hi,

this is from freebsd-questions:

On Thursday, 03. Dec 2015, 16:31:05 -0600, Adam Vande More wrote:
> On Thu, Dec 3, 2015 at 4:21 PM, Bertram Scharpf <lists at bertram-scharpf.de> wrote:
> > On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote:
> > > On Thu, 3 Dec 2015, Bertram Scharpf wrote:
> > > >
> > > >  Section "Device"
> > > >      Identifier  "Card0"
> > > >      Driver      "intel"
> > > >      BusID       "PCI:0:2:0"
> > > >  EndSection
> > > >
> > > >  # pciconf -lv | grep -A 4 vga
> > > >  vgapci0 at pci0:0:2:0:     class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00
> > > >      vendor     = 'Intel Corporation'
> > > >      device     = 'Broadwell-U Integrated Graphics'
> > > >      class      = display
> > > >      subclass   = VGA
> > > >
> > > > Looks good, doesn't it? Besides that, Linux on the same
> > > > machine uses the "intel" driver successfully.
> > >
> > > Broadwell is not yet supported by the intel driver version in FreeBSD.
> > > At present, vesa must be used.
> >
> > What does "not yet"/"at present" mean? Is there currently
> > work on it? I would not mind to contribute, not least
> > because I now own an excellent testing environment.
> 
>  I believe broadwell is covered in the 3.8 update.
> https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux%203.8

  # kldload i915kms
  kldload: can't load i915kms: No such file or directory

Kernel messages from dmesg:

  info: [drm] Initialized drm 1.1.0 20060810
  link_elf: symbol mchdev_lock undefined
  sysctl_unregister_oid: failed to unregister sysctl

I cannot find the symbol "mchdev_lock" in any file but
"i915kms.ko". There is no definition of the variable in the
source tree.

I have a running Gentoo Linux 4.1.12 here. There, in the
kernel sources I find a definition of "mchdev_lock". Could
that be easily copied into the FreeBSD kernel module source
file? At the moment I'm fetching the 3.8 sources. I'm
planning to first compare the two kernel versions, then to
compare one of them to the above source tree.

Is this approach okay?

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


More information about the freebsd-x11 mailing list