]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush the freed object queue on device release
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 16:35:23 +0000 (16:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Feb 2017 19:10:05 +0000 (19:10 +0000)
commit5b70ca1a6f0f08d0f8d9023792d1e83afbd50844
treeaae6a67362d0185019db2a0f71c6241a50deedae
parent58bf6ea33c8ddc410c11364a2eea482a8015e508
drm/i915: Flush the freed object queue on device release

As dmabufs may live beyond the PCI device removal, we need to flush the
freed object worker on device release, and include a warning in case
there is a leak.

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