drm/i915/dvo: call ->mode_set callback only when the port is running
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Oct 2013 10:25:42 +0000 (12:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 4 Nov 2013 15:30:33 +0000 (16:30 +0100)
commit48f34e10169dbb3dd7a19af64e328492b7f54af4
tree4a40d04d79fd7ff176b248818e4c977917d0abdd
parent7f16e5c1416070dc590dd333a2d677700046a4ab
drm/i915/dvo: call ->mode_set callback only when the port is running

The ns2501 controller seems to need the dpll and dvo port to accept
the timing update commands. Quick testing on my x30 here seems to
indicate that other dvo controllers don't mind. So let's move the
->mode_set callback to a place where we have the port up and running
already.

Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Thomas Richter <thor@math.tu-berlin.de>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dvo.c