aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_pci.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-08 09:12:37 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-09 10:18:02 -0500
commit23ef59ef6dcc9b62bf077490a74df93b3bb0d530 (patch)
treed58b64920d9e49648ae45385a5dfb5597954b4a7 /drivers/gpu/drm/drm_pci.c
parentd891b9c78ac83a14d0b7c5bbd652572bcd58c823 (diff)
drm: Extract drm_pci.h
Just another step in finally making drmP.h obsolete. Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r--drivers/gpu/drm/drm_pci.c7
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 */
108void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) 115void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah)
109{ 116{