[Bug 111909] commit c1132367 "Extract GT render sleep (rc6) management" prevents entering s2idle
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Nov 2 14:31:33 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111909
--- Comment #16 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit c601cb2135fda0b5fb9d08153b0125fcb153c7e0
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Nov 1 14:10:09 2019 +0000
drm/i915: Defer rc6 shutdown to suspend_late
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 distinguish S0
(s2idle) where the device is kept awake but needs to be in a low power
mode (the same as runtime suspend) from the device suspend levels where
we lose control of HW and so must disable any HW access to dangling
memory.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111909
Fixes: c113236718e8 ("drm/i915: Extract GT render sleep (rc6) management")
Testcase: igt/gem_exec_suspend/power-S0
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti at intel.com>
Acked-by: Andi Shyti <andi.shyti at intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20191101141009.15581-4-chris@chris-wilson.co.uk
restores rc6 (if you didn't opt to use guc!) for S0, dropping power consumption
on my bdw by 500mW.
We added
commit 922f28ad8843251adc6760e7f4b867f1d2b5104f
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Oct 27 16:15:55 2019 +0000
i915/gem_exec_suspend: Measure power consumption during suspend
For this test, we need a laptop running on battery power so that we can
read the battery charge level before and after suspend. And then wait
long enough for a reliable measure.
References: https://bugs.freedesktop.org/show_bug.cgi?id=111909
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
so that we are capable of measuring power consumption across suspend and we're
discussing with the CI team how we can automate it.
As for enabling runtime-pm for S0; on my bdw laptop it did not make any
difference, but I will keep looking for opportunities to try it out!
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20191102/77969237/attachment.html>
More information about the intel-gfx-bugs
mailing list