aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2019-08-22 21:12:14 -0500
committerRob Herring <[email protected]>2019-08-28 10:02:39 -0500
commit55b9a0549e4303ca43481f9ba2cdfa305277d97d (patch)
treeb8520f2a5fd14c1508588c1501ce0cb591d9fc38 /tools/perf/scripts/python/exported-sql-viewer.py
parentedbd7f318cd66cec4588a28ba6985b014456dbca (diff)
drm/panfrost: Use mutex_trylock in panfrost_gem_purge
Lockdep reports a circular locking dependency with pages_lock taken in the shrinker callback. The deadlock can't actually happen with current users at least as a BO will never be purgeable when pages_lock is held. To be safe, let's use mutex_trylock() instead and bail if a BO is locked already. Cc: Tomeu Vizoso <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Steven Price <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions