]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit17038de5f16569a25343cf68668f3b657eafb00e
treeb64b1564bc559e5404f3d3335da47317c7dfa4c6
parent8aaa81a166d80ac9bf2813984e5b4c2503d0fe08
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