From: Damien Lespiau Subject: Re: [PATCH v2 1/2] drm/i915: provide interface for audio driver to query cdclk Date: Thu, 3 Jul 2014 12:18:34 +0100 Message-ID: <20140703111834.GA8285@strange.amr.corp.intel.com> References: <1404363651-4388-1-git-send-email-mengdong.lin@intel.com> <87mwcqew2x.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87mwcqew2x.fsf@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Jani Nikula Cc: tiwai@suse.de, alsa-devel@alsa-project.org, intel-gfx@lists.freedesktop.org List-Id: alsa-devel@alsa-project.org On Thu, Jul 03, 2014 at 10:32:38AM +0300, Jani Nikula wrote: > On Thu, 03 Jul 2014, mengdong.lin@intel.com wrote: > > From: Jani Nikula > > I wrote this as a quick hack patch to try as an alternative to [1] which > ended up not working on Haswell. Please reassure me that this is going > to be a temporary solution until we get a more generic interface between > the audio and display drivers. I don't much like this, but at least it's > isolated and small. > > I'd like the commit message amended with something like: > > """ > If the display power well has been disabled, the display audio > controller divider values EM4 MVALUE and EM5 NVALUE will have been > lost. The CDCLK frequency is required for reprogramming them. Provide a > private interface for the audio driver to query CDCLK. > > This is a stopgap solution until a more generic interface between audio > and display drivers has been implemented. > """ > > I'd also like to have an additional Reviewed-by from the i915 > side. After that, I'm fine with merging this through alsa. Sure. Reviewed-by: Damien Lespiau -- Damien