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>
Wed, 2 May 2012 12:37:52 +0000 (14:37 +0200)
commite90f3b61f4432e3c5bb6b57f4b3e8d8cba747541
tree1e53d0066d7d1c74409ceee36c3c4f727c49f9da
parent074b5e1a99fb5017122591d70098601e0484ca6a
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>
Tested-by: Andrey Rahmatullin <wrar@wrar.name>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49025
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c