]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0ca0b79d08281e2780e503d59949977929723af
tree7fa96bd6f51ab9b396b78fc7b8df31829ddccb7f
parent195594fc6c2b09749f0c430c66678fb2a4a0f51b
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