Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb map st...
details: https://anonhg.NetBSD.org/src/rev/94088612701c
branches: trunk
changeset: 341136:94088612701c
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Oct 19 23:31:26 2015 +0000
description:
map stolen memory with BUS_DMA_COHERENT
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_ramgk20a.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f957e9c8de8d -r 94088612701c sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_ramgk20a.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_ramgk20a.c Mon Oct 19 22:00:09 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nouveau_subdev_fb_ramgk20a.c Mon Oct 19 23:31:26 2015 +0000
@@ -132,7 +132,7 @@
}
ret = -bus_dmamem_map(dmat, &mem->dmaseg, nsegs, dmasize,
- &mem->cpuaddr, BUS_DMA_WAITOK);
+ &mem->cpuaddr, BUS_DMA_WAITOK | BUS_DMA_COHERENT);
if (ret) {
fail2: bus_dmamap_destroy(dmat, mem->base.pages);
goto fail1;
Home |
Main Index |
Thread Index |
Old Index