From: Paulo Zanoni Date: Fri, 3 May 2013 20:23:40 +0000 (-0300) Subject: drm/i915: fix haswell linetime watermarks calculation X-Git-Tag: v3.11-rc1~65^2~105^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa591ec528ad75bb4c77606c5cb671f05e04db6;p=pandora-kernel.git drm/i915: fix haswell linetime watermarks calculation Move the "*8" calculation to the left side so we don't propagate rounding errors. Also use DIV_ROUND_CLOSEST because that's what the spec says we need to do. Signed-off-by: Paulo Zanoni Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed