From: Ville Syrjälä Date: Thu, 1 Aug 2013 13:18:53 +0000 (+0300) Subject: drm/i915: Disable specific watermark levels when latency is zero X-Git-Tag: v3.12-rc1~136^2~59^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3312ba65caa23cf1210cc578755babc394769843;p=pandora-kernel.git drm/i915: Disable specific watermark levels when latency is zero Return UINT_MAX for the calculated WM level if the latency is zero. This will lead to marking the WM level as disabled. I'm not sure if latency==0 should mean that we want to disable the level. But that's the implication I got from the fact that we don't even enable the watermark code of the SSKDP register is 0. v2: Use WARN() to scare people Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed