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>
Showing
- drivers/gpu/drm/nouveau/nouveau_mem.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nouveau_mem.c
- drivers/gpu/drm/radeon/radeon_ttm.c 1 addition, 0 deletionsdrivers/gpu/drm/radeon/radeon_ttm.c
- drivers/gpu/drm/ttm/ttm_page_alloc.c 6 additions, 5 deletionsdrivers/gpu/drm/ttm/ttm_page_alloc.c
- drivers/gpu/drm/ttm/ttm_tt.c 2 additions, 2 deletionsdrivers/gpu/drm/ttm/ttm_tt.c
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c 1 addition, 1 deletiondrivers/gpu/drm/vmwgfx/vmwgfx_drv.c
- include/drm/ttm/ttm_bo_driver.h 1 addition, 0 deletionsinclude/drm/ttm/ttm_bo_driver.h
- include/drm/ttm/ttm_page_alloc.h 6 additions, 2 deletionsinclude/drm/ttm/ttm_page_alloc.h
Please register or sign in to comment