public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Doug Smythies" <dsmythies@telus.net>
To: 'John Harrison' <John.C.Harrison@Intel.com>,
	'Tomas Elf' <tomas.elf@intel.com>,
	'Daniel Vetter' <daniel.vetter@ffwll.ch>,
	'Jani Nikula' <jani.nikula@linux.intel.com>
Cc: Doug Smythies <dsmythies@telus.net>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: As of kernel 4.3-rc1 system will not stay in S3 suspend [REGRESSION][BISECTED]
Date: Thu, 8 Oct 2015 23:43:39 -0700	[thread overview]
Message-ID: <002301d1025d$d5765090$8062f1b0$@net> (raw)


Hi,

This started somewhere between Kernel 4.2 and 4.3-rc1,
but I only noticed it a day ago.

The first S3 suspend after a fresh boot works fine.
Thereafter, suspends simply resume again immediately.

I get the following errors on my console:

[  152.697247] i915 0000:00:02.0: GEM idle failed, resume might fail
[  152.697258] pci_pm_suspend(): i915_pm_suspend+0x0/0x50 [i915] returns -11
[  152.697262] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -11
[  152.697264] PM: Device 0000:00:02.0 failed to suspend async: error -11
[  152.697306] PM: Some devices failed to suspend, or early wake event detected

The issue is not limited to my normal way of doing suspend, using "pm-suspend".
It also happens using the "echo mem > /sys/power/state" method.

The kernel was bisected, and the result was double checked by clean compiles
of the first bad commit and the immediately preceding commit. Bisect results
copied below:

$ git bisect good
dc4be6071a24f0d2da6af8ce16c19f276ac4d7a2 is the first bad commit
commit dc4be6071a24f0d2da6af8ce16c19f276ac4d7a2
Author: John Harrison <John.C.Harrison@Intel.com>
Date:   Fri May 29 17:43:39 2015 +0100

    drm/i915: Add explicit request management to i915_gem_init_hw()

    Now that a single per ring loop is being done for all the different
    intialisation steps in i915_gem_init_hw(), it is possible to add proper request
    management as well. The last remaining issue is that the context enable call
    eventually ends up within *_render_state_init() and this does its own private
    _i915_add_request() call.

    This patch adds explicit request creation and submission to the top level loop
    and removes the add_request() from deep within the sub-functions.

    v2: Updated for removal of batch_obj from add_request call in previous patch.

    For: VIZ-5115
    Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
    Reviewed-by: Tomas Elf <tomas.elf@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

:040000 040000 789c630ff3f5f07238a5df1bde79187c6c1251d0 2da3f7e20e2642d8eebd9f72528923c2ac53a8cb M      drivers



_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2015-10-09  6:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09  6:43 Doug Smythies [this message]
2015-10-09  7:23 ` As of kernel 4.3-rc1 system will not stay in S3 suspend [REGRESSION][BISECTED] Daniel Vetter
2015-10-12 14:45 ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002301d1025d$d5765090$8062f1b0$@net' \
    --to=dsmythies@telus.net \
    --cc=John.C.Harrison@Intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=tomas.elf@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox