Re: [Intel-gfx] [PATCH] drm/i915: Restore user forcewake domains across suspend

2018-08-09 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-08-09 12:46:05) > > On 08/08/2018 22:08, Chris Wilson wrote: > > On suspend, we cancel the automatic forcewake and clear all other sources > > of forcewake so the machine can sleep before we do suspend. However, we > > expose the forcewake to userspace (only via debugf

Re: [Intel-gfx] [PATCH] drm/i915: Restore user forcewake domains across suspend

2018-08-09 Thread Tvrtko Ursulin
On 08/08/2018 22:08, Chris Wilson wrote: On suspend, we cancel the automatic forcewake and clear all other sources of forcewake so the machine can sleep before we do suspend. However, we expose the forcewake to userspace (only via debugfs, but nevertheless we do) and want to restore that upon re

Re: [Intel-gfx] [PATCH] drm/i915: Restore user forcewake domains across suspend

2018-08-09 Thread Imre Deak
On Wed, Aug 08, 2018 at 10:08:42PM +0100, Chris Wilson wrote: > On suspend, we cancel the automatic forcewake and clear all other sources > of forcewake so the machine can sleep before we do suspend. However, we > expose the forcewake to userspace (only via debugfs, but nevertheless we > do) and wa

[Intel-gfx] [PATCH] drm/i915: Restore user forcewake domains across suspend

2018-08-08 Thread Chris Wilson
On suspend, we cancel the automatic forcewake and clear all other sources of forcewake so the machine can sleep before we do suspend. However, we expose the forcewake to userspace (only via debugfs, but nevertheless we do) and want to restore that upon resume or else our accounting will be off and

[Intel-gfx] [PATCH] drm/i915: Restore user forcewake domains across suspend

2018-08-08 Thread Chris Wilson
On suspend, we cancel the automatic forcewake and clear all other sources of forcewake so the machine can sleep before we do suspend. However, we expose the forcewake to userspace (only via debugfs, but nevertheless we do) and want to restore that upon resume or else our accounting will be off and