summaryrefslogtreecommitdiffstats
path: root/lib/interval_tree_test.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-04-22 20:21:07 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-05 09:09:10 +0200
commit9486db611ca69ea67b6f4285fbb8afeb34585571 (patch)
tree12cb736abd1c93e062b5b6796fec5501c6c50972 /lib/interval_tree_test.c
parent92b806d3684f2c7009554aaf587531a6a861af39 (diff)
downloadlinux-9486db611ca69ea67b6f4285fbb8afeb34585571.tar.bz2
drm/i915: reinit GT power save during resume
During runtime suspend there can be a last pending rps.work, so make sure it's canceled. Note that in the runtime suspend callback we can't get any RPS interrupts since it's called only after the GPU goes idle and we set the minimum RPS frequency. The next possibility for an RPS interrupt is only after getting an RPM ref (for example because of a new GPU command) and calling the RPM resume callback. v2: - patch introduced in v2 of the patchset v3: - Change the order of canceling the rps.work and disabling interrupts to avoid the race between interrupt disabling and the the rps.work. Race spotted by Ville. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions