Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 14:34:03 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-x11@freebsd.org
Subject:   Trying to run Broadwell
Message-ID:  <20151207133403.GB73105@becker.bs.l>
In-Reply-To: <CA%2BtpaK21cSbR%2BytGyc3d4_FotUJY3WjSbOasgkfyVjUt00Y6Og@mail.gmail.com>
References:  <20151203174008.GA98937@becker.bs.l> <alpine.BSF.2.20.1512031338070.24164@wonkity.com> <20151203222137.GA1111@becker.bs.l> <CA%2BtpaK21cSbR%2BytGyc3d4_FotUJY3WjSbOasgkfyVjUt00Y6Og@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151207133403.GB73105>