[Intel-gfx] Excessive WARN()s in Intel 915 driver

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Jan 8 19:43:23 CET 2014


On Wed, Jan 08, 2014 at 05:17:13PM +0100, Daniel Vetter wrote:
> On Wed, Jan 08, 2014 at 11:08:08AM -0500, Alan Stern wrote:
> > On Tue, 7 Jan 2014, Daniel Vetter wrote:
> > 
> > > I really want users to report these issues, and excessive WARNs seems
> > > to be the only way to get those reports. Please boot with
> > > drm.debug=0xe added to your kernel cmdline and reproduce this issues.
> > > Also, which precise kernel are you running? Testing latest -rc is
> > > always recommended, this state checker code is fairly new and gets
> > > constantly extended and bugs fixed ...
> > 
> > Here you go.  This is the dmesg output after booting with
> > drm.debug=0xe.  Pay no attention to the "AS" suffix in the version
> > string; this is pristine 3.13-rc7.
> 
> That's strange, I've thought we've fixed the last struggling mismatch in
> the lvds borber bits stuff. Can you please try latest drm-intel-nightly
> from
> 
> http://cgit.freedesktop.org/~danvet/drm-intel/
> 
> Thanks, Daniel

The log looks fairly clear to me:

1. initially panel fitter is enabled on pipe B, and pipe B is outputting
   to LVDS and VGA. Border is enabled.
2. pipe A gets enabled outputting to LVDS. This will overwrite the
   LVDS border bits
3. pipe B is still active so we do the state check, but as the LVDS
   border bits have been clobbered earlier, the state checker gets
   angry

This actually hits another problem we still have. We've changing the
pipe for the LVDS port w/o shutting the port down in between. That
doesn't sound entirely safe. I wonder if we still have some real
issues preventing this change?

         * intel_modeset_setup_hw_state does not.
         */
        *modeset_pipes &= 1 << intel_crtc->pipe;
-       *prepare_pipes &= 1 << intel_crtc->pipe;
 
        DRM_DEBUG_KMS("set mode pipe masks: modeset: %x, prepare: %x, disable: %x\n",
                      *modeset_pipes, *prepare_pipes, *disable_pipes);

-- 
Ville Syrjälä
Intel OTC



More information about the Intel-gfx mailing list