Hod McWuff wrote:
On Wed, 2004-02-11 at 19:03, Michel Dänzer wrote:
On Thu, 2004-02-12 at 00:26, Hod McWuff wrote:
On Wed, 2004-02-11 at 17:28, Michel Dänzer wrote:

I've found Gatos-related changes in radeon_cp.c, radeon_drv.h, and
radeon_state.c. I've reimplemented what changes I could find...

They're mostly superfluous AFAICT. Again, the DRM in current DRI CVS should basically work with the GATOS 2D driver, that one just needs to set up things similarly to how the 2D driver in DRI CVS does.

I see two types of changes; adding dev_priv->fb_offset, and doing some bit masking. There's also the spot in radeon_cp where it appears to write a couple of new initializations to the card. You're sure those are superfluous? They're the only substantial differences I've been able to pick out thus far. OTOH, they haven't produced the desired result yet.

Just to make sure we're on the same page, I'm doing all of my testing
with XFree 4.3.0 plus Gatos ati.2. In all cases except in between the
patch states I've outlined, 2D and TV (xawtv) work just fine. The only
variable is whether DRI connects to DRM, whether it produces visible
output, whether it locks on some apps or not.

Software rendering, of course, works fine as long as the DRI isn't
connected to a faulty DRM.

I believe something isn't being communicated here. As I understand it, the changes that make GATOS "different" are in the 2D driver. The changes made by the GATOS team to the DRM were purely to support changes in the memory layout expected by their 2D driver, and the changes to the 3D driver were purely to work with the changes in the 3D driver.


In a way that is compatable with older 2D & 3D drivers, some folks on the DRI team made similar changes to the DRI DRM and 3D driver. Some extra initialization was added to let the 2D driver tell the DRM to use the GATOS style memory layout. If my interpretation is correct, the only changes that should need to be made to get GATOS to work with the DRI DRM & 3D driver are in the initialization of the GATOS 2D driver. Once that is done the GATOS DRM & 3D driver become irrelevant relics.

All of those DRI changes were, of course, post-4.3.0.

Michel, is my understanding of the situation correct?




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to