From: Daniel Vetter Subject: Re: [PATCH] drm/i915: avoid full modeset when changing the color range properties Date: Tue, 23 Apr 2013 13:53:18 +0200 Message-ID: <20130423115318.GF6169@phenom.ffwll.local> References: <20130422112449.GA4469@intel.com> <1366643243-27480-1-git-send-email-daniel.vetter@ffwll.ch> <20130423091334.GC4469@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com [209.85.215.173]) by gabe.freedesktop.org (Postfix) with ESMTP id 03096E610B for ; Tue, 23 Apr 2013 04:50:16 -0700 (PDT) Received: by mail-ea0-f173.google.com with SMTP id m14so206866eaj.4 for ; Tue, 23 Apr 2013 04:50:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130423091334.GC4469@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: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: Daniel Vetter , Intel Graphics Development , Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org On Tue, Apr 23, 2013 at 12:13:34PM +0300, Ville Syrj=E4l=E4 wrote: > On Mon, Apr 22, 2013 at 05:07:23PM +0200, Daniel Vetter wrote: > > Automatic color range selection was added in > > = > > commit 55bc60db5988c8366751d3d04dd690698a53412c > > Author: Ville Syrj=E4l=E4 > > Date: Thu Jan 17 16:31:29 2013 +0200 > > = > > drm/i915: Add "Automatic" mode for the "Broadcast RGB" property > > = > > but that removed the check to avoid a full modeset if the value is > > unchanged. Unfortunately X sets all properties with their current > > value at start-up, resulting in some ugly flickering which shouldn't > > be there. > > = > > v2: Change old_range from bool to uint32_t, spotted by Ville. > > = > > v3: Actually git add everything ;-) > > = > > Cc: Ville Syrj=E4l=E4 > > Cc: Paulo Zanoni > > Signed-off-by: Daniel Vetter > = > Reviewed-by: Ville Syrj=E4l=E4 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