drm/radeon/kms: pageflipping cleanup for avivo+
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 2 Apr 2011 13:15:50 +0000 (09:15 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 4 Apr 2011 00:08:35 +0000 (10:08 +1000)
Avoid touching the flip setup regs while
acceleration is running.  Set them at modeset
rather than during pageflip.  Touching these
regs while acceleration is active caused hangs
on pre-avivo chips.  These chips do not seem
to be affected, but better safe than sorry,
plus it avoids repeatedly reprogramming the
regs every flip.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found