[Intel-gfx] [RFC PATCH 0/4] drm/i915: Resolve device hotunplug issues

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Mon May 18 18:17:16 UTC 2020


The idea is to revoke DMA mappings on driver remove in order to work
around intel-iommu judging late unmapping on driver release after an
open device is removed as bugs.  That also resolves runtime power
management warnings on late object removal.

Janusz Krzysztofik (4):
  drm/i915: Drop user contexts on driver remove
  drm/i915: Release GT resources on driver remove
  drm/i915: Move GGTT cleanup from driver_release to _remove
  drm/i915: Move UC firmware cleanup from driver_release to _remove

 drivers/gpu/drm/i915/gem/i915_gem_context.c | 38 +++++++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_context.h |  1 +
 drivers/gpu/drm/i915/gt/intel_ggtt.c        | 13 ++++---
 drivers/gpu/drm/i915/gt/intel_gt.c          |  2 ++
 drivers/gpu/drm/i915/gt/intel_gtt.h         |  1 +
 drivers/gpu/drm/i915/i915_drv.c             |  2 ++
 drivers/gpu/drm/i915/i915_gem.c             |  5 ++-
 7 files changed, 57 insertions(+), 5 deletions(-)

-- 
2.21.1



More information about the Intel-gfx mailing list