]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41c993d012320a08ffc124d38e64f0ff1d4fe15e
tree1ceebcff67e41b55b570869984a15d62523aa8a7
parent2f40dd3f866b011d91a2ad16b83722926f0362ea
drm/agp: move AGP cleanup paths to drm_agpsupport.c

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>
drivers/gpu/drm/drm_agpsupport.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h