summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2013-03-09 21:24:32 +0100
committerMark Kettenis <kettenis@openbsd.org>2013-03-09 21:24:32 +0100
commit83b3d2b7b6061bfa7d433fac12d52ba53307d5de (patch)
tree5c006c75e484c37f1670da9a0f9ab71b2df64862 /sys/dev/pci
parent768d1405f03981babd048b6b48b94c443cc85b97 (diff)
Add agp_bus_dma_rebind(), and interface to re-enter mappings into the GART/GTT
when we resume or want to change for example the cachability of the mapping.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/agpvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h
index 21927155e51..cf6e5fce065 100644
--- a/sys/dev/pci/agpvar.h
+++ b/sys/dev/pci/agpvar.h
@@ -193,6 +193,7 @@ int agp_bus_dma_init(struct agp_softc *, bus_addr_t, bus_addr_t,
void agp_bus_dma_destroy(struct agp_softc *, bus_dma_tag_t);
void agp_bus_dma_set_alignment(bus_dma_tag_t, bus_dmamap_t,
u_long);
+void agp_bus_dma_rebind(bus_dma_tag_t, bus_dmamap_t, int);
void *agp_map(struct agp_softc *, bus_addr_t, bus_size_t,
bus_space_handle_t *);