From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Bruno Prémont" <bonbons@linux-vserver.org>
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 12:49:56 +0200 [thread overview]
Message-ID: <20131205104956.GX10036@intel.com> (raw)
In-Reply-To: <20131204210922.0dc90878@neptune.home>
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:
>From 4a804c01e051b2cb853d3d5114ae77d1646fb889 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <ville.syrjala@linux.intel.com>
Date: Thu, 5 Dec 2013 12:44:27 +0200
Subject: [PATCH] dpll state debug
---
drivers/gpu/drm/i915/intel_display.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 3f2f1d2..b8f9077 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8976,6 +8976,10 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
pipe_config->pch_pfit.enabled ? "enabled" : "disabled");
DRM_DEBUG_KMS("ips: %i\n", pipe_config->ips_enabled);
DRM_DEBUG_KMS("double wide: %i\n", pipe_config->double_wide);
+ DRM_DEBUG_KMS("DPLL = 0x%x\n", pipe_config->dpll_hw_state.dpll);
+ DRM_DEBUG_KMS("DPLL_MD = 0x%x\n", pipe_config->dpll_hw_state.dpll_md);
+ DRM_DEBUG_KMS("FP0 = 0x%x\n", pipe_config->dpll_hw_state.fp0);
+ DRM_DEBUG_KMS("FP1 = 0x%x\n", pipe_config->dpll_hw_state.fp1);
}
static bool check_encoder_cloning(struct drm_crtc *crtc)
--
1.8.3.2
--
Ville Syrjälä
Intel OTC
next prev parent reply other threads:[~2013-12-05 10:50 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ä [this message]
2013-12-05 22:13 ` Bruno Prémont
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=20131205104956.GX10036@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=bonbons@linux-vserver.org \
--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.