summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));