diff options
author | Kristian H. Kristensen <hoegsberg@gmail.com> | 2019-03-20 18:09:08 +0100 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-04-19 20:50:06 +0200 |
commit | 48e7f18392c66f9b69ebac11c54f1a2e033ced54 (patch) | |
tree | cf683d683a70b760650865d44656a699cccf9def /drivers/gpu/drm/sun4i | |
parent | drm/msm/a6xx: Remove an unused struct member (diff) | |
download | linux-48e7f18392c66f9b69ebac11c54f1a2e033ced54.tar.xz linux-48e7f18392c66f9b69ebac11c54f1a2e033ced54.zip |
drm/msm: Implement .gem_free_object_unlocked
We use a llist and a worker to delay the object cleanup. This avoids
taking mmap_sem and struct_mutex in the wrong order when calling
drm_gem_object_put_unlocked() from drm_gem_mmap().
Fixes lockdep problem with copy_from_user() in msm_ioctl_gem_submit().
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/sun4i')
0 files changed, 0 insertions, 0 deletions