aboutsummaryrefslogtreecommitdiff
path: root/lib/notifier-error-inject.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-04-05 13:17:13 +1000
committerDave Airlie <[email protected]>2019-04-08 16:20:02 +1000
commit9b39b013037fbfa8d4b999345d9e904d8a336fc2 (patch)
tree303ac359547bf20530401a22ee0e42548449d202 /lib/notifier-error-inject.c
parent15ade5d2e7775667cf191cf2f94327a4889f8b9d (diff)
drm/udl: add a release method and delay modeset teardown
If we unplug a udl device, the usb callback with deinit the mode_config struct, however userspace will still have an open file descriptor and a framebuffer on that device. When userspace closes the fd, we'll oops because it'll try and look stuff up in the object idr which we've destroyed. This punts destroying the mode objects until release time instead. Cc: [email protected] Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions