Intel GPU kernel driver

Kostik Belousov kostikbel at gmail.com
Fri Jul 8 09:20:45 UTC 2011


On Fri, Jul 08, 2011 at 01:22:08AM +0300, George Liaskos wrote:
> On Thu, Jun 30, 2011 at 7:23 PM, Kostik Belousov <kostikbel at gmail.com> wrote:
> > [Please remove current@ when replying.]
> >
> > I created the first code drop for the ongoing GEM/KMS project. Please
> > note that this is not an end-user release, and even _not_ a call for
> > testing. The project is not finished yet, and I expect quite more
> > efforts from me even after the scheduled project end, and from ports/x11
> > people, before the driver and usermode infrastructure will be ready for
> > the general public consumption.
> >
> > That said, the patch is only of use for you now if you want to review,
> > debug or otherwise help the project. The driver is known to be unstable,
> > some parts are missing, some (esp. VM changes) are under the discussion
> > and propably will be changed.
> >
> > If you have fix or useful bug analisys or suggestions for improvements,
> > you are welcome. I will not answer to the support requests for this
> > code now, please do not waste your time asking for it.
> >
> > The pointers to the patches, useful hints for debugging and bug
> > reporting, and some notes are at the http://wiki.freebsd.org/Intel_GPU.
> > I will maintain this page further.
> >
> > Current patch is ~50KLOC, it took quite an efforts to bring the code to
> > the state where there is something to debug. Thanks for everybody who
> > waited for it, and please be patient while the further work is done.
> >
> 
> Hello Kostik,
> 
> I am trying to get my gm45 [0x2a428086] working with your
> patches and i found a bug.
> 
> A call to agp_gen5_get_gtt_total_entries returns ENXIO, what i
> found is that in my case (gcc1 & AGP_G4x_GCC1_SIZE_MASK) == 0xb00.
> 
> I did a cross check with Linux and there isn't such a valid value defined
> but the Linux code does not error on default case, it continues with our
> agp_i965_get_gtt_total_entries() equivalent.
> 
> After this change, X starts but the image has artifacts. It's progress :)
> Thank you for your work!
> 
> xorg log: http://pastebin.com/a0zak5LY

Thank you for the report.

It seems that this is a typo in the agpreg.h. Please try all.3.6.patch.
Xorg log is the least useful. I need boot verbose dmesg to look at the
agp state.

Also, please show me the screenshot of the corrupted screen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20110708/10db8a03/attachment.pgp


More information about the freebsd-x11 mailing list