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 Omit needless bus_dmam...
details: https://anonhg.NetBSD.org/src/rev/19df0ca3b94b
branches: trunk
changeset: 336354:19df0ca3b94b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Feb 26 23:00:05 2015 +0000
description:
Omit needless bus_dmamap_sync -- they're batched for gart updates.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/rs400.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diffs (19 lines):
diff -r 3e386049fbac -r 19df0ca3b94b sys/external/bsd/drm2/dist/drm/radeon/rs400.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/rs400.c Thu Feb 26 19:43:43 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/rs400.c Thu Feb 26 23:00:05 2015 +0000
@@ -225,15 +225,7 @@
((upper_32_bits(addr) & 0xff) << 4) |
RS400_PTE_WRITEABLE | RS400_PTE_READABLE;
entry = cpu_to_le32(entry);
-#ifdef __NetBSD__ /* XXX Batch syncs for batch GART updates. */
- bus_dmamap_sync(rdev->ddev->dmat, rdev->gart.rg_table_map, i*4, 4,
- BUS_DMASYNC_PREWRITE);
-#endif
gtt[i] = entry;
-#ifdef __NetBSD__ /* XXX Batch syncs for batch GART updates. */
- bus_dmamap_sync(rdev->ddev->dmat, rdev->gart.rg_table_map, i*4, 4,
- BUS_DMASYNC_POSTWRITE);
-#endif
return 0;
}
Home |
Main Index |
Thread Index |
Old Index