drm/radeon: update wait_for_vblank for r1xx-r4xx
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Apr 2013 22:32:01 +0000 (18:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 14:18:33 +0000 (07:18 -0700)
commit038ab29360e6aaed9208c18d8c50d7f236aa2efb
tree21e0b05382a27ec98c09d914298570bf5b53f321
parentc365bdab5704ec2db1882e34bdf8bf537729b105
drm/radeon: update wait_for_vblank for r1xx-r4xx

commit 2b48b968c0d00aa5ab520b65a15a4f374cda7dda upstream.

Properly wait for the next vblank region.  The previous
code didn't always wait long enough depending on the timing.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/r100.c