From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: manage PCH PLLs separately from pipes Date: Wed, 18 Apr 2012 23:36:08 +0200 Message-ID: <20120418212920.GA2091@phenom.ffwll.local> References: <1334179003-1592-1-git-send-email-jbarnes@virtuousgeek.org> <1334337878-32566-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by gabe.freedesktop.org (Postfix) with ESMTP id B945A9E830 for ; Wed, 18 Apr 2012 14:35:14 -0700 (PDT) Received: by wibhm17 with SMTP id hm17so956290wib.0 for ; Wed, 18 Apr 2012 14:35:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1334337878-32566-1-git-send-email-chris@chris-wilson.co.uk> 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: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Apr 13, 2012 at 06:24:38PM +0100, Chris Wilson wrote: > From: Jesse Barnes > > PCH PLLs aren't required for outputs on the CPU, so we shouldn't just > treat them as part of the pipe. > > So split the code out and manage PCH PLLs separately, allocating them > when needed or trying to re-use existing PCH PLL setups when the timings > match. > > v2: add num_pch_pll field to dev_priv (Daniel) > don't NULL the pch_pll pointer in disable or DPMS will fail (Jesse) > put register offsets in pll struct (Chris) > > v3: Decouple enable/disable of PLLs from get/put. > > Fixes https://bugs.freedesktop.org/show_bug.cgi?id=44309 > > Signed-off-by: Jesse Barnes > Signed-off-by: Chris Wilson Patch applied to dinq with Jesse's irc reviewed-by and tested-by, thanks for the patch. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48