public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: 3.13-rc2, i855, [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock
Date: Thu, 5 Dec 2013 23:13:41 +0100	[thread overview]
Message-ID: <20131205231341.6a543744@neptune.home> (raw)
In-Reply-To: <20131205104956.GX10036@intel.com>

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

Hi Ville,

On Thu, 05 December 2013 Ville Syrjälä wrote:
> On Wed, Dec 04, 2013 at 09:09:22PM +0100, Bruno Prémont wrote:
> > [    1.621199] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock (expected 108000, found 48000)
> 
> Hmm. Kind of looks like we're reading/parsing the PLL registers incorrectly.
> 
> Let's try to see what the driver thinks the registers contain:

Below a summary of the PLL values, full dmesg attached
(gzip-compressed to be polite on mailboxes):
...
[    0.976312] [drm:intel_dump_pipe_config], DPLL = 0x808b0000
[    0.976315] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    0.976317] [drm:intel_dump_pipe_config], FP0 = 0x21207
[    0.976319] [drm:intel_dump_pipe_config], FP1 = 0x21207
...
[    0.976367] [drm:intel_dump_pipe_config], DPLL = 0x90020000
[    0.976369] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    0.976371] [drm:intel_dump_pipe_config], FP0 = 0x2140e
[    0.976373] [drm:intel_dump_pipe_config], FP1 = 0x21207
...
[    1.030670] [drm:intel_dump_pipe_config], DPLL = 0x0
[    1.030672] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    1.030674] [drm:intel_dump_pipe_config], FP0 = 0x0
[    1.030676] [drm:intel_dump_pipe_config], FP1 = 0x0
...
[    1.132925] [drm:intel_dump_pipe_config], DPLL = 0x0
[    1.132927] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    1.132928] [drm:intel_dump_pipe_config], FP0 = 0x0
[    1.132929] [drm:intel_dump_pipe_config], FP1 = 0x0
...
[    1.691202] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock (expected 108000, found 48000)
[    1.691203] ------------[ cut here ]------------
[    1.691214] WARNING: CPU: 0 PID: 1 at /home/Projects/Linux-git/drivers/gpu/drm/i915/intel_display.c:9288 check_crtc_state+0x6eb/0xe60()
[    1.691215] pipe state doesn't match!
[    1.691217] Modules linked in:
...
[    1.691488] [drm:intel_dump_pipe_config], DPLL = 0x90020000
[    1.691489] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    1.691491] [drm:intel_dump_pipe_config], FP0 = 0x3170d
[    1.691492] [drm:intel_dump_pipe_config], FP1 = 0x3170d
...
[    1.691528] [drm:intel_dump_pipe_config], DPLL = 0x90020000
[    1.691530] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[    1.691531] [drm:intel_dump_pipe_config], FP0 = 0x3170d
[    1.691532] [drm:intel_dump_pipe_config], FP1 = 0x3170d
...
[    1.803189] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    1.805213] i915 0000:00:02.0: registered panic notifier
[    1.807248] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
...
[   53.589413] [drm:intel_dump_pipe_config], DPLL = 0x0
[   53.589418] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[   53.589424] [drm:intel_dump_pipe_config], FP0 = 0x0
[   53.589429] [drm:intel_dump_pipe_config], FP1 = 0x0
...
[   53.641132] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock (expected 108000, found 48000)
[   53.641139] ------------[ cut here ]------------
[   53.641165] WARNING: CPU: 0 PID: 2176 at /home/Projects/Linux-git/drivers/gpu/drm/i915/intel_display.c:9288 check_crtc_state+0x6eb/0xe60()
[   53.641171] pipe state doesn't match!
...
[   53.641710] [drm:intel_dump_pipe_config], DPLL = 0x90020000
[   53.641716] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[   53.641721] [drm:intel_dump_pipe_config], FP0 = 0x3170d
[   53.641726] [drm:intel_dump_pipe_config], FP1 = 0x3170d
...
[   53.641847] [drm:intel_dump_pipe_config], DPLL = 0x90020000
[   53.641853] [drm:intel_dump_pipe_config], DPLL_MD = 0x0
[   53.641858] [drm:intel_dump_pipe_config], FP0 = 0x3170d
[   53.641863] [drm:intel_dump_pipe_config], FP1 = 0x3170d
...
[   53.696988] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock (expected 108000, found 48000)
[   53.696995] ------------[ cut here ]------------
[   53.697012] WARNING: CPU: 0 PID: 2176 at /home/Projects/Linux-git/drivers/gpu/drm/i915/intel_display.c:9288 check_crtc_state+0x6eb/0xe60()
[   53.697017] pipe state doesn't match!
...

Bruno

[-- Attachment #2: dmesg-with-pll-debug.gz --]
[-- Type: application/x-gzip, Size: 26287 bytes --]

[-- 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-12-05 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 20:09 3.13-rc2, i855, [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.crtc_clock Bruno Prémont
2013-12-05 10:49 ` Ville Syrjälä
2013-12-05 22:13   ` Bruno Prémont [this message]

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=20131205231341.6a543744@neptune.home \
    --to=bonbons@linux-vserver.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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