[Intel-gfx] [PATCH] drm/i915: avoid full modeset when changing the color range properties

Daniel Vetter daniel at ffwll.ch
Tue Apr 23 13:53:18 CEST 2013


On Tue, Apr 23, 2013 at 12:13:34PM +0300, Ville Syrjälä 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älä <ville.syrjala at linux.intel.com>
> > 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älä <ville.syrjala at linux.intel.com>
> > Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

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



More information about the Intel-gfx mailing list