From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 07/10] drm/i915: completely rewrite the Haswell PLL handling code Date: Wed, 10 Oct 2012 16:52:45 +0200 Message-ID: <20121010145245.GE5533@phenom.ffwll.local> References: <1349211142-4802-1-git-send-email-przanoni@gmail.com> <1349449561-3599-1-git-send-email-przanoni@gmail.com> <1349449561-3599-8-git-send-email-przanoni@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 03DBD9F658 for ; Wed, 10 Oct 2012 07:51:46 -0700 (PDT) Received: by mail-we0-f177.google.com with SMTP id u50so379380wey.36 for ; Wed, 10 Oct 2012 07:51:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Lespiau, Damien" Cc: intel-gfx@lists.freedesktop.org, Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 10, 2012 at 03:22:01PM +0100, Lespiau, Damien wrote: > On Fri, Oct 5, 2012 at 4:05 PM, Paulo Zanoni wrote: > > + val = SPLL_PLL_ENABLE | SPLL_PLL_FREQ_1350MHz | SPLL_PLL_SCC; > > We probably want a patch on top to fix the SCC typo (should be SSC, > Spread Spectrum Clock). > > There's also some fiddly bit with CPU Vs PCH SSC sources, but this can > be a later addition. Hm, I don't understand what PCH SSC resources we have on hsw (which are not just vga encoder resources, since that's the only pch encoder left). Two more things I've noticed while reading the patch: - the simple refcounting seems to be good enough for now, but I guess for pll sharing we need a real struct intel_ddi_pll, like for the pch plls. But that's likely best done together with the pll readout code required for fastboot. - When will the wrpll table die ... ;-) Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch