]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Split device release from unload
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 16:35:21 +0000 (16:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 19:10:05 +0000 (19:10 +0000)
commitff1fda8da021201becc30dff261d8e4556b1bd49
treefe9ae005cebfcbf5f44a02daf3a73868a105a33e
parent93c02428d159f9fded5e838682dd0a4f9fbe4f18
drm/i915: Split device release from unload

We may need to keep our memory management alive after we have unloaded
the physical pci device. For example, if we have exported an object via
dmabuf, that will keep the device around but the pci device may be
removed before the dmabuf itself is released, use of the pci hardware
will be revoked, but the memory and object management needs to persist
for the dmabuf.

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/20170210163523.17533-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c