From: Ville Syrjälä Date: Wed, 7 Aug 2013 10:28:19 +0000 (+0300) Subject: drm/i915: Calculate max watermark levels for ILK+ X-Git-Tag: v3.12-rc1~136^2~59^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=158ae64f820939473012dacfc0ae1ec782b45b60;p=pandora-kernel.git drm/i915: Calculate max watermark levels for ILK+ There are quite a few variables we need to take into account to determine the maximum watermark levels, so it feels a bit cleaner to calculate those rather than just have a bunch of what look like magic numbers. v2: s/pipes_active/num_pipes_active s/othwewise/otherwise Reviewed-by: Chris Wilson Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed