]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Call context fini at cleanup
authorBen Widawsky <ben@bwidawsk.net>
Sat, 25 May 2013 19:26:39 +0000 (12:26 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:53:58 +0000 (20:53 +0200)
commit85f2c6533cf2f39d1c21cfc4530dbdaa9b6ebc24
treee13430f3621951a9fdc0b66630498cebdb5e6dc4
parent3360901a82225a96fd50ff7328a9a14a50e14ddd
drm/i915: Call context fini at cleanup

If contexts were actually initialized, and we fail somewhere later during
init this would possibly leak memory, and lead to some error messages
about unclean takedown. As the odds of this occurring, and someone
actually caring/noticing are pretty slim, the patch isn't terribly
important.

Found by code inspection while working on something else.

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