mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
We don't know what these pages are going to be used for, they should be
un-cached. This got lost somewhere with all the bus_dma fixups. MFC after: 3 days
This commit is contained in:
parent
497435aafd
commit
221478e4c6
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ drm_pci_alloc(struct drm_device *dev, size_t size,
|
|||
}
|
||||
|
||||
ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr,
|
||||
BUS_DMA_WAITOK | BUS_DMA_ZERO, &dmah->map);
|
||||
BUS_DMA_WAITOK | BUS_DMA_ZERO | BUS_DMA_NOCACHE, &dmah->map);
|
||||
if (ret != 0) {
|
||||
bus_dma_tag_destroy(dmah->tag);
|
||||
free(dmah, DRM_MEM_DMA);
|
||||
|
|
|
|||
Loading…
Reference in a new issue