drm/i915: move encoder->mode_set calls to crtc_mode_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 Oct 2012 18:26:13 +0000 (19:26 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:15 +0000 (23:51 +0100)
commit9256aa195d3badd009bf4addee6c3ae39879b8a6
tree893232d1952ea5947a61c7e900c18ba4b550da6e
parent198598d08fefa97f107630ca245407dd07a03e3a
drm/i915: move encoder->mode_set calls to crtc_mode_set

Makes more sense to group the entire mode_set stage into one function.
Noticed while discussiing the rather confusing set of function names
with Paulo Zanoni. Unfortunately I don't have an idea to make the
function names lesss confusion.

v2: Use for_each_encoder_on_crtc as suggested by Chris Wilson.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c