[PATCH 1/1] drm/i915: Drop user contexts on device remove

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Fri Apr 24 15:19:23 UTC 2020

On Fri, 2020-04-24 at 16:05 +0100, Chris Wilson wrote:
> Quoting Janusz Krzysztofik (2020-04-24 16:01:46)
> > Yes, I've already realized there is nothing to restore.  Do I
> > understand correctly that there will be a problem with not revoked
> > mappings if the device is still the same?
> That's not really our problem, imo. If the intel-iommu is ripped away
> from us so that we can't remove our mappings, I expect it to also tidy
> up the unused entries from the device it tore down.

I was thinking about our driver unbind case rather than unplug.  I
guess intel-iommu will know nothing about that when that happens, and
I'm not sure what happens after rebind if we have old mappings left.


> -Chris

More information about the Intel-gfx-trybot mailing list