drm/i915: set proper DPIO post divider for VGA on VLV v4
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 2 May 2013 17:48:09 +0000 (10:48 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:29 +0000 (21:56 +0200)
commit7df5080bc7f3e3fba9cddac71133ed52864c40be
treeb019baced0e364b279b0da7f47a7a56711f8d308
parent0ef37f3f5e33eae7d6c388a7b374397794beca39
drm/i915: set proper DPIO post divider for VGA on VLV v4

Supposedly we should use the DAC divider for <300MHz pixel clocks, but as
that doesn't actually work as well as the high freq divider here in
practice, just use the high freq divider all the time.

v2: remove unconditional write (Jesse)
    check for pixel rate properly (Jesse)
v3: give up, the DAC divider apparently doesn't work, and low res modes
    work ok (Jesse)
    remove debug msg (Jesse)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c