diff options
| author | Tvrtko Ursulin <[email protected]> | 2017-03-10 09:32:49 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2017-03-10 11:49:20 +0000 |
| commit | b8473050805f35add97f3ff57570d55a01808df5 (patch) | |
| tree | d640fdcbb85ca9e76c04d0e3ba0e1b3d59e8651e /tools/perf/scripts/python | |
| parent | 1524e93e1eb42e5c3ea8a8b380fbcf15c52d2663 (diff) | |
drm/i915: Fix forcewake active domain tracking
In commit 003342a50021 ("drm/i915: Keep track of active
forcewake domains in a bitmask") I forgot to adjust the
newly introduce fw_domains_active state across reset.
This caused the assert_forcewakes_inactive to trigger
during suspend and resume if there were user held
forcewakes.
v2: Bitmask checks are required since vfuncs are not
always present.
v3: Move bitmask tracking to get/put vfunc for simplicity.
(Chris Wilson)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Fixes: 003342a50021 ("drm/i915: Keep track of active forcewake domains in a bitmask")
Testcase: igt/drv_suspend/forcewake
Cc: Tvrtko Ursulin <[email protected]>
Cc: "Paneri, Praveen" <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: [email protected]
Cc: v4.10+ <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions