]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move the gtt mm takedown to cleanup
authorBen Widawsky <benjamin.widawsky@intel.com>
Mon, 25 Nov 2013 17:54:43 +0000 (09:54 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 09:21:27 +0000 (10:21 +0100)
commit6bcd7eb59fe462fff14d1a6fba10c7064f4023c1
treeed843227d77ecbb03607f5b2821252362a3191f7
parentda5fd932fd61c3b9fdb3b56225b8c655ccc4534c
drm/i915: Move the gtt mm takedown to cleanup

Our VM code already has a cleanup function, and this is a nice place to
put the drm_mm_takedown. This should have no functional impact, it just
leaves the unload function a bit cleaer, and is more logical IMO

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem_gtt.c