From: Manuel T. <man...@so...> - 2001-08-16 19:26:22
|
Hello. I've been trying to have the macros MACH64_READ and MACH64_WRITE using the Mach64 main aperture, because I've found they are using the secondary one, located in my card at 0xf4200000. Because Frank Earl said that perhaps UTAH-GLX was using the primary aperture, I was trying to change the macros to use all the time the main aperture. The only thing I've got are kernel Oops. The think I tried was changing the macro: #define MACH64_BASE(reg) ((u32)(dev_priv->mmio->handle)) where mmio is the mapping of the secondary aperture, with: #define MACH64_BASE(reg) ((u32)(dev_priv->fb->handle) + 0x007ffc00U) So, as the fb->offset is 0xf5000000, the main aperture, I'm trying to use the mapped registers at the top of the 8 Mb aperture. But the kernel doesn't like this, and I'm getting this kind of errors: Unable to handle kernel paging request at virtual address c9093c80 And I must reboot the machine to continue. Any idea? I've supposed that the virtual address mapping for the aperture is contiguous. Is this true? So, is there any clean way to test the main aperture without changing the 2D driver (the one saying us that the MMIO map is the secondary aperture) ? Thank you. -- M. Teira |