Re: [Intel-gfx] [PATCH 5/5] drm/i915: Defer rc6 shutdown to suspend_late

2019-10-30 Thread Andi Shyti
Hi Chris, On Wed, Oct 30, 2019 at 10:38:27AM +, Chris Wilson wrote: > Currently we shutdown rc6 during i915_gem_resume() but this is called > during the preparation phase (i915_drm_prepare) for all suspend paths, > but we only want to shutdown rc6 for S3+. Move the actual shutdown to >

[Intel-gfx] [PATCH 5/5] drm/i915: Defer rc6 shutdown to suspend_late

2019-10-30 Thread Chris Wilson
Currently we shutdown rc6 during i915_gem_resume() but this is called during the preparation phase (i915_drm_prepare) for all suspend paths, but we only want to shutdown rc6 for S3+. Move the actual shutdown to i915_gem_suspend_late(). We then need to differentiate between suspend targets, to