Usage of Utilities
~~~~~~~~~~~~~~~~~~

o drift_control

Before starting patched radeon DRM module must be active. Also patched
Xserver must be running. The utility runs in two modes:

  - without args simply monitors drift of frame rate against loop cycle
  - otherwise adjusts frame rate to loop cycle frequency +-0.001441383Hz

This program effectively uses a copy of the Xserver patch. It was very 
helpful for debugging the software PLL routine.

sample output in monitor mode:

# drift_control

tv now:           1218248395.506612
tv vbl:           1218248395.502611
vbls:                        303706
trim:                    0x00c85501
sync point displacement:      -5999
drift speed:                     31 

sample output in active mode:

# drift_control a

tv now:           1218248369.513018
tv vbl:           1218248369.503038
vbls:                        302406
trim:                    0x00c85502
sync point displacement:        -20
drift speed:                     -9 
overall compensation:            -1 completed
o. c. clipped:                   -1
trim absolute:                    1
t. a. clipped:                    1
new trim:                0x80c85501

o trim

With this program you manually set PLL timings. It's useful to debug the
responsiveness of the PLL mechanism.

o intron/ introff

for (de)activating VBLANK interrupts. This is normally done automatically
by the patch.

o pal_modeline

utility for modeline and fbset parameter calculation

o sweep_freq_range

utility to continuously program all possible frame rates that are 
currently supported

