drm/i915: Generate 2MHz clock for display port aux channel I/O. Retry I/O.
authorKeith Packard <keithp@keithp.com>
Fri, 12 Jun 2009 05:31:31 +0000 (22:31 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 18 Jun 2009 22:54:14 +0000 (15:54 -0700)
The display port aux channel clock is taken from the hrawclk value, which is
provided to the chip as the FSB frequency (as far as I can determine). The
strapping values for that are available in the CLKCFG register, now used to
select an appropriate divider to generate a 2MHz clock.

In addition, the DisplayPort spec requires that each aux channel I/O be
retried 'at least 3 times' in case the sink is idle when the first request
comes in.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found