aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2019-08-22 21:12:14 -0500
committerRob Herring <[email protected]>2019-08-23 11:54:49 -0500
commitce49324261956f4bdec633280f30bf0697dafaef (patch)
tree5f685067158af28e39ddf3c91fd834a4f7a1ad73 /tools/perf/scripts/python/export-to-sqlite.py
parentdfbc7a46b940b5d5ef8c3db3b7c3b51e6ec8fec4 (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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions