Searched refs:dma_bits (Results 1 – 3 of 3) sorted by relevance
43 bool drm_need_swiotlb(int dma_bits);
183 bool drm_need_swiotlb(int dma_bits) in drm_need_swiotlb() argument212 return max_iomem > ((u64)1 << dma_bits); in drm_need_swiotlb()
1299 int dma_bits; in radeon_device_init() local1379 dma_bits = 40; in radeon_device_init()1381 dma_bits = 32; in radeon_device_init()1384 dma_bits = 32; in radeon_device_init()1387 dma_bits = 32; in radeon_device_init()1390 r = dma_set_mask_and_coherent(&rdev->pdev->dev, DMA_BIT_MASK(dma_bits)); in radeon_device_init()1395 rdev->need_swiotlb = drm_need_swiotlb(dma_bits); in radeon_device_init()