summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2017-03-27 12:38:25 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2017-03-30 11:43:40 +0200
commit3ce7803cf3a7bc52c0eb9f516de8b72a0305ad57 (patch)
tree9d64b8496547d9ae8efdf3180321195c531cce3e /drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
parentfe25deb7737ce6c0879ccf79c99fa1221d428bf2 (diff)
drm/ttm: Avoid calling drm_ht_remove from atomic context
On recent kernels, calling drm_ht_remove triggers a might_sleep() warning from within vfree(). So avoid calling it from atomic context. The use-cases we fix here are both from destructors so there should be no concurrent use of the hash tables. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c')
0 files changed, 0 insertions, 0 deletions