diff options
author | Chris Wilson <[email protected]> | 2019-11-06 13:31:29 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2019-11-11 10:29:47 +0200 |
commit | d29926fa5f580565a7240c4d6a428795c773fb76 (patch) | |
tree | 7c789d7dae83dc43dbe62c4d14bbeda5e344bc7c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d9dace9438945e7c13d91e62927c5c6c88a37ee5 (diff) |
drm/i915/gt: Only drop heartbeat.systole if the sole owner
Mika spotted that only using cancel_delayed_work() could mean that we
attempted to clear the heartbeat.systole while the worker was still
running. Rectify the situation by only touching the systole from outside
the worker if we suceeded in cancelling the worker before it could run.
The worker is expected to clean up by itself upon idling.
Reported-by: Mika Kuoppala <[email protected]>
Fixes: 058179e72e09 ("drm/i915/gt: Replace hangcheck by heartbeats")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 841e86728615baa77b0ea9d8b357e66052c75fe5)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions