drm/i915: support overclocking on Sandy Bridge
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Dec 2010 19:34:20 +0000 (11:34 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:35:40 +0000 (20:35 +0000)
commita6044e23b784544fe567db75dbf9c4f684bd6d5b
treee2828ee5e59ba7e073283d5c890352892f22f793
parentbee17e5ae6b68d21b9d193f34ccefeef9d4fffe0
drm/i915: support overclocking on Sandy Bridge

In some configuration, the PCU may allow us to overclock the GPU.
Check for this case and adjust the max frequency as appropriate.  Also
initialize the min/max frequencies to default values as indicated by
hardware.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c