Re: Looking for i915 build info

2005-11-09 Thread Dave Kavanagh
Thank you both for the information. I had wrongly assumed that
i915_dri.so was a binary provided by Intel.

Dave


On 11/8/05, Felix Kühling [EMAIL PROTECTED] wrote:
 Am Dienstag, den 08.11.2005, 17:05 -0400 schrieb Dave Kavanagh:
  I am looking at adding vblank synchronization support to the i915 driver.
  I have a few questions on how all of the pieces fit together and where the
  source code comes from.
 
  From my understanding, the snapshots such as i915-20051107-linux.i386
  contain source code that is built to update the kernel DRM modules (i915.ko
  and drm.ko). The snapshot also contains binary files (i915_dri.so and
  i810_drv.o) that are copied over the existing X modules.

 i810_drv.so in the latest version. ;-) We're using the DLLoader now.

 
  My question is this. Where is the source code that builds the new X modules?
  I found the code that builds the original modules in the X source but I 
  can't
  find the source for the updated modules.

 The DDX (2D) driver modules are built from Xorg CVS HEAD. The DRI (3D)
 driver modules are built from Mesa CVS HEAD.

 
  I am very new to DRM/DRI so I may be missing something but it seems to me 
  that
  adding vblank synchronization support will require modifications to both the
  DRM and DRI parts of the equation.

 I don't know what the status of this is in the i915 driver. But in
 general you are right. Both DRM and DRI need support for vblank
 synchronization, for example by using IRQs.

 
  Can somebody enlighten me? Any information is appreciated.
 
  Thanks,
  Dave Kavanagh
 

 Regards,
  Felix

 --
 | Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu |
 | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Looking for i915 build info

2005-11-08 Thread Dave Kavanagh
I am looking at adding vblank synchronization support to the i915 driver.
I have a few questions on how all of the pieces fit together and where the
source code comes from.

From my understanding, the snapshots such as i915-20051107-linux.i386
contain source code that is built to update the kernel DRM modules (i915.ko
and drm.ko). The snapshot also contains binary files (i915_dri.so and
i810_drv.o) that are copied over the existing X modules.

My question is this. Where is the source code that builds the new X modules?
I found the code that builds the original modules in the X source but I can't
find the source for the updated modules.

I am very new to DRM/DRI so I may be missing something but it seems to me that
adding vblank synchronization support will require modifications to both the
DRM and DRI parts of the equation.

Can somebody enlighten me? Any information is appreciated.

Thanks,
Dave Kavanagh


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Looking for i915 build info

2005-11-08 Thread Keith Whitwell

Dave Kavanagh wrote:

I am looking at adding vblank synchronization support to the i915 driver.
I have a few questions on how all of the pieces fit together and where the
source code comes from.


From my understanding, the snapshots such as i915-20051107-linux.i386

contain source code that is built to update the kernel DRM modules (i915.ko
and drm.ko). The snapshot also contains binary files (i915_dri.so and
i810_drv.o) that are copied over the existing X modules.

My question is this. Where is the source code that builds the new X modules?
I found the code that builds the original modules in the X source but I can't
find the source for the updated modules.

I am very new to DRM/DRI so I may be missing something but it seems to me that
adding vblank synchronization support will require modifications to both the
DRM and DRI parts of the equation.

Can somebody enlighten me? Any information is appreciated.


For the DRM modules, you are better off looking at the DRM CVS tree.  The 
clientside 3d module, i915_dri.so, is built from Mesa CVS, while the 
Device-Dependent X (DDX) driver, i810_drv.o, is built from X.org cvs.


Believe me, it used to be even more complicated...

Keith


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Looking for i915 build info

2005-11-08 Thread Felix Kühling
Am Dienstag, den 08.11.2005, 17:05 -0400 schrieb Dave Kavanagh:
 I am looking at adding vblank synchronization support to the i915 driver.
 I have a few questions on how all of the pieces fit together and where the
 source code comes from.
 
 From my understanding, the snapshots such as i915-20051107-linux.i386
 contain source code that is built to update the kernel DRM modules (i915.ko
 and drm.ko). The snapshot also contains binary files (i915_dri.so and
 i810_drv.o) that are copied over the existing X modules.

i810_drv.so in the latest version. ;-) We're using the DLLoader now.

 
 My question is this. Where is the source code that builds the new X modules?
 I found the code that builds the original modules in the X source but I can't
 find the source for the updated modules.

The DDX (2D) driver modules are built from Xorg CVS HEAD. The DRI (3D)
driver modules are built from Mesa CVS HEAD.

 
 I am very new to DRM/DRI so I may be missing something but it seems to me that
 adding vblank synchronization support will require modifications to both the
 DRM and DRI parts of the equation.

I don't know what the status of this is in the i915 driver. But in
general you are right. Both DRM and DRI need support for vblank
synchronization, for example by using IRQs.

 
 Can somebody enlighten me? Any information is appreciated.
 
 Thanks,
 Dave Kavanagh
 

Regards,
  Felix

-- 
| Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel