summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-08-02 08:51:44 -0700
committerRob Clark <robdclark@chromium.org>2022-08-27 09:32:45 -0700
commitf371bcc0c2ac57a237849487c9aacbae394e69d1 (patch)
tree2ef544faf2bff07ab7dc539a5206238feb15544d /kernel
parentb352ba54a82072614f44c5ea352b5ea6e7f7b4c0 (diff)
drm/msm/gem: Unpin buffers earlier
We've already attached the fences, so obj->resv (which shrinker checks) tells us whether they are still active. So we can unpin sooner, before we drop the queue lock. This also avoids the need to grab the obj lock in the retire path, avoiding potential for lock contention between submit and retire. Signed-off-by: Rob Clark <robdclark@chromium.org> Patchwork: https://patchwork.freedesktop.org/patch/496132/ Link: https://lore.kernel.org/r/20220802155152.1727594-12-robdclark@gmail.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions