[Intel-gfx] [PATCH] snd/hda: Only get/put display_power once
Chris Wilson
chris at chris-wilson.co.uk
Wed Apr 10 08:22:05 UTC 2019
Quoting Chris Wilson (2019-04-10 09:17:33)
> While we only allow a single display power reference, the current
> acquisition/release is racy and a direct call may run concurrently with
> a runtime-pm worker. Prevent the double unreference by atomically
> tracking the display_power_active cookie.
I just get the feeling this is elaborate paper and the problem is that
we shouldn't be doing a double-free in the first place.
-Chris
More information about the Intel-gfx
mailing list