diff options
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r-- | drivers/gpu/drm/drm_pci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index a3b356e70b35..1eb4fc3eee20 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/dma-mapping.h> | 27 | #include <linux/dma-mapping.h> |
28 | #include <linux/export.h> | 28 | #include <linux/export.h> |
29 | #include <drm/drm_pci.h> | ||
29 | #include <drm/drmP.h> | 30 | #include <drm/drmP.h> |
30 | #include "drm_internal.h" | 31 | #include "drm_internal.h" |
31 | #include "drm_legacy.h" | 32 | #include "drm_legacy.h" |
@@ -36,6 +37,9 @@ | |||
36 | * @size: size of block to allocate | 37 | * @size: size of block to allocate |
37 | * @align: alignment of block | 38 | * @align: alignment of block |
38 | * | 39 | * |
40 | * FIXME: This is a needless abstraction of the Linux dma-api and should be | ||
41 | * removed. | ||
42 | * | ||
39 | * Return: A handle to the allocated memory block on success or NULL on | 43 | * Return: A handle to the allocated memory block on success or NULL on |
40 | * failure. | 44 | * failure. |
41 | */ | 45 | */ |
@@ -104,6 +108,9 @@ void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) | |||
104 | * drm_pci_free - Free a PCI consistent memory block | 108 | * drm_pci_free - Free a PCI consistent memory block |
105 | * @dev: DRM device | 109 | * @dev: DRM device |
106 | * @dmah: handle to memory block | 110 | * @dmah: handle to memory block |
111 | * | ||
112 | * FIXME: This is a needless abstraction of the Linux dma-api and should be | ||
113 | * removed. | ||
107 | */ | 114 | */ |
108 | void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) | 115 | void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) |
109 | { | 116 | { |