From: Chris Wilson Date: Fri, 12 Apr 2013 18:10:13 +0000 (+0100) Subject: drm/i915: Scale ring, rather than ia, frequency on Haswell X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~40^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ebecd07d382c022e93c560c56114eec1d6d2cdd;p=pandora-kernel.git drm/i915: Scale ring, rather than ia, frequency on Haswell Haswell introduces a separate frequency domain for the ring (uncore). So where we used to increase the CPU (IA) clock with GPU busyness, we now need to scale the ring frequency directly instead. As the ring limits our memory bandwidth, it is vital for performance that when the GPU is busy, we increase the frequency of the ring to increase the available memory bandwidth. v2: Fix the algorithm to actually use the scaled gpu frequency for the ring. v3: s/max_ring_freq/min_ring_freq/ as that is what it is Signed-off-by: Chris Wilson Cc: Jesse Barnes Reviewed-by: Jesse Barnes [danvet: Add space checkpatch complained about.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed