]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ddi: Remove ->mode_set callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 21:54:58 +0000 (23:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 May 2014 09:59:29 +0000 (11:59 +0200)
commit69b3782144dced2d3459a994d418412a0b9036a1
tree25334bc372b8b98e2b24b193c65ba702eb49ff3a
parent2ed4e7c7dda7bc17993c359dc9bda4787c11730e
drm/i915/ddi: Remove ->mode_set callback

A bit more care required here since there are some very few things
between the call to encoder->mode_set and encoder->pre_enable. But
they're either book-keeping or only matter for the vga port on the
pch. So of no concern.

Note that with the new sequence we write the infoframes after
selecting the clock source, but that shouldn't matter. I've simply
opted for this to have simpler code.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c