Summary: | [HSW Regression]boot system has <3>[ 1.627079] [drm:intel_pipe_config_compare] *ERROR* mismatch in port_clock (expected 146250, found 270000) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | lu hua <huax.lu> | ||||||
Component: | DRM/Intel | Assignee: | Ville Syrjala <ville.syrjala> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | major | ||||||||
Priority: | high | CC: | intel-gfx-bugs, jinxianx.guo, lei.a.liu, qingshuai.tian | ||||||
Version: | unspecified | ||||||||
Hardware: | All | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Hm, regression in -nightly which works in -fixes. Can you please bisect the issue? (In reply to comment #1) > Hm, regression in -nightly which works in -fixes. Can you please bisect the > issue? We don't have HSW clock readout in -fixes which explains this and makes bisection pointless. Created attachment 94052 [details] [review] drm/i915: Fix DDI port_clock for VGA output I think this patch should fix it. Please give it a try. (In reply to comment #3) > Created attachment 94052 [details] [review] [review] > drm/i915: Fix DDI port_clock for VGA output > > I think this patch should fix it. Please give it a try. Fixed by this patch. *** Bug 75078 has been marked as a duplicate of this bug. *** Fixed by commit 8f7abfd82246a8d8b5bd1ad3056f3b46345b6b4a Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Thu Feb 27 14:23:12 2014 +0200 drm/i915: Fix DDI port_clock for VGA output On DDI there's no PLL as such to generate the pixel clock for VGA. Instead we derive the pixel clock from the FDI link frequency. So to make .compute_config match what .get_config does, we need to set the port_clock based on the FDI link frequency. Note that we don't even check the port_clock when selecting the PLL for VGA output. We just assume SPLL at 1.35GHz is what we want, and that does match with the asumption of FDI frequency of 2.7Ghz we have in intel_fdi_link_freq(). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74955 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Verified.Fixed. Closing old verified. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 94037 [details] dmesg System Environment: -------------------------- Platform: Haswell Kernel: (drm-intel-nightly)2f589112609b0a964b3d78c99c0f3a83ac16add6 Bug detailed description: ----------------------------- Clean boot system, reports <3>[ 1.627079] [drm:intel_pipe_config_compare] *ERROR* mismatch in port_clock (expected 146250, found 270000). It happens on Haswell with -queued and -nightly kernel. It doesn't happen on -fixes kernel. The latest known good commit:3803887e245444aa465d9f3d5a4de6679e21ea45 The latest known bad commit: b6ae3c7c60161a9b1e15b1ccd6412fad65b7d9cf Reproduce steps: ---------------------------- 1. Clean boot system 2. dmesg -r | egrep "<[1-3]>" |grep drm