From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 07/15] drm/i915: Fixup non-24bpp support for VGA screens on Haswell Date: Wed, 24 Apr 2013 14:12:55 +0300 Message-ID: <20130424111255.GK4469@intel.com> References: <1366363487-15926-1-git-send-email-daniel.vetter@ffwll.ch> <1366363487-15926-8-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id DACC8E6342 for ; Wed, 24 Apr 2013 04:12:58 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1366363487-15926-8-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: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Fri, Apr 19, 2013 at 11:24:39AM +0200, Daniel Vetter wrote: > The LPT PCH only supports 8bpc, so we need to force the pipe bpp > to the right value. > = > Signed-off-by: Daniel Vetter Reviewed-by: Ville Syrj=E4l=E4 > --- > drivers/gpu/drm/i915/intel_crt.c | 4 ++++ > 1 file changed, 4 insertions(+) > = > diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/inte= l_crt.c > index 58b4a53..1b9ebf4 100644 > --- a/drivers/gpu/drm/i915/intel_crt.c > +++ b/drivers/gpu/drm/i915/intel_crt.c > @@ -207,6 +207,10 @@ static bool intel_crt_compute_config(struct intel_en= coder *encoder, > if (HAS_PCH_SPLIT(dev)) > pipe_config->has_pch_encoder =3D true; > = > + /* LPT FDI RX only supports 8bpc. */ > + if (HAS_PCH_LPT(dev)) > + pipe_config->pipe_bpp =3D 24; > + > return true; > } > = > -- = > 1.7.11.7 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Ville Syrj=E4l=E4 Intel OTC