summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@freebsd.org>2000-05-29 11:21:38 +0000
committerDoug Rabson <dfr@freebsd.org>2000-05-29 11:21:38 +0000
commitdb21bb3529521dbf31f9a45a567ecae93e751300 (patch)
tree37e861ff38e0072cb72adcd0e9fa630e6150e4b3
parent961eae2f9357aefaaa42b2a19a371b6f16cd7394 (diff)
Add AGP support to drm_mmap().
-rw-r--r--bsd/drm/vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd/drm/vm.c b/bsd/drm/vm.c
index 66bd29afb..9c457fca3 100644
--- a/bsd/drm/vm.c
+++ b/bsd/drm/vm.c
@@ -91,6 +91,7 @@ int drm_mmap(dev_t kdev, vm_offset_t offset, int prot)
switch (map->type) {
case _DRM_FRAME_BUFFER:
case _DRM_REGISTERS:
+ case _DRM_AGP:
return atop(offset);
case _DRM_SHM:
return atop(vtophys(offset));