]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit200762cc792e7beccd3dd3dcd1e2fb0e897e8209
tree4a40d04d79fd7ff176b248818e4c977917d0abdd
parentf8d74323e63a3bd47702eb0074ac0285a65b7b8f
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