]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Store the requested frequency whilst RPS is disabled
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Feb 2017 09:47:08 +0000 (09:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Feb 2017 12:40:29 +0000 (12:40 +0000)
commit5040c31c06b0a2e1932b6fcfe279e776b484a1f5
tree14c804b38bf4eb1b1653e53e32c700ac26c91aaa
parent4ef6239fd0514ed71019f2e5d1e20e4eb9b9c9de
drm/i915: Store the requested frequency whilst RPS is disabled

If intel_set_rps() is called whilst the hw is disabled, just store the
requested frequency (from the user) for application when we wake the hw
up.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170220094713.22874-2-chris@chris-wilson.co.uk
Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
drivers/gpu/drm/i915/intel_pm.c