• D
    [VIDEO] ffb: Fix two DAC handling bugs. · 37db9a34
    David S. Miller 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    37db9a34
ffb.c 25.3 KB