On Fri, 2008-08-15 at 22:25 +0200, Tomas Carnecky wrote: > Steven J Newbury wrote: > > On Wed, 2008-06-25 at 21:14 +0100, Steven J Newbury wrote: > >> On Wed, 2008-06-25 at 20:03 +0100, Steven J Newbury wrote: > >>> On Wed, 2008-06-25 at 11:30 -0700, Jesse Barnes wrote: > >>>> On Wednesday, June 25, 2008 10:28 am Steven J Newbury wrote: > >>>>> On Wed, 2008-06-25 at 16:29 +0100, Johannes Engel wrote: > >>>>>> Steven J Newbury wrote: > >>>>>>> When building with a separate objdir -I$(top_srcdir)/libdrm needs to > >>>>>>> be > >>>>>>> added to the intel Makefile.am otherwise only $(top_builddir)/libdrm > >>>>>>> is > >>>>>>> included which doesn't contain the source headers. > >>>>>>> > >>>>>>> I've also been unable to build the drm-gem DRM module against the > >>>>>>> current git linux tree, what changes are needed (to the linux headers; > >>>>>>> and symbol exports?) and is there a patch? > >>>>>> Have a look at bug #16474. Also you need to export symbols > >>>>>> shmem_getpage > >>>>>> and shmem_file_setup via EXPORT_SYMBOL in <kernel-source>/mm/shmem.c. > >>>>>> For me it compiles using this changes but does not work stable since it > >>>>>> crashes once you start for example glxgears. > >>>>>> > >>>>>> Cheers, Johannes > >>>>> Thanks Johannes, I spotted that soon after posting (I filter the > >>>>> bugzilla messages separately) and have just tried it. Unfortunately, I > >>>>> don't even get that far, drm reports that it "fails to map the ring > >>>>> buffer" and X fails to start. :( > >>>> Are you running the drm-gem branch of the 2D driver as well? > >>> It certainly should have been! :) > >>> > >>> I'll give it another try tomorrow. > > OK. I tried i again. I get the following oops in my kernel log: > > > > Jun 26 03:23:32 infinity [drm:i915_gem_init_ringbuffer] *ERROR* Failed > > to map ringbuffer. [SNIP] > > I'm getting a similar oops with todays linux-2.6 (Linus' kernel tree) > plus Eric Anholt's drm-gem-merge pulled in: > I've opened a bug for this: http://bugs.freedesktop.org/show_bug.cgi?id=17085 do add any details you have, hopefully we can get this bug isolated and fixed.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
