From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/2] Revert "drm/i915: Don't use the HDMI port color range bit on Valleyview" Date: Wed, 26 Jun 2013 20:43:08 +0200 Message-ID: <20130626184308.GI18285@phenom.ffwll.local> References: <1372158995-16945-1-git-send-email-ville.syrjala@linux.intel.com> <20130626075331.22fcbdae@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ea0-f196.google.com (mail-ea0-f196.google.com [209.85.215.196]) by gabe.freedesktop.org (Postfix) with ESMTP id 39BCAE6352 for ; Wed, 26 Jun 2013 11:43:10 -0700 (PDT) Received: by mail-ea0-f196.google.com with SMTP id q10so4053968eaj.7 for ; Wed, 26 Jun 2013 11:43:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130626075331.22fcbdae@jbarnes-desktop> 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 Wed, Jun 26, 2013 at 07:53:31AM -0700, Jesse Barnes wrote: > On Tue, 25 Jun 2013 14:16:34 +0300 > ville.syrjala@linux.intel.com wrote: > = > > From: Ville Syrj=E4l=E4 > > = > > The PIPECONF color range bit doesn't appear to be effective, on HDMI > > outputs at least. The color range bit in the port register works though, > > so let's use it. > > = > > I have not yet verified whether the PIPECONF bit works on DP outputs. > > = > > This reverts commit 83a2af88f80ebf8104c9e083b786668b00f5b9ce. > > = > > Signed-off-by: Ville Syrj=E4l=E4 > > --- > > drivers/gpu/drm/i915/intel_hdmi.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > = > > diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/i= ntel_hdmi.c > > index bc12518..98df2a0 100644 > > --- a/drivers/gpu/drm/i915/intel_hdmi.c > > +++ b/drivers/gpu/drm/i915/intel_hdmi.c > > @@ -602,7 +602,7 @@ static void intel_hdmi_mode_set(struct drm_encoder = *encoder, > > u32 hdmi_val; > > = > > hdmi_val =3D SDVO_ENCODING_HDMI; > > - if (!HAS_PCH_SPLIT(dev) && !IS_VALLEYVIEW(dev)) > > + if (!HAS_PCH_SPLIT(dev)) > > hdmi_val |=3D intel_hdmi->color_range; > > if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) > > hdmi_val |=3D SDVO_VSYNC_ACTIVE_HIGH; > = > Reviewed-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