diff options
author | Chris Wilson <[email protected]> | 2019-05-02 21:30:09 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-05-03 08:38:37 +0100 |
commit | 818f5cb3e8fb386609f7d3c751f195dd3050d22d (patch) | |
tree | 3158db6fc299b813fb67e221c80afe1f22750774 /tools/perf/scripts/python | |
parent | 3ce2ea6574be67b6efd6fb1a7f6e2c7aa27b82f1 (diff) |
drm/i915/guc: Fix runtime suspend
We are not allowed to rpm_get() inside the runtime-suspend callback, so
split the intel_uc_suspend() into the core that assumes the caller holds
the wakeref (intel_uc_runtime_suspend), and one that acquires the wakeref
as necessary (intel_uc_suspend).
Reported-by: Daniele Ceraolo Spurio <[email protected]>
Fixes: 79ffac8599c4 ("drm/i915: Invert the GEM wakeref hierarchy")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[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