Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 18:07:31 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        eta@lclark.edu
Cc:        dri-devel@lists.sourceforge.net
Subject:   No DRM kernel support for i830 ?
Message-ID:  <20040811110731.GA74988@regency.nsu.ru>

next in thread | raw e-mail | index | archive | help
Hi there,

Judging from /sys/dev/drm/ contents, and listed kernel options in NOTES,
there's currently evidence of support for i810/830 chips in FreeBSD,
which (I suspect) is the probable reason why DRI is not enabled on my
box (FreeBSD 5.2-CURRENT from yesterday, latest X.Org).  I also found
traces of i810/830 support in FDo CVS
(http://freedesktop.org/cgi-bin/viewcvs.cgi/dri/drm/bsd/i830/),
getting me to the fact that i8x0 files were removed from the BSD side,
since they were not actually ported.  (Unfinished? broken? unstable?)

Googling also revealed that back in 2002, someone (namely, moto kawasaki
<kawasaki@mbg.sphere.ne.jp>) was compiling FreeBSD's DRM with signs of
i830 in it
(https://lists.csociety.org/pipermail/freebsd-xfree86/2002-April/000189.html):
%%%
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstr
ict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fform
at-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contri
b/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2
../../dev/drm/i830_dma.c
../../dev/drm/i830_dma.c: In function `i830_getbuf':
../../dev/drm/i830_dma.c:1506: `current' undeclared (first use in this function)
../../dev/drm/i830_dma.c:1506: (Each undeclared identifier is reported only once
../../dev/drm/i830_dma.c:1506: for each function it appears in.)
*** Error Code 1

Stop in /usr/src/sys/compile/KAWASAKI
%%%

I would be most grateful to anyone that could shine a bit of light on
current situation, or at least give authoritative and complete answer on
whether I can or cannot use DRM/DRI on FreeBSD with i830 for today.

On Eric's page (http://people.freebsd.org/~anholt/dri/) there's a TODO
item that says "Port the i810 driver".  What is current status of this
item?  Is there anything I can help with?

In case there something that can be done to hack it around and make it
work, I'd really love to hear how.  (Maybe there some untested or broken
patches are floating around that one can make use of.)

Thanks in advance.  Any information/pointers are most welmome.

./danfe



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