]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915: Clean up associated VMAs on context destruction"
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 06:52:47 +0000 (07:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 07:09:34 +0000 (08:09 +0100)
commit6c85747c6ee90a6df02138e32fcb5a8b823a2a0e
tree4464dce5d93eaa351310d94a0a6ba236ae3c5256
parent1cb478db2c7de3b38ec58fe6a9a7635ef5d0ad8c
Revert "drm/i915: Clean up associated VMAs on context destruction"

This reverts commit cb6909275677e8078af067b40f972df9ad991ac3.

The patch was only a stop-gap measure that fixed half the problem - the
leak of the fbcon when restarting X. A complete solution required
releasing the VMA when the object itself was closed rather than rely on
file/process exit. The previous patches add the VMA tracking necessary
to do close them along with the object, context or file, and so the time
has come to remove the partial fix.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-28-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_gtt.c