diff options
author | Rob Clark <robdclark@chromium.org> | 2023-08-03 01:21:51 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-08-10 23:08:02 +0300 |
commit | fc896cf3d6913fb0e79ec146fff6dcda5aaa4384 (patch) | |
tree | 2ca94cf5af731dcb55aa7264bc5bca2cc2f2ff82 /drivers/gpu/drm/msm/msm_gem_vma.c | |
parent | 6ba5daa5d5ad54b78aeac8912092f986e8d4c38f (diff) | |
download | linux-fc896cf3d6913fb0e79ec146fff6dcda5aaa4384.tar.xz |
drm/msm: Take lru lock once per submit_pin_objects()
Split out pin_count incrementing and lru updating into a separate loop
so we can take the lru lock only once for all objs. Since we are still
holding the obj lock, it is safe to split this up.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/551025/
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem_vma.c')
0 files changed, 0 insertions, 0 deletions