From: Ville Syrjälä Date: Mon, 18 Aug 2014 11:42:43 +0000 (+0300) Subject: drm/i915: Warn about odd rps values on CHV X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c14762d0cc3eecfdc5060bd634d124d32bd9d44;p=pandora-kernel.git drm/i915: Warn about odd rps values on CHV CHV wants even rps opcodes so print a warning of the min/max/rpe/rp1 values are odd, and warn if an odd value slips through to valleyview_set_rps() and truncate it to an even value. Also add a comment to chv_freq_opcode() to make sure no one changes the code without considering this requirement. Signed-off-by: Ville Syrjälä Reviewed-by: Deepak S [danvet: Help git along in applying the patch, somehow it silently ended up in the vlv init_gt_powersave function.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed