From: Jesse Barnes Date: Mon, 27 Sep 2010 17:35:44 +0000 (-0700) Subject: drm/i915: fix GMCH power reporting X-Git-Tag: v2.6.36-rc7~17^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d270ae34eb77c58dea60e5b1e300a698d2ce39ac;p=pandora-kernel.git drm/i915: fix GMCH power reporting The IPS driver needs to know the current power consumption of the GMCH in order to make decisions about when to increase or decrease the CPU and/or GPU power envelope. So fix up the divisions to save the results so the numbers are actually correct (contrary to some earlier comments and code, these functions do not modify the first argument and use it for the result). Signed-off-by: Jesse Barnes Signed-off-by: Chris Wilson Cc: stable@kernel.org --- Reading git-diff-tree failed