drm/i915: Drop schedule_back from psr_exit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Jun 2014 11:59:05 +0000 (13:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Jun 2014 07:59:19 +0000 (09:59 +0200)
commit3108e99ea94fa1cb80c08ebcdcf60e8dea718438
treefd2b1b6a6f4d054e9710980cba8bd5d5f62a30cf
parente6e559d4a90b539b711d8b7a70b7673031c48191
drm/i915: Drop schedule_back from psr_exit

It doesn't make sense to never again schedule the work, since by the
time we might want to re-enable psr the world might have changed and
we can do it again.

The only exception is when we shut down the pipe, but that's an
entirely different thing and needs to be handled in psr_disable.

Note that later patch will again split psr_exit into psr_invalidate
and psr_flush. But the split is different and this simplification
helps with the transition.

v2: Improve the commit message a bit.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c