]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Flush any outstanding work to turn the VDD off
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Apr 2012 21:43:42 +0000 (22:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Apr 2012 22:34:54 +0000 (00:34 +0200)
commit59d0dc57532948a29339a304a8961e41df5bf707
treeb64b1564bc559e5404f3d3335da47317c7dfa4c6
parent10aa99f6a4e3f2acafb0708c9a96fdd31caaeaf1
drm/i915/dp: Flush any outstanding work to turn the VDD off

As we may kick off a delayed workqueue task to switch of the VDD lines, we
need to complete that task prior to turning off the panel (which itself
depends upon VDD being off).

v2: Don't cancel the outstanding work as this may trigger a deadlock

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c