From: Ville Syrjälä Date: Tue, 24 Sep 2013 18:26:24 +0000 (+0300) Subject: drm/i915: Make sure we respect n.max on VLV X-Git-Tag: v3.13-rc1~76^2~68^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e639bf024a0706015dbb348eb32619a9bb9329;p=pandora-kernel.git drm/i915: Make sure we respect n.max on VLV We limit the maximum n divider value in order to make sure the PLL's reference inout is at least 19.2 MHz. I assume that is done to satisfy some hardware requirement. However we never check whether that calculated limit is below the maximum supoorted N divider value (7). In practice that is always true since we only support 100 MHz reference clock, but making the code safe against higher reference clocks seems like a reasoanble thing to do. Signed-off-by: Ville Syrjälä Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed