Various things can go wrong during initialisation and teardown, but they usually don't, so the error-handling paths go largely untested. This collection of patches fixes some things I recently noticed. Some might lead to a kernel OOPS, but mostly they're leaks and other inconsistencies. Includes Nick Hoath's patch to swap context/engine teardown, because that helps make setup & teardown more consistent too. v2: Patches reordered and the previous [1/4] split into [4..6/6], so that the bugs that it's fixing are more clearly visible (Mika Kuoppala, although he said it wasn't actually *necessary*). GIT: [PATCH 1/6] drm/i915: fix context/engine cleanup order GIT: [PATCH 2/6] drm/i915: tidy up initialisation failure paths (GEM & GIT: [PATCH 3/6] drm/i915: tidy up initialisation failure paths (legacy) GIT: [PATCH 4/6] drm/i915: unmap the correct page in GIT: [PATCH 5/6] drm/i915: HWSP should be unmapped earlier in LRC teardown GIT: [PATCH 6/6] drm/i915: consolidate LRC mode HWSP setup & teardown _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx