Home
last modified time | relevance | path

Searched refs:dma_bits (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/dev/pci/drm/include/drm/
H A Ddrm_cache.h43 bool drm_need_swiotlb(int dma_bits);
/openbsd/sys/dev/pci/drm/
H A Ddrm_cache.c183 bool drm_need_swiotlb(int dma_bits) in drm_need_swiotlb() argument
212 return max_iomem > ((u64)1 << dma_bits); in drm_need_swiotlb()
/openbsd/sys/dev/pci/drm/radeon/
H A Dradeon_device.c1299 int dma_bits; in radeon_device_init() local
1379 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()