diff options
author | 2021-05-26 17:37:28 +0300 | |
---|---|---|
committer | 2021-06-03 19:23:39 +0300 | |
commit | dd839aa857eb045e688c893ac588385c7fecde6a (patch) | |
tree | 75f43ac32b142ee45d50e52c9279344f2da8cafe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/ddi: Flush encoder power domain ref puts during driver unload (diff) | |
download | linux-dev-dd839aa857eb045e688c893ac588385c7fecde6a.tar.xz linux-dev-dd839aa857eb045e688c893ac588385c7fecde6a.zip |
drm/i915: Fix incorrect assert about pending power domain async-put work
It's possible that an already dequeued put_async_work() will release the
reference (*) that was put asynchronously after the dequeue happened.
This leaves an async-put work pending, without any reference to release.
A subsequent async-put may trigger the
drm_WARN_ON(!queue_delayed_work(&power_domains->async_put_work));
warn due to async_put_work() still pending. To avoid the warn, cancel
the pending async_put_work() when releasing the reference at (*) above.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3421
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2289
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210526143729.2563672-2-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions