]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix invalid reference handling of the default ctx obj
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 15 Jul 2012 11:34:23 +0000 (12:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 08:39:58 +0000 (10:39 +0200)
commitd43017757b86180d75f3e1161572c6048d196609
tree4da2ddab5e4470ca1b89f47ff1b2c1fec7806e3e
parent0881d766cd0026789c709e6dc6ae2e586ebcfa72
drm/i915: fix invalid reference handling of the default ctx obj

Otherwise we end up trying to unpin a freed object and BUG.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c