drm/i915: Only enable IPS polling for gen5
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Apr 2012 18:35:02 +0000 (19:35 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:24 +0000 (11:18 +0200)
commit582be6b415b85e754be5342894e85f3883e92362
tree7d0f33b16d8dd4e907d95a3b9f18034a6f4272c6
parent6d171cb4c2b74a34283333af93fdd7bebdf57e6d
drm/i915: Only enable IPS polling for gen5

On SandyBridge IPS was entirely implemented in hardware and not reliant
on the driver monitoring power consumption and feeding back desired run
states, so the hardware is able to adapt quicker and more flexibly. Which
is a huge relief for us as we no longer have to carry empirically
derived magic algorithms.

Yet despite the advance in technology, the driver was still doing its
IPS polling on all machines. Restrict it to the only supported hardware,
Clarkdale/Arrandale.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c