All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: llittle了了 <sizhiying@hotmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: about_radeon_dma
Date: Wed, 13 Jun 2012 09:57:28 -0400	[thread overview]
Message-ID: <20120613135728.GE5979@phenom.dumpdata.com> (raw)
In-Reply-To: <BLU143-W5B296BF48D70D9CD673D2B7F50@phx.gbl>

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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

  reply	other threads:[~2012-06-13 14:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13  1:44 about_radeon_dma llittle了了
2012-06-13 13:57 ` Konrad Rzeszutek Wilk [this message]
2012-06-14  1:55   ` about_radeon_dma llittle了了
2012-06-14  2:35     ` about_radeon_dma Alex Deucher
2012-06-14  4:04       ` about_radeon_dma llittle了了
2012-06-14 14:46         ` about_radeon_dma Jerome Glisse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120613135728.GE5979@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sizhiying@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.