]> 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)
commitca9f61cddfcc67fb75951d422a722164adecd78c
tree14c804b38bf4eb1b1653e53e32c700ac26c91aaa
parent514613f56662036f7e6bb1b45d963950d85fdd32
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