From 9ec4e2ff3e269756a253282c784776e2166be7bc Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 11 Sep 2014 07:42:43 +0200 Subject: 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 Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_legacy.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/drm/drm_legacy.h') diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h index 0e0df225dec6..3cc0efa7304a 100644 --- a/drivers/gpu/drm/drm_legacy.h +++ b/drivers/gpu/drm/drm_legacy.h @@ -100,4 +100,11 @@ void drm_legacy_free_buffer(struct drm_device *dev, void drm_legacy_reclaim_buffers(struct drm_device *dev, struct drm_file *filp); +/* Scatter Gather Support */ +void drm_legacy_sg_cleanup(struct drm_device *dev); +int drm_legacy_sg_alloc(struct drm_device *dev, void *data, + struct drm_file *file_priv); +int drm_legacy_sg_free(struct drm_device *dev, void *data, + struct drm_file *file_priv); + #endif /* __DRM_LEGACY_H__ */ -- cgit