All of lore.kernel.org
 help / color / mirror / Atom feed
From: Knut Petersen <Knut_Petersen@t-online.de>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: [Regression 3.10.0+] i915 resume problem: pipe state doesn't match!
Date: Thu, 11 Jul 2013 08:23:51 +0200	[thread overview]
Message-ID: <51DE4F77.80503@t-online.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

Hi everybody!

During resume from S3 there is a pipe state problem

Reproducibility: high (3 of 3 test resumes)

Hardware: Aopen i915GMm-hfs, Pentium-M, opensuse 12.3,
kernel 3.10.0+, git 496322bc91e35007ed754184dcd447a02b6dd685

Three slightly differing trace attached.

cu,
   Knut



[-- Attachment #2: ResumePipeStateProblem --]
[-- Type: text/plain, Size: 8195 bytes --]

[   99.485475] [drm:intel_pipe_config_compare] *ERROR* mismatch in gmch_pfit.control (expected 0, found 8)
[   99.485490] ------------[ cut here ]------------
[   99.485516] WARNING: CPU: 0 PID: 1276 at drivers/gpu/drm/i915/intel_display.c:8287 check_crtc_state+0x62b/0x65c()
[   99.485526] pipe state doesn't match!
[   99.485535] Modules linked in: ipv6 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_rme96 snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc
[   99.485610] CPU: 0 PID: 1276 Comm: kworker/0:6 Tainted: G        W    3.10.0-main+ #14
[   99.485622] Hardware name:    /i915GMm-HFS, BIOS 6.00 PG 11/04/2005
[   99.485640] Workqueue: events output_poll_execute
[   99.485653]  00000006 c06f10ea efded9cc c052e356 efded9e4 c012a137 c03bde50 f60e3000
[   99.485694]  00000000 f6218000 efded9fc c012a1c1 00000009 efded9f4 c06f10ea efdeda10
[   99.485736]  efdedc60 c03bde50 c06f047a 0000205f c06f10ea efdeda01 c0533e4d f635af44
[   99.485777] Call Trace:
[   99.485802]  [<c052e356>] dump_stack+0x16/0x18
[   99.485823]  [<c012a137>] warn_slowpath_common+0x5a/0x71
[   99.485842]  [<c03bde50>] ? check_crtc_state+0x62b/0x65c
[   99.485862]  [<c012a1c1>] warn_slowpath_fmt+0x2b/0x2f
[   99.485881]  [<c03bde50>] check_crtc_state+0x62b/0x65c
[   99.485902]  [<c0533e4d>] ? _raw_spin_unlock_irq+0x32/0x48
[   99.485956]  [<c03c75b4>] intel_modeset_check_state+0x30c/0x55f
[   99.485979]  [<c03c7882>] intel_set_mode+0x26/0x2f
[   99.485999]  [<c03c8619>] intel_get_load_detect_pipe+0x2b4/0x308
[   99.486021]  [<c0531be1>] ? __mutex_unlock_slowpath+0xf4/0x111
[   99.486044]  [<c0168a50>] ? trace_hardirqs_on_caller+0x12e/0x180
[   99.486063]  [<c0168aad>] ? trace_hardirqs_on+0xb/0xd
[   99.486084]  [<c03e11d8>] intel_tv_detect+0xd1/0x3ea
[   99.486118]  [<c038a00e>] drm_helper_probe_single_connector_modes+0xa0/0x270
[   99.486140]  [<c0387bf2>] drm_fb_helper_probe_connector_modes+0x39/0x4c
[   99.486158]  [<c0531ad2>] ? mutex_lock_nested+0x27d/0x298
[   99.486179]  [<c03893a4>] drm_fb_helper_hotplug_event+0x64/0x9a
[   99.486199]  [<c03e0641>] intel_fb_output_poll_changed+0x19/0x1b
[   99.486218]  [<c0389871>] drm_kms_helper_hotplug_event+0x21/0x24
[   99.486237]  [<c0389989>] output_poll_execute+0x115/0x139
[   99.486260]  [<c01402e0>] process_one_work+0x22a/0x3ec
[   99.486279]  [<c01409b4>] ? worker_thread+0x2c/0x28a
[   99.486301]  [<c0140b2b>] worker_thread+0x1a3/0x28a
[   99.486322]  [<c0140988>] ? manage_workers.isra.22+0x19a/0x19a
[   99.486341]  [<c0144df9>] kthread+0x8e/0x93
[   99.486368]  [<c05394b7>] ret_from_kernel_thread+0x1b/0x28
[   99.486387]  [<c0144d6b>] ? __init_kthread_worker+0x47/0x47
[   99.486402] ---[ end trace b2b34c622ca1d660 ]---


[ 1295.520126] PM: Basic memory bitmaps freed
[ 1298.525937] [drm:intel_pipe_config_compare] *ERROR* mismatch in gmch_pfit.control (expected 0, found 8)
[ 1298.525952] ------------[ cut here ]------------
[ 1298.525977] WARNING: CPU: 0 PID: 1308 at drivers/gpu/drm/i915/intel_display.c:8287 check_crtc_state+0x62b/0x65c()
[ 1298.525987] pipe state doesn't match!
[ 1298.525996] Modules linked in: ipv6 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_rme96 snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc
[ 1298.526072] CPU: 0 PID: 1308 Comm: kworker/0:2 Tainted: G        W    3.10.0-main+ #14
[ 1298.526084] Hardware name:    /i915GMm-HFS, BIOS 6.00 PG 11/04/2005
[ 1298.526102] Workqueue: events output_poll_execute
[ 1298.526115]  00000006 c06f10ea f5a279cc c052e356 f5a279e4 c012a137 c03bde50 f60e3000
[ 1298.526157]  00000000 f6218000 f5a279fc c012a1c1 00000009 f5a279f4 c06f10ea f5a27a10
[ 1298.526199]  f5a27c60 c03bde50 c06f047a 0000205f c06f10ea f5a27a01 00000101 f635af44
[ 1298.526241] Call Trace:
[ 1298.526267]  [<c052e356>] dump_stack+0x16/0x18
[ 1298.526288]  [<c012a137>] warn_slowpath_common+0x5a/0x71
[ 1298.526306]  [<c03bde50>] ? check_crtc_state+0x62b/0x65c
[ 1298.526326]  [<c012a1c1>] warn_slowpath_fmt+0x2b/0x2f
[ 1298.526345]  [<c03bde50>] check_crtc_state+0x62b/0x65c
[ 1298.526368]  [<c0130524>] ? __do_softirq+0x165/0x207
[ 1298.526422]  [<c03c75b4>] intel_modeset_check_state+0x30c/0x55f
[ 1298.526444]  [<c03c7882>] intel_set_mode+0x26/0x2f
[ 1298.526464]  [<c03c8619>] intel_get_load_detect_pipe+0x2b4/0x308
[ 1298.526487]  [<c0531be1>] ? __mutex_unlock_slowpath+0xf4/0x111
[ 1298.526509]  [<c0168a50>] ? trace_hardirqs_on_caller+0x12e/0x180
[ 1298.526529]  [<c0168aad>] ? trace_hardirqs_on+0xb/0xd
[ 1298.526550]  [<c03e11d8>] intel_tv_detect+0xd1/0x3ea
[ 1298.526584]  [<c038a00e>] drm_helper_probe_single_connector_modes+0xa0/0x270
[ 1298.526606]  [<c0387bf2>] drm_fb_helper_probe_connector_modes+0x39/0x4c
[ 1298.526624]  [<c0531ad2>] ? mutex_lock_nested+0x27d/0x298
[ 1298.526645]  [<c03893a4>] drm_fb_helper_hotplug_event+0x64/0x9a
[ 1298.526665]  [<c03e0641>] intel_fb_output_poll_changed+0x19/0x1b
[ 1298.526684]  [<c0389871>] drm_kms_helper_hotplug_event+0x21/0x24
[ 1298.526703]  [<c0389989>] output_poll_execute+0x115/0x139
[ 1298.526726]  [<c01402e0>] process_one_work+0x22a/0x3ec
[ 1298.526745]  [<c01409b4>] ? worker_thread+0x2c/0x28a
[ 1298.526767]  [<c0140b2b>] worker_thread+0x1a3/0x28a
[ 1298.526788]  [<c0140988>] ? manage_workers.isra.22+0x19a/0x19a
[ 1298.526807]  [<c0144df9>] kthread+0x8e/0x93
[ 1298.526835]  [<c05394b7>] ret_from_kernel_thread+0x1b/0x28
[ 1298.526853]  [<c0144d6b>] ? __init_kthread_worker+0x47/0x47
[ 1298.526868] ---[ end trace cdf7452bb4a6b6ed ]---


[  746.165742] [drm:intel_pipe_config_compare] *ERROR* mismatch in gmch_pfit.control (expected 0, found 8)
[  746.165747] ------------[ cut here ]------------
[  746.165766] WARNING: CPU: 0 PID: 1467 at drivers/gpu/drm/i915/intel_display.c:8287 check_crtc_state+0x62b/0x65c()
[  746.165770] pipe state doesn't match!
[  746.165818] Modules linked in: ipv6 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_rme96 snd_pcm snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc
[  746.165831] CPU: 0 PID: 1467 Comm: kworker/0:5 Tainted: G        W    3.10.0-main+ #14
[  746.165836] Hardware name:    /i915GMm-HFS, BIOS 6.00 PG 11/04/2005
[  746.165852] Workqueue: events output_poll_execute
[  746.165879]  00000006 c06f10ea ec5819cc c052e356 ec5819e4 c012a137 c03bde50 f60e3000
[  746.165905]  00000000 f6218000 ec5819fc c012a1c1 00000009 ec5819f4 c06f10ea ec581a10
[  746.165931]  ec581c60 c03bde50 c06f047a 0000205f c06f10ea 00000001 00000002 f635af44
[  746.165934] Call Trace:
[  746.165953]  [<c052e356>] dump_stack+0x16/0x18
[  746.165967]  [<c012a137>] warn_slowpath_common+0x5a/0x71
[  746.165979]  [<c03bde50>] ? check_crtc_state+0x62b/0x65c
[  746.165991]  [<c012a1c1>] warn_slowpath_fmt+0x2b/0x2f
[  746.166004]  [<c03bde50>] check_crtc_state+0x62b/0x65c
[  746.166022]  [<c014ca80>] ? finish_task_switch.constprop.80+0x2e/0xa3
[  746.166068]  [<c03c75b4>] intel_modeset_check_state+0x30c/0x55f
[  746.166084]  [<c03c7882>] intel_set_mode+0x26/0x2f
[  746.166097]  [<c03c8619>] intel_get_load_detect_pipe+0x2b4/0x308
[  746.166113]  [<c0531be1>] ? __mutex_unlock_slowpath+0xf4/0x111
[  746.166128]  [<c0168a50>] ? trace_hardirqs_on_caller+0x12e/0x180
[  746.166140]  [<c0168aad>] ? trace_hardirqs_on+0xb/0xd
[  746.166155]  [<c03e11d8>] intel_tv_detect+0xd1/0x3ea
[  746.166182]  [<c038a00e>] drm_helper_probe_single_connector_modes+0xa0/0x270
[  746.166197]  [<c0387bf2>] drm_fb_helper_probe_connector_modes+0x39/0x4c
[  746.166208]  [<c0531ad2>] ? mutex_lock_nested+0x27d/0x298
[  746.166221]  [<c03893a4>] drm_fb_helper_hotplug_event+0x64/0x9a
[  746.166234]  [<c03e0641>] intel_fb_output_poll_changed+0x19/0x1b
[  746.166247]  [<c0389871>] drm_kms_helper_hotplug_event+0x21/0x24
[  746.166258]  [<c0389989>] output_poll_execute+0x115/0x139
[  746.166275]  [<c01402e0>] process_one_work+0x22a/0x3ec
[  746.166286]  [<c01409b4>] ? worker_thread+0x2c/0x28a
[  746.166301]  [<c0140b2b>] worker_thread+0x1a3/0x28a
[  746.166316]  [<c0140988>] ? manage_workers.isra.22+0x19a/0x19a
[  746.166328]  [<c0144df9>] kthread+0x8e/0x93
[  746.166349]  [<c05394b7>] ret_from_kernel_thread+0x1b/0x28
[  746.166360]  [<c0144d6b>] ? __init_kthread_worker+0x47/0x47
[  746.166370] ---[ end trace b2b34c622ca1d661 ]---


[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

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

             reply	other threads:[~2013-07-11  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11  6:23 Knut Petersen [this message]
2013-07-11  6:42 ` [Regression 3.10.0+] i915 resume problem: pipe state doesn't match! Knut Petersen

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=51DE4F77.80503@t-online.de \
    --to=knut_petersen@t-online.de \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.