From: Daniel Vetter Subject: Re: [PATCH] drm/i915: fix hdmi portclock limits Date: Mon, 22 Jul 2013 18:35:16 +0200 Message-ID: <20130722163516.GB5939@phenom.ffwll.local> References: <20130722143646.GI8706@strange.amr.corp.intel.com> <1374508959-3157-1-git-send-email-daniel.vetter@ffwll.ch> <20130722162434.GK8706@strange.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com [209.85.215.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 52BBFE5F15 for ; Mon, 22 Jul 2013 09:35:19 -0700 (PDT) Received: by mail-ea0-f172.google.com with SMTP id q10so3993011eaj.31 for ; Mon, 22 Jul 2013 09:35:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130722162434.GK8706@strange.amr.corp.intel.com> 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: Damien Lespiau Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Mon, Jul 22, 2013 at 05:24:34PM +0100, Damien Lespiau wrote: > On Mon, Jul 22, 2013 at 06:02:39PM +0200, Daniel Vetter wrote: > > In > > > > commit 325b9d048810f7689ec644595061c0b700e64bce > > Author: Daniel Vetter > > Date: Fri Apr 19 11:24:33 2013 +0200 > > > > drm/i915: fixup 12bpc hdmi dotclock handling > > > > I've errornously claimed that we don't yet support the hdmi 1.4 > > dotclocks > 225 MHz on Haswell. But a bug report and a closer look at > > the wrpll table showed that we've supported port clocks up to 300MHz. > > > > With the new code to dynamically compute wrpll limits we should have > > no issues going up to the full 340 MHz range of hdmi 1.4, so let's > > just use that to fix this regression. That'll allow 4k over hdmi for > > free! > > > > v2: Drop the random hunk that somehow slipped in. > > > > v3: Cantiga has the original HDMI dotclock limit of 165MHz. And also > > patch up the mode filtering. To do so extract the dotclock limits into > > a little helper function. > > > > v4: Use 300MHz (from Bspec) instead of 340MHz (upper limit for hdmi > > 1.3), apparently hw is not required to be able to drive the highest > > dotclocks. Suggested by Damien. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67048 > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67030 > > Tested-by: Andreas Reis (v2) > > Cc: Damien Lespiau > > Signed-off-by: Daniel Vetter > > Reviewed-by: Damien Lespiau Picked up for -fixes, thanks for the review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch