[RFC 9/9] drm: support immediate unplugging

2013-07-24 Thread David Herrmann
Our current unplug-helpers remove all nodes from user-space and mark the device as unplugged. However, any pending user-space call is still continued. We wait for the last close() call to actually unload the device. This patch uses the drm_dev_get_active() infrastructure to allow immediate unplugg

[RFC 9/9] drm: support immediate unplugging

2013-07-24 Thread David Herrmann
Our current unplug-helpers remove all nodes from user-space and mark the device as unplugged. However, any pending user-space call is still continued. We wait for the last close() call to actually unload the device. This patch uses the drm_dev_get_active() infrastructure to allow immediate unplugg