From 4dfee246a6d7ad59fe11816b9f94d184fa92f18a Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Tue, 31 Mar 2009 20:07:06 +0300 Subject: [PATCH] Add a comment for reminder about nocache. --- sys/dev/drm/drm_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/drm/drm_pci.c b/sys/dev/drm/drm_pci.c index ce7ed369b7..104ed23cbc 100644 --- a/sys/dev/drm/drm_pci.c +++ b/sys/dev/drm/drm_pci.c @@ -89,6 +89,7 @@ drm_pci_alloc(struct drm_device *dev, size_t size, return NULL; } + /* XXX BUS_DMA_NOCACHE */ ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr, BUS_DMA_WAITOK | BUS_DMA_ZERO, &dmah->map); if (ret != 0) { -- 2.11.4.GIT