]> git.baikalelectronics.ru Git - kernel.git/commit
[VIDEO] ffb: Fix two DAC handling bugs.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Mar 2007 06:18:09 +0000 (23:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Mar 2007 06:18:09 +0000 (23:18 -0700)
commit2ff731023d743d03425fb81503ad5dec78528109
tree1e8785cfb31001481527933bcafe172c740d2495
parent5ba45758f86576ed33b6c8dc058ee35739d49830
[VIDEO] ffb: Fix two DAC handling bugs.

The determination of whether the DAC has inverted cursor logic is
broken, import the version checks the X.org driver uses to fix this.

Next, when we change the timing generator, borrow code from X.org that
does 10 NOP reads of the timing generator register afterwards to make
sure the video-enable transition occurs cleanly.

Finally, use macros for the DAC registers and fields in order to
provide documentation for the next person who reads this code.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/ffb.c