Re: [Intel-gfx] [PATCH] drm/i915/guc: Fix runtime suspend

2019-05-02 Thread Daniele Ceraolo Spurio
On 5/2/19 1:30 PM, Chris Wilson wrote: 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 acquires the wakeref as necessary (intel_uc_suspend). Reported

[Intel-gfx] [PATCH] drm/i915/guc: Fix runtime suspend

2019-05-02 Thread Chris Wilson
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 acquires the wakeref as necessary (intel_uc_suspend). Reported-by: Daniele Ceraolo Spurio Fixes: 79ffac8