diff options
author | Rob Clark <robdclark@chromium.org> | 2023-08-03 00:21:51 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-08-10 22:08:02 +0200 |
commit | fc896cf3d6913fb0e79ec146fff6dcda5aaa4384 (patch) | |
tree | 2ca94cf5af731dcb55aa7264bc5bca2cc2f2ff82 /drivers/gpu/drm/msm/msm_ringbuffer.c | |
parent | drm/msm: Use drm_gem_object in submit bos table (diff) | |
download | linux-fc896cf3d6913fb0e79ec146fff6dcda5aaa4384.tar.xz linux-fc896cf3d6913fb0e79ec146fff6dcda5aaa4384.zip |
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_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions