[PATCH 0/2] Stop users from using the device on driver unbind

From: Janusz Krzysztofik
Date: Fri Apr 05 2019 - 09:02:51 EST


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