drm/i915: clarify preferred sdvo input mode code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Apr 2012 11:55:47 +0000 (13:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 May 2012 07:29:02 +0000 (09:29 +0200)
commitc9a2969830ae6f8c548f4960751dbb243f6f1f5e
treebaae07c49ae51cabe6b0f24bcefdc42dd4a4ac74
parent78d56d78c3ab5eeca35c6fcb10301418eda8c405
drm/i915: clarify preferred sdvo input mode code

- kill intel_sdvo->input_dtd, it's only used as a temporary variable,
  we store the preferred input mode in the adjusted mode at mode_fixup
  time.
- rename the function to make it clear what we want it to do (get the
  preferred mode) and say in a comment what it unfortunately does as a
  side-effect (set the new output timings).

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