]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/radeon/r600_blit_kms.c
drm/r600/kms: fixup number of loops per blit calculation.
authorDave Airlie <airlied@linux.ie>
Thu, 17 Sep 2009 06:11:31 +0000 (16:11 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Sep 2009 06:01:56 +0000 (16:01 +1000)
commit7cbb355e947b3b426cefd9a3dc0dda3af9f9345a
treedb448cd1d25f5554e419d6a72ff9582b56337b5f
parent41456df2d45299c2eea5aaabafbaa2430ab9a124
drm/r600/kms: fixup number of loops per blit calculation.

Some people were seeing
*ERROR* radeon: writting more dword to ring than expected
after certain blits, the loops calculation didn't take
into account that we do a separate blit for the remainder
after doing the aligned blits.

Acked-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_blit_kms.c