From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Thomas Hellstrom <thellstrom@vmware.com>
Cc: dri-devel@lists.sourceforge.net
Subject: Re: [PATCH 0/2] Make the vmwgfx driver reasonably DMA-API compliant
Date: Mon, 4 Nov 2013 11:30:53 -0500 [thread overview]
Message-ID: <20131104163053.GC6833@phenom.dumpdata.com> (raw)
In-Reply-To: <1383573459-3522-1-git-send-email-thellstrom@vmware.com>
On Mon, Nov 04, 2013 at 05:57:37AM -0800, Thomas Hellstrom wrote:
> These patches makes the vmwgfx driver use the DMA API to obtain valid
> device addresses rather than blindly using physical addresses.
>
> The main motivation is to be able to use a virtual IOMMU in the future.
Ooooh. Neat! Are there any RFC patches available?
>
> Other TTM drivers typically map pages one by one rather than using a
> scatter-gather list, but since we can benefit from having a single dma
> address region set up by the IOMMU, we use a scatter-gather list instead.
>
> Finally to be able to handle all the dma mapping modes, we locally extend the
> scatter-gather list page iterator to handle also the direct physical- and
> coherent cases.
>
> Finally, the TTM DMA page pool is enabled also when the Intel IOMMU is active
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
next prev parent reply other threads:[~2013-11-04 16:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 13:57 [PATCH 0/2] Make the vmwgfx driver reasonably DMA-API compliant Thomas Hellstrom
2013-11-04 13:57 ` [PATCH 1/2] drm/ttm: Enable the dma page pool also for intel IOMMUs Thomas Hellstrom
2013-11-04 16:34 ` Konrad Rzeszutek Wilk
2013-11-04 20:36 ` Thomas Hellstrom
2013-11-04 13:57 ` [PATCH 2/2] drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages Thomas Hellstrom
2013-11-04 16:27 ` Daniel Vetter
2013-11-04 17:26 ` Thomas Hellstrom
2013-11-04 16:40 ` Konrad Rzeszutek Wilk
2013-11-04 20:36 ` Thomas Hellstrom
2013-11-04 16:30 ` Konrad Rzeszutek Wilk [this message]
2013-11-04 20:35 ` [PATCH 0/2] Make the vmwgfx driver reasonably DMA-API compliant Thomas Hellstrom
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=20131104163053.GC6833@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=dri-devel@lists.sourceforge.net \
--cc=thellstrom@vmware.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.