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/radeon Do a post-write DMA sy...
details: https://anonhg.NetBSD.org/src/rev/176d3699eca0
branches: trunk
changeset: 330676:176d3699eca0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jul 17 17:29:39 2014 +0000
description:
Do a post-write DMA sync pos-write, not a pre-write one.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d00b6acae007 -r 176d3699eca0 sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c Thu Jul 17 17:19:42 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c Thu Jul 17 17:29:39 2014 +0000
@@ -275,7 +275,7 @@
membar_sync(); /* XXX overkill */
if (rdev->gart.rg_table_map != NULL)
bus_dmamap_sync(rdev->ddev->dmat, rdev->gart.rg_table_map,
- gpu_pgstart*4, gpu_npages*4, BUS_DMASYNC_PREWRITE);
+ gpu_pgstart*4, gpu_npages*4, BUS_DMASYNC_POSTWRITE);
radeon_gart_tlb_flush(rdev);
}
#endif
Home |
Main Index |
Thread Index |
Old Index