From: Daniel Vetter Subject: Re: [PATCH] drm/i915: update VLV PLL and DPIO code v11 Date: Fri, 19 Apr 2013 00:25:00 +0200 Message-ID: <20130418222459.GN6169@phenom.ffwll.local> References: <1366321896-6301-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by gabe.freedesktop.org (Postfix) with ESMTP id E458BE5CDD for ; Thu, 18 Apr 2013 15:21:58 -0700 (PDT) Received: by mail-ee0-f44.google.com with SMTP id c41so1554791eek.3 for ; Thu, 18 Apr 2013 15:21:58 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1366321896-6301-1-git-send-email-jbarnes@virtuousgeek.org> 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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Apr 18, 2013 at 02:51:36PM -0700, Jesse Barnes wrote: > In Valleyview voltage swing, pre-emphasis and lane control registers can > be programmed only through the h/w side band fabric. Update > vlv_update_pll, i9xx_crtc_enable, and intel_enable_pll with the > appropriate programming. > > We need to make sure that the tx lane reset occurs in both the full mode > set and DPMS paths, so factor things out to allow that. > > v2: use different DPIO_DIVISOR values for VGA and DisplayPort > v3: Fix update pll logic to use same DPIO_DIVISOR & DPIO_REFSFR values > for all display interfaces > v4: collapse with various updates > v5: squash with crtc enable/pll enable bits > v6: split out DP code (jbarnes) > put phyready check under IS_VALLEYVIEW (jbarnes) > remove unneeded check in 9xx pll div update (Jani) > wrap VLV pll update call in IS_VALLEYVIEW (Jani) > move port enable back to end of crtc enable (jbarnes) > put phyready check under IS_VALLEYVIEW (jbarnes) > v7: fix up conflicts against latest drm-intel-next-queued > v8: use DPIO reg names, fix pipes (Jani) > from mPhy_registers_VLV2_ww20p5 doc > v9: update to latest info from driver enabling notes doc > driver_vbios_notes_9 > v10: fixup a bit of pipe/port confusion to allow eDP and HDMI to work > simultaneously (Jesse) > v11: use pll/port callbacks for DPIO port activity (Daniel) > use separate VLV CRTC enable function (Daniel) > move around port ready checks (Jesse) > > Signed-off-by: Pallavi G > Signed-off-by: Vijay Purushothaman > Signed-off-by: Gajanan Bhat > Signed-off-by: Ben Widawsky > Signed-off-by: Jesse Barnes Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch