summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_suspend.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-05-12 17:35:04 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-22 21:53:11 +0200
commite494837aeed358ef58e66154cf7f1dac4ae3a9f5 (patch)
tree4cc9105492870c92374a2e2b8b05a3a76963981b /drivers/gpu/drm/i915/i915_suspend.c
parentdrm/i915: remove user GTT mappings early during runtime suspend (diff)
downloadlinux-e494837aeed358ef58e66154cf7f1dac4ae3a9f5.tar.xz
linux-e494837aeed358ef58e66154cf7f1dac4ae3a9f5.zip
drm/i915: fix possible RPM ref leaking during RPS disabling
In commit c6df39b5ea6342323a42edfbeeca0a28c643d7ae Author: Imre Deak <imre.deak@intel.com> Date: Mon Apr 14 20:24:29 2014 +0300 drm/i915: get a runtime PM ref for the deferred GT powersave enabling I added an RPM get-ref when enabling RPS from a deferred work, but forgot to add the corresponding put-ref when canceling the work. This may leave RPM disabled. Note that the race is real since we run the rps enabling with a delayed work item after resume, so leaves enough time (in contrived examples) to fit a quick autoresum in. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Robert Beckett <robert.beckett@intel.com> Testecase: igt/pm_rpm/system-suspend [danvet: Mention testcase and add note.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_suspend.c')
0 files changed, 0 insertions, 0 deletions