]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitfb9674bd2cd3c18f6c756ee123967e43be501263
tree6f72538672862de7b8bee00616c4449e6b0ccbcb
parentbeb47274116b36e17cf52869a2004e7d12a4ef1d
drm/radeon/kms: pageflipping cleanup for avivo+

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>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/rs600.c