Summary: | loop in pipe configuration computation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Chris Wilson <chris> | ||||||
Component: | DRM/Intel | Assignee: | Maarten Lankhorst <bugs> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||
Version: | DRI git | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | HSW | i915 features: | display/atomic | ||||||
Attachments: |
|
Description
Chris Wilson
2015-12-22 20:17:43 UTC
Created attachment 120652 [details]
dmesg
Still in commit 02932377a975a59ccd83095816d5b23183107d79 Author: Matt Roper <matthew.d.roper@intel.com> Date: Tue Feb 2 17:54:55 2016 -0800 drm-intel-nightly: 2016y-02m-03d-01h-54m-27s UTC integration manifest Do you have a full log with drm.debug=0x1f? Created attachment 123272 [details]
drm.debug=0x1f dmesg
In intel_crt.c: if (HAS_PCH_LPT(dev)) pipe_config->pipe_bpp = 24; Can you make it a WARN_ON, see if it trips? diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c index a2a31fd..64fe69d 100644 --- a/drivers/gpu/drm/i915/intel_crt.c +++ b/drivers/gpu/drm/i915/intel_crt.c @@ -261,8 +261,13 @@ static bool intel_crt_compute_config(struct intel_encoder *encoder, pipe_config->has_pch_encoder = true; /* LPT FDI RX only supports 8bpc. */ - if (HAS_PCH_LPT(dev)) + if (HAS_PCH_LPT(dev)) { + if (pipe_config->bw_constrained && pipe_config->pipe_bpp < 24) { + DRM_DEBUG_KMS("LPT only supports 24bpp\n"); + return false; + } pipe_config->pipe_bpp = 24; + } /* FDI must always be 2.7 GHz */ if (HAS_DDI(dev)) makes it fail silently. This setup (using a 1080p mode on a forced VGA output) used to work on this machine for all intents and purposes. Replaced the modeline with the one from the edid (I guess I used cvt or gtf) and I can use the machine again. So what's the verdict on this where the setup used to work but now doesn't? Bisect would probably be helpful? Did you generate the cvt line with -r ? It had been working for so long, I can't remember its origins. commit f58a1acc7e4a1f37d26124ce4c875c647fbcc61f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue May 3 10:33:01 2016 +0200 drm/i915: Bail out of pipe config compute loop on LPT |
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.