summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-07 09:31:30 +0300
committerChristoph Hellwig <hch@lst.de>2023-06-07 16:11:26 +0300
commit0a2f6372a43ff5e948b8b10be34d4473f6c2ef6c (patch)
treefc6962796e5057a940a06a0b6671c9438b8fd4c4 /include
parent693405cf11357017ea29764e3bd9488a2d292d8f (diff)
downloadlinux-0a2f6372a43ff5e948b8b10be34d4473f6c2ef6c.tar.xz
drm/nouveau: stop using is_swiotlb_active
Drivers have no business looking into dma-mapping internals and check what backend is used. Unfortunstely the DRM core is still broken and tries to do plain page allocations instead of using DMA API allocators by default and uses various bandaids on when to use dma_alloc_coherent. Switch nouveau to use the same (broken) scheme as amdgpu and radeon to remove the last driver user of is_swiotlb_active. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions