]> Pileus Git - ~andy/linux/commit
drm/i915: reuse the sdvo tv clock adjustment in ilk mode_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 May 2012 12:52:26 +0000 (14:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 May 2012 07:31:34 +0000 (09:31 +0200)
commit61e9653f0d9a18a0ceecbc0acb93b3297fbb8196
tree3625519af80f4a19000828fd7c4c6ead7126a064
parente5153dc09c2be01670c6dce7ac6a454f23d5c2b6
drm/i915: reuse the sdvo tv clock adjustment in ilk mode_set

Jesse extracted this nice helper in his i9xx_crtc_mode_set refactor,
but we have the identical code in ironlake_ccrtc_mode_set. And that
function is huge, so extracting some code full of magic numbers is
always nice.

Noticed while trying to get a handle on our dp clock code.

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