aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorRamalingam C <[email protected]>2015-03-03 12:11:46 +0530
committerDaniel Vetter <[email protected]>2015-03-17 22:29:55 +0100
commit3954e733ab0c9449443897f2669e17fff4471a0e (patch)
tree6f8906ace38a1d3843e3cbbd1d9216a9f2a18113 /tools/perf/scripts/python/futex-contention.py
parenta54746e39ad5cc27cf3099bec1e813cdf8ad7f7e (diff)
drm/i915: Fixing mutex deadlock window at eDP DRRS
In invalidate and flush functions of eDP DRRS, if deferred downclock work starts execution at a time window between acquiring the drrs mutex and cancellation of the deferred work (intel_edp_drrs_downclock_work), then deferred work will find drrs mutex locked and wait for the same. Meanwhile the function that acquired mutex drrs invalidate/flush will wait for the completion of the deferred work before releasing the mutex. Thats a deadlock. To avoid such deadlock scenario, this change cancels the deferred work before acquiring the mutex at invalidate and flush functions. Signed-off-by: Ramalingam C <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions