ttm: Include the 'struct dev' when using the DMA API.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 22 Feb 2011 18:24:32 +0000 (13:24 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 22 Feb 2011 18:26:23 +0000 (13:26 -0500)
commit5a893fc28f0393adb7c885a871b8c59e623fd528
tree8d119f02b7d0ba7e60f0f554fa5000c2cce2fb87
parente0138c26cdeee8c033256ccd9e07d66db3c998be
ttm: Include the 'struct dev' when using the DMA API.

This makes the accounting when using 'debug_dma_dump_mappings()'
and CONFIG_DMA_API_DEBUG=y be assigned to the correct device
instead of 'fallback'.

No functional change - just cosmetic.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_page_alloc.h