about_radeon_dma

Konrad Rzeszutek Wilk konrad.wilk at oracle.com
Wed Jun 13 06:57:28 PDT 2012


On Wed, Jun 13, 2012 at 09:44:19AM +0800, llittle了了 wrote:
> 
> HI,all
>       Now, my lab is using radeon_ati card。And, I need ati_card dma function。But, I do not clear that how the ati card know the dma address which alloced by kernel??

By using the PCI API.

> 

>       Can any kernel drivers for radeon card give me some advise or explain the answer? 
> 
>       I have read the radeon driver in kernel (/driver/gpu/drm/randeon/xxx )and the TTM manager. So, as I know, If I use GFP_KERNEL sign to alloc memory, the radeon_card work right, but any other palce ,it failed. Why and how this happened?
>       Is there any way to tell the dma address and ring buffer address in kernel to the radeon_card ?
> 
>      It`s so confused! Hope for your answer! 
>  
> 
> Thanks so much!
> zhiyig Si
>  		 	   		  

> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel



More information about the dri-devel mailing list