[Intel-gfx] [PATCH 0/2] Stop users from using the device on driver unbind
Janusz Krzysztofik
janusz.krzysztofik at linux.intel.com
Fri Apr 5 13:02:33 UTC 2019
Use drm_dev_unplug() to have device resources protected from user access
by DRM layer as soon as the driver is going to be unbound. Also, cancel
all pending work so associated resources can be quickly released.
Janusz Krzysztofik (2):
drm/i915: Use drm_dev_unplug()
drm/i915: Mark GEM wedged right after marking device unplugged
drivers/gpu/drm/i915/i915_drv.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
I'm resending these two patches together in series to make the robot
happy about the second one. Also, I've added the Suggested-by: clause
to credit actual Chris' contribution.
Thanks,
Janusz
--
2.20.1
More information about the Intel-gfx
mailing list