]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915: dvo needs a P2 divisor of 4
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 6 Jul 2013 10:52:06 +0000 (12:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Jul 2013 20:04:38 +0000 (22:04 +0200)
commit5d536e2858ead64ea945552ec6a491f968c55888
tree4f903dae6e0869623aa9a1f857f688c2a5de58bb
parent4a33e48d0e121953342194b45d33dc752353d62b
drm/i915: dvo needs a P2 divisor of 4

Section 1.5.4, "DPLL A Control Register" from Bspec about bit 23
"FPA0/A1 P2 Clock Divide":

0 = Divide by 2
1 = Divide by 4. This bit must be set in DVO non-gang mode

So copy the current limits (which should be good for i8xx) and create
a new set for dvo encoders.

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