From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 11 11:07:27 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E08F816A4CE for ; Wed, 11 Aug 2004 11:07:26 +0000 (GMT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D6DA43D1D for ; Wed, 11 Aug 2004 11:07:25 +0000 (GMT) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.34) id 1Bur7h-0000no-Ps; Wed, 11 Aug 2004 18:18:25 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.10/8.12.10) with ESMTP id i7BB7W0m083307; Wed, 11 Aug 2004 18:07:32 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.10/8.12.10/Submit) id i7BB7VY9083272; Wed, 11 Aug 2004 18:07:31 +0700 (NOVST) (envelope-from danfe) Date: Wed, 11 Aug 2004 18:07:31 +0700 From: Alexey Dokuchaev To: eta@lclark.edu Message-ID: <20040811110731.GA74988@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Wed, 11 Aug 2004 12:43:44 +0000 cc: hackers@freebsd.org cc: dri-devel@lists.sourceforge.net Subject: No DRM kernel support for i830 ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 11:07:27 -0000 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 ) 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