Skip to content
Commit 37db9a34 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 74e61dee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment