]> 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)
commita75bcdccd7d15859d981bb22d023d5cc98d31046
treeed843227d77ecbb03607f5b2821252362a3191f7
parent481db8d1617cd492e4402c26d983f54968a66cdf
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