aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2024-05-30 13:53:12 +0300
committerImre Deak <[email protected]>2024-06-04 19:30:09 +0300
commit30ca6365bb4200f55e59bf1ab2a24e65406e9eac (patch)
tree792175c8bcd2654ca9c77db7a5a46f4b69fde2ff /tools/perf/scripts/python
parentb330568f0c51b0b80e463841b0062206011a4746 (diff)
drm/i915: Fix assert on pending async-put power domain work when it requeues itself
Commit dd839aa857eb ("drm/i915: Fix incorrect assert about pending power domain async-put work") fixed the assert about a pending work dropping a display power reference asynchronously, leading to the drm_WARN_ON(!queue_delayed_work(&power_domains->async_put_work)); warn next time around a power reference was put asynchronously, due to a stale instance of the work still being pending. However the fix didn't consider the case where multiple power reference was acquired and put, requiring the work to requeue itself. Extend the fix for this case as well canceling the pending instance of the work before it requeues itself. Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10915 Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Jouni Högander <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions