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)
commit55d23285745b1be7bd25a2a4ba5ba79e05ab843a
treee13430f3621951a9fdc0b66630498cebdb5e6dc4
parentbb0364130fb0d272c838149b2ffe698a6c7afbfc
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