From: Daniel Vetter Subject: Re: [PATCH 2/2] drm/i915: enable 30bpp for DP outputs Date: Fri, 7 Jun 2013 07:51:10 +0200 Message-ID: <20130607055110.GM7827@phenom.ffwll.local> References: <1370108756-1948-1-git-send-email-daniel.vetter@ffwll.ch> <1370108756-1948-2-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 4CA42E67C7 for ; Thu, 6 Jun 2013 22:51:16 -0700 (PDT) Received: by mail-ee0-f49.google.com with SMTP id b57so1491375eek.36 for ; Thu, 06 Jun 2013 22:51:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1370108756-1948-2-git-send-email-daniel.vetter@ffwll.ch> 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: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Sat, Jun 01, 2013 at 07:45:56PM +0200, Daniel Vetter wrote: > We always limited the link bw calculations to 24bpp. Tested with > my shiny new high-bpc screen, seems to work as advertised. > > Signed-off-by: Daniel Vetter Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65280 Tested-by: shui yangwei > --- > drivers/gpu/drm/i915/intel_dp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c > index c92eeeb..9868600 100644 > --- a/drivers/gpu/drm/i915/intel_dp.c > +++ b/drivers/gpu/drm/i915/intel_dp.c > @@ -704,7 +704,7 @@ intel_dp_compute_config(struct intel_encoder *encoder, > > /* Walk through all bpp values. Luckily they're all nicely spaced with 2 > * bpc in between. */ > - bpp = min_t(int, 8*3, pipe_config->pipe_bpp); > + bpp = pipe_config->pipe_bpp; > if (is_edp(intel_dp) && dev_priv->vbt.edp_bpp) > bpp = min_t(int, bpp, dev_priv->vbt.edp_bpp); > > -- > 1.7.11.7 > -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch