drm: Export routines for inserting preallocated nodes into the mm manager
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2012 20:37:06 +0000 (20:37 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Dec 2012 20:55:25 +0000 (21:55 +0100)
commitb81034506fc9b879cb726feb01342be0cdbe6e25
tree5fba979473159b2786b77cea622cce9581454760
parentb0a2658acb5bf9ca86b4aab011b7106de3af0add
drm: Export routines for inserting preallocated nodes into the mm manager

Required by i915 in order to avoid the allocation in the middle of
manipulating the drm_mm lists.

Use a pair of stubs to preserve the existing EXPORT_SYMBOLs for
backporting; to be removed later.

Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
[danvet: bikeshedded-away the atomic parameter, it's not yet used
anywhere.]
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_mm.c
include/drm/drm_mm.h