On Mon, Nov 17, 2014 at 09:06:53PM +0200, Ville Syrjälä wrote: > On Mon, Nov 17, 2014 at 07:41:44PM +0100, Daniel Vetter wrote: > > On Mon, Nov 17, 2014 at 04:43:45PM +0200, ville.syrjala@xxxxxxxxxxxxxxx wrote: > > > diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c > > > index d8841c7..d23aa05 100644 > > > --- a/drivers/gpu/drm/i915/intel_runtime_pm.c > > > +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c > > > @@ -1401,6 +1401,6 @@ int i915_get_cdclk_freq(void) > > > dev_priv = container_of(hsw_pwr, struct drm_i915_private, > > > power_domains); > > > > > > - return dev_priv->display.get_display_clock_speed(dev_priv->dev); > > > + return dev_priv->cdclk_freq; > > > > Maybe this here is the reason why hsw shouldn't change cdclck - the audio > > side just falls over? > > I must admit that I didn't check whether the audio side will query the > cdclk again after every mode change. It really should, but often reality > doesn't match my expectations :) Hm right, we only change cdclk on modeset changes, and those will always generate an unsolicited event irq. So if we break stuff here that's indeed just a bug in hda-intel and not something we can't fix. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx