From: Paulo Zanoni Date: Fri, 24 May 2013 14:59:17 +0000 (-0300) Subject: drm/i915: add "enable" argument to intel_update_sprite_watermarks X-Git-Tag: v3.11-rc1~65^2~105^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4ff43a692b44c6e326f9f28208f3d78ea51f7e;p=pandora-kernel.git drm/i915: add "enable" argument to intel_update_sprite_watermarks Because we want to call it from the "sprite disable" paths, since on Haswell we need to update the sprite watermarks when we disable sprites. For now, all this patch does is to add the "enable" argument and call intel_update_sprite_watermarks from inside ivb_disable_plane. This shouldn't change how the code behaves because on sandybridge_update_sprite_wm we just ignore the "!enable" case. The patches that implement Haswell watermarks will make use of the changes introduced by this patch. Signed-off-by: Paulo Zanoni Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed