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)
commit76e4e4b532bc9f289039c569063ec4b2e0ef2cc4
tree14c804b38bf4eb1b1653e53e32c700ac26c91aaa
parentcfd1c48805208b1f1d5f4df153a15fa4a280eb54
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