[Intel-gfx] [PATCH 11/19] drm/i915: Track all held rpm wakerefs

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 19 09:23:21 UTC 2018


Quoting Chris Wilson (2018-12-12 13:41:41)
> Everytime we take a wakeref, record the stack trace of where it was
> taken; clearing the set if we ever drop back to no owners. For debugging
> a rpm leak, we can look at all the current wakerefs and check if they
> have a matching rpm_put.

This information would be invaluable to help debug the sporadic failure
in BAT's pm_rpm.
-Chris


More information about the Intel-gfx mailing list