]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Preserve current RPS frequency across init
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jul 2016 08:10:32 +0000 (09:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Jul 2016 14:21:40 +0000 (15:21 +0100)
commit3a45b05c4517f36a65f63d53524c3edbe59e0827
treeed9a32ce9a4f115e5b3740c7531490243d4d3f5a
parentb913b33c43db849778f044d4b9e74b167898a9bc
drm/i915: Preserve current RPS frequency across init

Select idle frequency during initialisation, then reset the last known
frequency when re-enabling. This allows us to preserve the user selected
frequency across resets.

v2: Stop CHV from overriding the user's choice in cherryview_enable_rps()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1468397438-21226-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c