From: Ville Syrjälä Date: Tue, 6 Aug 2013 19:24:02 +0000 (+0300) Subject: drm/i915: Split watermark level computation from the code X-Git-Tag: v3.12-rc1~136^2~59^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f5ddd170453ff44aed1b6efe53ff872295ef538;p=pandora-kernel.git drm/i915: Split watermark level computation from the code Refactor the watermarks computation for one level to a separate function. This function will now set the ->enable flag to true, even if the watermark level wasn't actually checked yet. In the future we will delay the checking so we must consider all unchecked watermarks as possibly valid. v2: Preserve comment about latency units Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed