aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-12-02 11:36:24 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-18 17:27:49 -0500
commite0138c26cdeee8c033256ccd9e07d66db3c998be (patch)
tree2d354ce89abb54bf9ae36e6ca287e12d84c2ed5b /include
parentc39d35161e87f1d7c0628af6907ac66a8c77f63f (diff)
downloadkernel_samsung_espresso10-e0138c26cdeee8c033256ccd9e07d66db3c998be.zip
kernel_samsung_espresso10-e0138c26cdeee8c033256ccd9e07d66db3c998be.tar.gz
kernel_samsung_espresso10-e0138c26cdeee8c033256ccd9e07d66db3c998be.tar.bz2
nouveau/ttm/PCIe: Use dma_addr if TTM has set it.
If the TTM layer has used the DMA API to setup pages that are TTM_PAGE_FLAG_DMA32 (look at patch titled: "ttm: Utilize the DMA API for pages that have TTM_PAGE_FLAG_DMA32 set"), lets use it when programming the GART in the PCIe type cards. This patch skips doing the pci_map_page (and pci_unmap_page) if there is a DMA addresses passed in for that page. If the dma_address is zero (or DMA_ERROR_CODE), then we continue on with our old behaviour. [v2: Added a review-by tag] Reviewed-by: Thomas Hellstrom <thomas@shipmail.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions