From: Daniel Vetter Date: Mon, 22 Apr 2013 15:07:23 +0000 (+0200) Subject: drm/i915: avoid full modeset when changing the color range properties X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae4edb8089df67d25fbd9386012a335a64aca287;p=pandora-kernel.git drm/i915: avoid full modeset when changing the color range properties Automatic color range selection was added in commit 55bc60db5988c8366751d3d04dd690698a53412c Author: Ville Syrjälä 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ä Cc: Paulo Zanoni Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed