CCA4 mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm trying to make a mapping (with burst mode (CCA4)) from the graphic card 
memory to the virtual memory space.

I used the __ioremap with different parameters without success.

The grafic card memory is 64MB, and can be found at 0x00800000 and should be 
mapped to a memory space that can be accessed via a kernel module or via user 
space.

I tried the following mapping:

add_wired_entry((0x00800000 >> 2) | 0x0027, (0x00900000 >> 2) | 0x0027, 
0x30000000 | 0x0027, 0x01ffe000);
add_wired_entry((0x00a00000 >> 2) | 0x0027, (0x00a00000 >> 2) | 0x0027, 
0x32000000 | 0x0027, 0x01ffe000);

This doesn't work either.

Does anybody have an idea how to make the CCA4 mapping?

Cu Hauke


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux