drm/agp: move AGP cleanup paths to drm_agpsupport.c
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 27 Jul 2013 14:37:00 +0000 (16:37 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Aug 2013 00:14:24 +0000 (10:14 +1000)
Introduce two new helpers, drm_agp_clear() and drm_agp_destroy() which
clear all AGP mappings and destroy the AGP head. This allows to reduce the
AGP code in core DRM and move it all to drm_agpsupport.c.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found