El Sáb 22 Sep 2001 14:54, escribiste:
> Hi guys!
>
> I've had lot of other things to do in the past weeks so I couldn't work
> on mach64. I've still problems to compile the trunk with Manuel's
> patches. I haven't had time to track this down, so I decided to post my
> changes of mach64_dma.c which I have made in my copy of the
> mach64-branch. There it compiles well. The GUI-master isn't performed
> though, but I rewrote the reset_engine function according to the
> programmer's guide and I call it if the idle test after the transfer
> failed. So hardware doesn't lock on my machine and I can start X where
> glxinfo tells me that I'm have hardware based DRI but gears locks my
> machine  so that I have to reboot vie ssh.

It's nice to hear about you again. I'll test the changes you've made on my
machine ASAP. BTW, I've take a fast look about the way you are allocating the
memory for the test:

struct pci_pool *pool;
 void *cpu_addr_table, *cpu_addr_data;
void *cpu_addr_table, *cpu_addr_data;
pool = pci_pool_create( "mach64", NULL, 0x4000, 0x4000, 0x4000, SLAB_ATOMIC );
cpu_addr_table = pci_pool_alloc( pool, SLAB_ATOMIC, &table_addr );
cpu_addr_data = pci_pool_alloc( pool, SLAB_ATOMIC, &data_addr );

What alignment are you getting on this way? Could we select a diferent
alignment using this kind of memory alloc?


>
> It is possible, that the mach64_dma.c doesn't compile because I couldn't
> test it. If something fails please report to me; there may be cut and
> paste errors.

I'll try soon.

--
M. Teira

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to