diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-06-12 10:05:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-06-12 10:05:44 +0000 |
commit | 716d5b5592badaf2612764a3ebf264866b184f1a (patch) | |
tree | 3a9ae5c2bffe3063fdf5d83c056a6becd789c0ec /sys/dev/pci | |
parent | 19d026172a08e345bf977b60c5cd50268ba4f830 (diff) |
Since we don't support CONFIG_SWIOTLB, make drm_need_swiotlb() just return
false. In theory somebody could plug an old radeon card into a machine
with a ridiculous amount of memory (or a really old PCI/AGP card in a
machine with >4GB of memory) but supporting that scenario just isn't
worth it.
ok jsg@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/drm_memory.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_memory.c b/sys/dev/pci/drm/drm_memory.c index b88070d2bc0..f19e9311c23 100644 --- a/sys/dev/pci/drm/drm_memory.c +++ b/sys/dev/pci/drm/drm_memory.c @@ -165,7 +165,6 @@ EXPORT_SYMBOL(drm_legacy_ioremapfree); bool drm_need_swiotlb(int dma_bits) { - STUB(); return false; #ifdef notyet struct resource *tmp; |