drm/i915: VLV GPU frequency to opcode functions
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 17 Apr 2013 22:54:57 +0000 (15:54 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:58:30 +0000 (09:58 +0200)
commit855ba3be12badf6228151ca3ccf54632cfdd463d
tree7fa96bd6f51ab9b396b78fc7b8df31829ddccb7f
parent06da8da2b014d6cc98fa86e72b605e525e6d6884
drm/i915: VLV GPU frequency to opcode functions

When requesting frequency changes or querying status from the Punit, we
need to use an opcode that corresponds to the frequency, taking into
account the memory frequency.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c