]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 26 May 2013 13:26:56 +0000 (15:26 +0200)
commitfe816333293fb51edbbbf364f108f831b72664e0
treea8ef0907c6313c5743fdedbf4214e235597d340a
parente4f56ce682686929d3a9a9365fa335ba1dc7afa8
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