aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_submitqueue.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2025-06-29 20:12:46 +0000
committerRob Clark <[email protected]>2025-07-04 18:09:43 +0000
commit02070f04987524caf77d4bf4c94ebceb783b7bcc (patch)
treee0ac08daca4eca02f3615eec411557f4903499f5 /drivers/gpu/drm/msm/msm_submitqueue.c
parentdrm/gpuvm: Add locking helpers (diff)
downloadkernel-02070f04987524caf77d4bf4c94ebceb783b7bcc.tar.gz
kernel-02070f04987524caf77d4bf4c94ebceb783b7bcc.zip
drm/gem: Add ww_acquire_ctx support to drm_gem_lru_scan()
If the callback is going to have to attempt to grab more locks, it is useful to have an ww_acquire_ctx to avoid locking order problems. Why not use the drm_exec helper instead? Mainly because (a) where ww_acquire_init() is called is awkward, and (b) we don't really need to retry after backoff, we can just move on to the next object. Signed-off-by: Rob Clark <[email protected]> Signed-off-by: Rob Clark <[email protected]> Tested-by: Antonino Maniscalco <[email protected]> Reviewed-by: Antonino Maniscalco <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/661463/
Diffstat (limited to 'drivers/gpu/drm/msm/msm_submitqueue.c')
0 files changed, 0 insertions, 0 deletions