diff options
author | Rob Clark <robdclark@chromium.org> | 2023-03-20 07:43:26 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-03-25 16:31:44 -0700 |
commit | b14b8c5f0eaf363e33c5410c96a6259dee6bd78e (patch) | |
tree | 427296db2846db1d53cfafa590d3dd94935c3027 /drivers/gpu/drm/msm/msm_gem.c | |
parent | fc2f07566a2cb198eb5902684163e7c4f5309619 (diff) | |
download | linux-stable-b14b8c5f0eaf363e33c5410c96a6259dee6bd78e.tar.gz linux-stable-b14b8c5f0eaf363e33c5410c96a6259dee6bd78e.tar.bz2 linux-stable-b14b8c5f0eaf363e33c5410c96a6259dee6bd78e.zip |
drm/msm: Decouple vma tracking from obj lock
We need to use the inuse count to track that a BO is pinned until
we have the hw_fence. But we want to remove the obj lock from the
job_run() path as this could deadlock against reclaim/shrinker
(because it is blocking the hw_fence from eventually being signaled).
So split that tracking out into a per-vma lock with narrower scope.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/527839/
Link: https://lore.kernel.org/r/20230320144356.803762-5-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.c')
0 files changed, 0 insertions, 0 deletions