opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dri-devel@lists.sourceforge.net 13 June 2008 • 1:49AM -0400

Re: GEM merging to master
by Paulo Cesar Pereira de Andrade

REPLY TO AUTHOR
 
REPLY TO GROUP






He, Shuang wrote:
> Johannes Engel ??:
>> Quoting Eric Anholt:
>>  
>>> We're getting close to ready to mark GEM on Intel as done.  We've got
>>> one failing testcase that we isolated this week with interrupt handling,
>>> and we've got a fix in testing that appears to be doing the job.
>>>
>>> Tomorrow I'm planning on merging the GEM code to master of all 3
>>> repositories.  At that point, I'll cut a branch called drm-ttm in drm
>>> with the existing interface and support.  After that I'm planning on the
>>> following changes:
>>>    
>> I just tested the actual state of the drm-gem branches in drm, mesa and
>> xf86-video-intel.
>> But I could not manage to setup GEM, since there is no DRI2 support in
>> the driver and obviously none of the other conditions on ddx_version
>> etc. are fulfilled. Is there any special requirement I forgot?
>>
>> Best regards, Johannes
  Is it possible to somehow only patch drm/i915 kernel modules to test GEM?

  I built some test packages that builds a dkms, but GEM fails to load
as both drm and i915 have unresolved symbols. I built mesa/drm, mesa/mesa
and xorg/drivers/xf86-video-intel using the origin/drm-gem branch.
(Sources from yesterday)

  I am still hoping to see the master branch of those also work...
Mesa compiled with --enable-ttm, but so far only usable when using
standard kernel modules, i.e. "Classic mode". Maybe I am missing
something...

> Hi, hohannes
> You may need to build mesa with --enable-ttm-api, and update drm kernel
> modules as well whose source is under drm/linux-core,
> it depends on another kernel symbol to be exported, so you need to apply
> following to your kernel
>
> diff --git a/mm/shmem.c b/mm/shmem.c
> index e2a6ae1..069ff39 100644
> --- a/mm/shmem.c
> +++ b/mm/shmem.c
> @@ -2558,6 +2558,7 @@ put_memory:
>   shmem_unacct_size(flags, size);
>   return ERR_PTR(error);
>  }
> +EXPORT_SYMBOL(shmem_file_setup);
>  
>  /**
>   * shmem_zero_setup - setup a shared anonymous mapping

Paulo


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
--
_______________________________________________
Dri-devel mailing list
Dri-devel@list...
https://lists.sourceforge.net/lists/listinfo/dri-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.