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.
Janusz Krzysztofik (1): drm/i915: Use drm_dev_unplug() drivers/gpu/drm/i915/i915_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Since this patch should be now safe for use if merged with current drm-next or drm-tip branch which no longer suffer from incorrectly resolved merge confilct that was breaking it, finally fixed by commit bd53280ef042 ("drm/drv: Fix incorrect resolution of merge conflict"), I'm resending it with Daniel's Reviewed-by: added. Former patch 2/2 has been dropped as it is already in drm-intel-next as commit 141f3767e7b8 ("drm/i915: Mark GEM wedged right after marking device unplugged"). BTW, the wersion I sent was screwed up, not reflecting Chris' intention precisely enough, but Chris was vigilant and fixed it. Sorry Chris. Thanks, Janusz -- 2.20.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx