diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-11 01:42:43 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 05:08:54 -0400 |
commit | 9ec4e2ff3e269756a253282c784776e2166be7bc (patch) | |
tree | 44c3df83725d2aa175030174e77f4f940f09f7d9 /include/drm | |
parent | a266162aef4f43307d18c88fb5ecaffd8e9303af (diff) |
drm: Move sg functions into drm_legacy.h
Also sprinkle the drm_legacy_ prefix where missing.
v2: Drop extern from function declarations and include "drm_legacy.h"
in drm_scatter.c, spotted by David.
Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index caf29af2dd54..cd35bc902925 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1300,13 +1300,6 @@ void drm_prime_remove_buf_handle_locked(struct drm_prime_file_private *prime_fpr | |||
1300 | 1300 | ||
1301 | extern int drm_vma_info(struct seq_file *m, void *data); | 1301 | extern int drm_vma_info(struct seq_file *m, void *data); |
1302 | 1302 | ||
1303 | /* Scatter Gather Support (drm_scatter.h) */ | ||
1304 | extern void drm_legacy_sg_cleanup(struct drm_device *dev); | ||
1305 | extern int drm_sg_alloc(struct drm_device *dev, void *data, | ||
1306 | struct drm_file *file_priv); | ||
1307 | extern int drm_sg_free(struct drm_device *dev, void *data, | ||
1308 | struct drm_file *file_priv); | ||
1309 | |||
1310 | 1303 | ||
1311 | extern drm_dma_handle_t *drm_pci_alloc(struct drm_device *dev, size_t size, | 1304 | extern drm_dma_handle_t *drm_pci_alloc(struct drm_device *dev, size_t size, |
1312 | size_t align); | 1305 | size_t align); |