From: Ben Widawsky Date: Mon, 14 Oct 2013 17:01:37 +0000 (-0700) Subject: drm/i915: cleanup context fini X-Git-Tag: v3.13-rc1~76^2~68^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71b76d004f48b4b217a3895bfe058e2e5eefed39;p=pandora-kernel.git drm/i915: cleanup context fini I had this lying around from he original PPGTT series, and thought we might try to get it in by itself. With the introduction of context refcounting we never explicitly ref/unref the backing object. As such, the previous fix was a bit wonky. Aside from fixing the above, this patch also puts us in good shape for an upcoming patch which allows a failure to occur in between context_init and the first do_switch. CC: Mika Kuoppala Signed-off-by: Ben Widawsky Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed