From: Ville Syrjälä Date: Fri, 5 Jul 2013 08:57:22 +0000 (+0300) Subject: drm/i915: Don't multiply the watermark latency values too early X-Git-Tag: v3.12-rc1~136^2~59^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d5019e95415a99b1c0bca3dab6d8fcd39f4c65;p=pandora-kernel.git drm/i915: Don't multiply the watermark latency values too early The LP1+ watermark latency values need to be multiplied by 5 to make them suitable for watermark calculations. However on pre-HSW platforms we're going to need the raw value later when we have to write it to the WM_LPn registers' latency field. So delay the multiplication until it's needed. Note: Paulo complains that the units of wm (now in 100ns) aren't really clear and I agree. But that can be fixed later on ... Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni [danvet: Add a comment about the unit obfuscation.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed