]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/vlv: Valleyview support for forcewake Individual power wells.
authorDeepak S <deepak.s@intel.com>
Sat, 23 Nov 2013 09:25:43 +0000 (14:55 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Nov 2013 07:31:45 +0000 (08:31 +0100)
commit940aece471bd6656b86f5d77132b6670a3b88dc8
tree479111c25b0c7826256450875a028324eb6239df
parentc8d9a5905e45d856fb21cce2e20f186ce6719560
drm/i915/vlv: Valleyview support for forcewake Individual power wells.

Split vlv force wake routines to help individually control Media/Render
well based on the register access.

We've seen power savings in the lower sub-1W range on workloads that
only need on of the power wells, e.g. glbenchmark, media playback

Note: The same split isn't there for the forcewake queue, only the
forcwake domains are split.

Signed-off-by: Deepak S <deepak.s@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Rebase on top of the removed forcewake hack in the ring irq
get/put code and add a note to add Deepak's answer to Chris question.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_uncore.c