diff options
| author | Rob Clark <[email protected]> | 2023-03-20 14:43:31 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2023-03-25 23:31:44 +0000 |
| commit | 17b704f1c0fb9150551567cb7a5414fb761b57ea (patch) | |
| tree | 04a5576c88cec987b31d6ebdb549ce893367174d /drivers/gpu/drm/msm/msm_submitqueue.c | |
| parent | drm/msm/gem: Protect pin_count/madv by LRU lock (diff) | |
| download | kernel-17b704f1c0fb9150551567cb7a5414fb761b57ea.tar.gz kernel-17b704f1c0fb9150551567cb7a5414fb761b57ea.zip | |
drm/msm/gem: Avoid obj lock in job_run()
Now that everything that controls which LRU an obj lives in *except* the
backing pages is protected by the LRU lock, add a special path to unpin
in the job_run() path, where we are assured that we already have backing
pages and will not be racing against eviction (because the GEM object's
dma_resv contains the fence that will be signaled when the submit/job
completes).
Signed-off-by: Rob Clark <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/527845/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/msm/msm_submitqueue.c')
0 files changed, 0 insertions, 0 deletions
