diff options
| author | Daniel Vetter <[email protected]> | 2020-07-28 13:58:39 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-09-17 13:17:56 +0000 |
| commit | 7dd1b884f777beee4c0f3471a327697005118db8 (patch) | |
| tree | e7ac31d054f06d92d8d70cbdc4c7b51ced0388cb /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm: fix spelling error in comments (diff) | |
| download | kernel-7dd1b884f777beee4c0f3471a327697005118db8.tar.gz kernel-7dd1b884f777beee4c0f3471a327697005118db8.zip | |
dma-resv: lockdep-prime address_space->i_mmap_rwsem for dma-resv
GPU drivers need this in their shrinkers, to be able to throw out
mmap'ed buffers. Note that we also need dma_resv_lock in shrinkers,
but that loop is resolved by trylocking in shrinkers.
So full hierarchy is now (ignore some of the other branches we already
have primed):
mmap_read_lock -> dma_resv -> shrinkers -> i_mmap_lock_write
I hope that's not inconsistent with anything mm or fs does, adding
relevant people.
Reviewed-by: Thomas Hellström <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Dave Chinner <[email protected]>
Cc: Qian Cai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Thomas Hellström (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
